<?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 - Fileconverter and GSI</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>Fileconverter and GSI (Antwort)</title>
<content:encoded><![CDATA[<p>Ho Pule,</p>
<blockquote><p>When i convert .gsi to .csv, software shows pt number, coordinates and height but don't show the codes which i have recorded. Can you fix that?</p>
</blockquote><p>The download package contains an example gsi-file, e.g:</p>
<pre><code>*11+00840000000000001083 81..10+0000004582548303 82..10+0000005937451454 83..10+0000000000012162 71..10+0000000000000005 72..10+00000000000----- 87..10+00000000000----- </code></pre><p>The point code is encoded at the 71-block - here, the code is 5. Your gsi-file has no 71-block, therefore, no code was extracted. </p>
<p>Here, an source-code output:</p>
<pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>str.<span style="color: #006633;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">equals</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;71&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  p23.<span style="color: #006633;">setCode</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span>removeFirstZeros<span style="color: #009900;">&#40;</span>str.<span style="color: #006633;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">7</span>,str.<span style="color: #006633;">length</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre><p>The FileConverter uses a loop over each line in the file. This means, the point information (id, code, x,y,z) must be available in a single line.</p>
<p>kind regards<br />
Micha</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=4025</link>
<guid>http://forum.diegeodaeten.de/index.php?id=4025</guid>
<pubDate>Sat, 29 Sep 2012 08:27:52 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>MichaeL</dc:creator>
</item>
<item>
<title>Fileconverter and GSI</title>
<content:encoded><![CDATA[<p>Hi</p>
<p>first of all thank you for a such good piece of software.</p>
<p>I have new Stonex R2 Total Station and he uses Leica .gsi 16 format. When i convert .gsi to .csv, software shows pt number, coordinates and height but don't show the codes which i have recorded. Can you fix that?</p>
<p>Here is a sample .gsi file with a few codes :</p>
<p>http://www.megafileupload.com/en/file/369124/0123-gsi.html</p>
<p>and this is .csv after converting</p>
<p>http://www.megafileupload.com/en/file/369126/0123-csv.html</p>
<p>( note that all codes are 0 )</p>
<p>any way, thank you once again, </p>
<p>bye!</p>
]]></content:encoded>
<link>http://forum.diegeodaeten.de/index.php?id=4024</link>
<guid>http://forum.diegeodaeten.de/index.php?id=4024</guid>
<pubDate>Fri, 28 Sep 2012 23:20:00 +0000</pubDate>
<category>Geodäsie/Vermessung</category><dc:creator>pule</dc:creator>
</item>
</channel>
</rss>
