<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Das GEO-Forum - Koordinatenliste mit FME ausdünnen</title>
<link>http://forum.diegeodaeten.de/</link>
<description>DieGeodaeten.de ist ein geodätisches Portal, welches von Vermessungsingenieuren der HS Neubrandenburg ins Leben gerufen wurde. Neben Neuigkeiten aus den Bereichen Geodäsie und Geoinformatik werden Buchempfehlungen oder Downloads angeboten.</description>
<language>de</language>
<item>
<title>Koordinatenliste mit FME ausdünnen (Antwort)</title>
<content:encoded><![CDATA[<p>Hi,</p>
<blockquote><p>Ich hoffe so ist es etwas klarer geworden <img src="http://forum.diegeodaeten.de/images/smilies/smile.gif" alt=":-)" title="grins" /> </p>
</blockquote><p>
Okay, dann erzeug Dir doch enfach ein regelmäßiges Raster über Dein Gebiet. Für jeden Rasterpunkt suchst Du nun den dichtesten Punkt und speicherst diesen ggf. prüfst Du die Entfernung und verwirfst diese, damit kein Punkt doppelt gefunden wird. Das unten stehende Matlab/Octave Script erzeugt folgende Lösung:</p>
<p><img src="http://fs5.directupload.net/images/170326/pkwewuob.png" alt="[image]" /></p>
<p>Die grauen Punkte sind die Messungen (hier Zufallszahlen). Die Roten Punkte sind das Raster und die blauen Diamanten sind die Rasterpunkte nach der Ausdünnung.</p>
<p>Viele Grüße<br />
Micha</p>
<pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">clear</span> <span style="color: #0000FF;">all</span>
<span style="color: #0000FF;">close</span> <span style="color: #0000FF;">all</span>
<span style="color: #0000FF;">format</span> long g
<span style="color: #0000FF;">clc</span>
&nbsp;
data = <span style="color: #080;">&#91;</span>
   -<span style="color: #33f;">7.7114</span>   <span style="color: #33f;">16.4498</span>
  -<span style="color: #33f;">40.5771</span>    <span style="color: #33f;">8.1479</span>
    <span style="color: #33f;">9.8524</span>   <span style="color: #33f;">73.9882</span>
   -<span style="color: #33f;">2.9076</span>  -<span style="color: #33f;">47.0442</span>
   <span style="color: #33f;">19.5949</span>  -<span style="color: #33f;">36.3852</span>
   <span style="color: #33f;">19.9888</span>  -<span style="color: #33f;">76.1571</span>
   <span style="color: #33f;">13.8531</span>   <span style="color: #33f;">87.9659</span>
  -<span style="color: #33f;">46.6396</span>   <span style="color: #33f;">29.1104</span>
  -<span style="color: #33f;">43.1194</span>   -<span style="color: #33f;">4.1074</span>
  -<span style="color: #33f;">18.0400</span>   <span style="color: #33f;">27.8634</span>
    <span style="color: #33f;">3.0864</span>    <span style="color: #33f;">8.9432</span>
   <span style="color: #33f;">15.4446</span>   <span style="color: #33f;">29.4623</span>
   -<span style="color: #33f;">9.2381</span>    <span style="color: #33f;">8.7772</span>
   <span style="color: #33f;">31.9981</span>   <span style="color: #33f;">44.2093</span>
   <span style="color: #33f;">21.8359</span>    <span style="color: #33f;">4.4991</span>
   <span style="color: #33f;">46.8649</span>   <span style="color: #33f;">98.7409</span>
    <span style="color: #33f;">3.1334</span>  -<span style="color: #33f;">56.2647</span>
  -<span style="color: #33f;">17.4854</span>  -<span style="color: #33f;">78.8403</span>
  -<span style="color: #33f;">39.4371</span>  -<span style="color: #33f;">78.0605</span>
   <span style="color: #33f;">11.0959</span>  -<span style="color: #33f;">87.2817</span>
   <span style="color: #33f;">27.8802</span>  -<span style="color: #33f;">19.0840</span>
   -<span style="color: #33f;">7.6547</span>  -<span style="color: #33f;">10.3254</span>
  -<span style="color: #33f;">40.9177</span>  -<span style="color: #33f;">26.8368</span>
  -<span style="color: #33f;">23.3529</span>   <span style="color: #33f;">52.7009</span>
  -<span style="color: #33f;">34.6343</span>   <span style="color: #33f;">25.5793</span>
  -<span style="color: #33f;">21.8995</span>   <span style="color: #33f;">54.3961</span>
   -<span style="color: #33f;">5.9915</span>   <span style="color: #33f;">86.5707</span>
    <span style="color: #33f;">2.7143</span>   <span style="color: #33f;">94.5482</span>
   -<span style="color: #33f;">4.2576</span>  -<span style="color: #33f;">61.5943</span>
   <span style="color: #33f;">37.5372</span>  -<span style="color: #33f;">72.2252</span>
    <span style="color: #33f;">1.8052</span>   <span style="color: #33f;">39.2533</span>
   <span style="color: #33f;">44.3623</span>  -<span style="color: #33f;">81.2360</span>
   <span style="color: #33f;">13.7709</span>    <span style="color: #33f;">5.0809</span>
   <span style="color: #33f;">45.7694</span>    <span style="color: #33f;">6.0688</span>
  -<span style="color: #33f;">25.9293</span>   <span style="color: #33f;">72.2280</span>
   <span style="color: #33f;">17.6122</span>   -<span style="color: #33f;">3.0293</span>
  -<span style="color: #33f;">21.0935</span>  -<span style="color: #33f;">21.3087</span>
   <span style="color: #33f;">17.1808</span>   <span style="color: #33f;">34.2862</span>
   <span style="color: #33f;">19.5140</span>   <span style="color: #33f;">48.2516</span>
  -<span style="color: #33f;">43.2007</span>    <span style="color: #33f;">4.0105</span>
  -<span style="color: #33f;">24.5210</span>  -<span style="color: #33f;">30.4575</span>
  -<span style="color: #33f;">27.5960</span>  -<span style="color: #33f;">70.0005</span>
   <span style="color: #33f;">16.7833</span>   <span style="color: #33f;">17.2184</span>
   <span style="color: #33f;">34.4392</span>  -<span style="color: #33f;">47.5709</span>
  -<span style="color: #33f;">15.5538</span>  -<span style="color: #33f;">91.1092</span>
   <span style="color: #33f;">28.0520</span>   <span style="color: #33f;">50.9867</span>
   <span style="color: #33f;">17.5332</span>  -<span style="color: #33f;">51.4429</span>
  -<span style="color: #33f;">49.3285</span>  -<span style="color: #33f;">11.5195</span>
   <span style="color: #33f;">10.2170</span>   <span style="color: #33f;">37.5592</span>
  -<span style="color: #33f;">11.3229</span>  -<span style="color: #33f;">28.1544</span>
   <span style="color: #33f;">41.5991</span>   <span style="color: #33f;">47.2680</span>
  -<span style="color: #33f;">49.8849</span>  -<span style="color: #33f;">21.0585</span>
   -<span style="color: #33f;">3.7551</span>   <span style="color: #33f;">36.6832</span>
   -<span style="color: #33f;">7.5651</span>   <span style="color: #33f;">40.8095</span>
   -<span style="color: #33f;">3.9084</span>  -<span style="color: #33f;">11.5389</span>
   <span style="color: #33f;">27.0160</span>  -<span style="color: #33f;">96.0845</span>
  -<span style="color: #33f;">17.7528</span>  -<span style="color: #33f;">33.8284</span>
   <span style="color: #33f;">28.4739</span>  -<span style="color: #33f;">15.1381</span>
   -<span style="color: #33f;">2.8643</span>  -<span style="color: #33f;">45.9459</span>
  -<span style="color: #33f;">46.4237</span>  -<span style="color: #33f;">60.5892</span>
  -<span style="color: #33f;">32.4126</span>   <span style="color: #33f;">64.3442</span>
   <span style="color: #33f;">22.1758</span>  -<span style="color: #33f;">14.0157</span>
   -<span style="color: #33f;">2.6514</span>   <span style="color: #33f;">77.5542</span>
  -<span style="color: #33f;">34.7279</span>  -<span style="color: #33f;">21.7634</span>
  -<span style="color: #33f;">15.8875</span>   <span style="color: #33f;">53.8229</span>
   <span style="color: #33f;">10.7389</span>  -<span style="color: #33f;">20.6417</span>
  -<span style="color: #33f;">30.8255</span>   <span style="color: #33f;">61.7028</span>
   <span style="color: #33f;">23.8427</span>   <span style="color: #33f;">51.0154</span>
  -<span style="color: #33f;">25.7150</span>  -<span style="color: #33f;">24.5209</span>
   <span style="color: #33f;">41.7424</span>  -<span style="color: #33f;">56.7962</span>
  -<span style="color: #33f;">23.0938</span>   <span style="color: #33f;">58.0814</span>
   <span style="color: #33f;">26.5500</span>   <span style="color: #33f;">89.8608</span>
  -<span style="color: #33f;">31.1338</span>  -<span style="color: #33f;">34.4869</span>
  -<span style="color: #33f;">21.2502</span>   <span style="color: #33f;">34.2529</span>
  -<span style="color: #33f;">40.8887</span>  -<span style="color: #33f;">12.2710</span>
    <span style="color: #33f;">7.6209</span>   <span style="color: #33f;">66.7001</span>
   <span style="color: #33f;">18.3363</span>   <span style="color: #33f;">53.7709</span>
    <span style="color: #33f;">4.6593</span>  -<span style="color: #33f;">66.5493</span>
   -<span style="color: #33f;">7.4271</span>   <span style="color: #33f;">72.3961</span>
   <span style="color: #33f;">14.4443</span>   <span style="color: #33f;">97.9744</span>
   <span style="color: #33f;">14.7618</span>    <span style="color: #33f;">2.8847</span>
   <span style="color: #33f;">17.9017</span>   <span style="color: #33f;">76.8562</span>
   <span style="color: #33f;">13.5787</span>   <span style="color: #33f;">17.6052</span>
   <span style="color: #33f;">44.5174</span>  -<span style="color: #33f;">69.0495</span>
  -<span style="color: #33f;">29.1065</span>  -<span style="color: #33f;">60.0274</span>
   <span style="color: #33f;">20.9282</span>  -<span style="color: #33f;">18.6090</span>
  -<span style="color: #33f;">26.3769</span>   <span style="color: #33f;">49.7411</span>
  -<span style="color: #33f;">38.0604</span>   <span style="color: #33f;">65.1168</span>
   <span style="color: #33f;">10.7304</span>   <span style="color: #33f;">57.9926</span>
   -<span style="color: #33f;">4.9862</span>  -<span style="color: #33f;">36.2952</span>
   -<span style="color: #33f;">4.1275</span>    <span style="color: #33f;">6.8128</span>
   <span style="color: #33f;">16.1945</span>  -<span style="color: #33f;">82.0099</span>
   <span style="color: #33f;">27.0286</span>  -<span style="color: #33f;">77.6589</span>
  -<span style="color: #33f;">14.9782</span>  -<span style="color: #33f;">72.7415</span>
   <span style="color: #33f;">16.2010</span>   <span style="color: #33f;">35.7305</span>
   -<span style="color: #33f;">8.3841</span>   -<span style="color: #33f;">0.9646</span>
   <span style="color: #33f;">34.1929</span>  -<span style="color: #33f;">62.0579</span>
   <span style="color: #33f;">33.2917</span>   -<span style="color: #33f;">0.9988</span>
  -<span style="color: #33f;">24.3559</span>  -<span style="color: #33f;">70.4784</span>
   <span style="color: #33f;">11.3461</span>  -<span style="color: #33f;">89.0052</span>
<span style="color: #080;">&#93;</span>;
&nbsp;
<span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>, data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>, <span style="color:#A020F0;">'.'</span>, <span style="color:#A020F0;">'Color'</span>, <span style="color: #080;">&#91;</span><span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span> <span style="color: #33f;">0.6</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>
<span style="color: #0000FF;">grid</span> on
<span style="color: #0000FF;">axis</span> equal
<span style="color: #0000FF;">hold</span> on;
&nbsp;
gridWidth = <span style="color: #33f;">25</span>;
&nbsp;
minX = <span style="color: #0000FF;">min</span><span style="color: #080;">&#40;</span>data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span> - <span style="color: #33f;">0.5</span>*gridWidth;
minY = <span style="color: #0000FF;">min</span><span style="color: #080;">&#40;</span>data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span> - <span style="color: #33f;">0.5</span>*gridWidth;
&nbsp;
maxX = <span style="color: #0000FF;">max</span><span style="color: #080;">&#40;</span>data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
maxY = <span style="color: #0000FF;">max</span><span style="color: #080;">&#40;</span>data<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
&nbsp;
X = minX:gridWidth:maxX+gridWidth;
Y = minY:gridWidth:maxY+gridWidth;
&nbsp;
myGrid = <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>;
gi = <span style="color: #33f;">1</span>;
<span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">i</span></span>=<span style="color: #33f;">1</span>:<span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>X<span style="color: #080;">&#41;</span>
    xi = X<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span>;
    <span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">j</span></span>=<span style="color: #33f;">1</span>:<span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>Y<span style="color: #080;">&#41;</span>
        yj = Y<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">j</span></span><span style="color: #080;">&#41;</span>;
        <span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>xi, yj, <span style="color:#A020F0;">'+r'</span><span style="color: #080;">&#41;</span>;
&nbsp;
        dist = <span style="color: #0000FF;">sqrt</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">sum</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">abs</span><span style="color: #080;">&#40;</span>data - kron<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span>xi yj<span style="color: #080;">&#93;</span>, <span style="color: #0000FF;">ones</span><span style="color: #080;">&#40;</span><span style="color: #0000FF;">size</span><span style="color: #080;">&#40;</span>data,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>.^<span style="color: #33f;">2</span>,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>; 
        minDist = <span style="color: #0000FF;">min</span><span style="color: #080;">&#40;</span>dist<span style="color: #080;">&#41;</span>;
        <span style="color: #0000FF;">if</span> minDist &lt; <span style="color: #33f;">0.5</span> * gridWidth
            myGrid<span style="color: #080;">&#40;</span>gi, :<span style="color: #080;">&#41;</span> = data<span style="color: #080;">&#40;</span>dist == minDist,:<span style="color: #080;">&#41;</span>;
            gi = gi + <span style="color: #33f;">1</span>;
        <span style="color: #0000FF;">end</span>
    <span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">end</span>
&nbsp;
<span style="color: #0000FF;">plot</span><span style="color: #080;">&#40;</span>myGrid<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>, myGrid<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>, <span style="color:#A020F0;">'db'</span><span style="color: #080;">&#41;</span></pre>]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=5685</link>
<guid>http://forum.diegeodaeten.de/index.php?id=5685</guid>
<pubDate>Sun, 26 Mar 2017 12:56:46 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>MichaeL</dc:creator>
</item>
<item>
<title>Koordinatenliste mit FME ausdünnen (Antwort)</title>
<content:encoded><![CDATA[<p>Hallo Micha,</p>
<p>im Grunde will ich nur jeden x-ten Punkt verwenden.<br />
Allerdings mit dem Ziel, dass kein Übergewicht an Punkten innerhalb des Gebietes besteht.<br />
Die Punkte sollen nach dem Ausdünnen möglichst gut verteilt im Gebiet vorliegen.</p>
<p>Eine simple Methode wäre über Excel anhand eines Filters auszudünnen. Allerdings tritt hier -wenn ich die ausgedünnte Punktwolke in zB ArcMap einlade und optisch betrachte- dann das Problem des Übergewichtes an Punkten an bestimmten Bereichen auf, wohingegen andere Bereiche keine Koordinatenwerte mehr aufweisen.</p>
<p>Ich hoffe so ist es etwas klarer geworden <img src="http://forum.diegeodaeten.de/images/smilies/smile.gif" alt=":-)" title="grins" /> </p>
<p><br />
Grüße,<br />
Sebastian</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=5684</link>
<guid>http://forum.diegeodaeten.de/index.php?id=5684</guid>
<pubDate>Sun, 26 Mar 2017 12:14:24 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>Sebastian</dc:creator>
</item>
<item>
<title>Koordinatenliste mit FME ausdünnen (Antwort)</title>
<content:encoded><![CDATA[<p>Hallo,</p>
<blockquote><p>Ich will die Anzahl der Punkte so ausdünnen, dass es im besten Fall ein regelmäßiges Raster -mit ca. 1000 Punkten oder weniger- ergibt.</p>
</blockquote><p>Wenn Du keine Rasteraufnahme gemacht hast, wirst Du auch durch streichen von Datensätzen nicht auf einmal eins erhalten. Wie soll das gehen?</p>
<blockquote><p>Falls es auch anderweitige Ideen gibt diese Punktwolke so auszudünnen wäre es auch super.</p>
</blockquote><p>
Ich hätte es vermutlich mit Matlab/Octave gemacht. Ein Raster kann mit <a href="https://de.mathworks.com/help/matlab/ref/meshgrid.html">meshgrid</a> erzeugt werden aber da ich noch immer nicht verstanden habe, nach welchen Kriterien nun Deine Daten ausgedünnt werden sollen, wird jetzt schwierig zu sagen, wie es weitergeht. <img src="http://forum.diegeodaeten.de/images/smilies/wink.gif" alt=";-)" title="zwinker" /></p>
<p>Viele Grüße<br />
Micha</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=5681</link>
<guid>http://forum.diegeodaeten.de/index.php?id=5681</guid>
<pubDate>Sat, 25 Mar 2017 11:30:13 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>MichaeL</dc:creator>
</item>
<item>
<title>Koordinatenliste mit FME ausdünnen (Antwort)</title>
<content:encoded><![CDATA[<p>Hallo Micha,</p>
<p>da hast du natürlich Recht.<img src="http://forum.diegeodaeten.de/images/smilies/smile.gif" alt=":-)" title="grins" /> </p>
<p>Die Koordinatenliste ist ein Auszug einer Straßenaufnahme (lediglich ein kleiner Bereich). Ich will die Anzahl der Punkte so ausdünnen, dass es im besten Fall ein regelmäßiges Raster -mit ca. 1000 Punkten oder weniger- ergibt.</p>
<p>Für das Ausdünnen muss es nicht die Software FME sein. Falls es auch anderweitige Ideen gibt diese Punktwolke so auszudünnen wäre es auch super.</p>
<p><br />
Grüße,<br />
Sebastian</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=5680</link>
<guid>http://forum.diegeodaeten.de/index.php?id=5680</guid>
<pubDate>Sat, 25 Mar 2017 11:05:50 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>Sebastian</dc:creator>
</item>
<item>
<title>Koordinatenliste mit FME ausdünnen (Antwort)</title>
<content:encoded><![CDATA[<p>Hallo Sebastian,</p>
<blockquote><p>mir liegt eine Koordinatenliste mit mehr als 410.000 Punkten vor, die ich gerne auf einen Bestand von ca. 1000 Punkten ausdünnen würde.</p>
</blockquote><p>Nach welchen Kriterien soll das passieren - nur jeder x-te Punkt oder nach anderen/komplexeren Kriterien? </p>
<blockquote><p>Ist hier jemand der sich damit auskennt?</p>
</blockquote><p>
Ich nicht aber ggf. gehts ja auch viel einfacher aber hierzu müsstest Du erst einmal spezifizieren, WIE Du ausdünnen willst. Sonst kannst Du ja auch einfach die ersten 1000 Punkte nehmen und den Rest wegschmeißen. <img src="http://forum.diegeodaeten.de/images/smilies/wink.gif" alt=";-)" title="zwinker" /></p>
<p>Viele Grüße<br />
Micha</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=5678</link>
<guid>http://forum.diegeodaeten.de/index.php?id=5678</guid>
<pubDate>Fri, 24 Mar 2017 19:06:32 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>MichaeL</dc:creator>
</item>
</channel>
</rss>
