Fileconverter and GSI (Geodäsie/Vermessung)

pule, Saturday, 29.09.2012, 01:20 (vor 4439 Tagen)

Hi

first of all thank you for a such good piece of software.

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?

Here is a sample .gsi file with a few codes :

http://www.megafileupload.com/en/file/369124/0123-gsi.html

and this is .csv after converting

http://www.megafileupload.com/en/file/369126/0123-csv.html

( note that all codes are 0 )

any way, thank you once again,

bye!

Avatar

Fileconverter and GSI

MichaeL ⌂, Bad Vilbel, Saturday, 29.09.2012, 10:27 (vor 4438 Tagen) @ pule

Ho Pule,

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?

The download package contains an example gsi-file, e.g:

*11+00840000000000001083 81..10+0000004582548303 82..10+0000005937451454 83..10+0000000000012162 71..10+0000000000000005 72..10+00000000000----- 87..10+00000000000----- 

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.

Here, an source-code output:

else if (str.substring(0,2).equals("71")){
  p23.setCode( (removeFirstZeros(str.substring(7,str.length()))).trim());
}

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.

kind regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Tags:
FileConverter, GSI

RSS-Feed dieser Diskussion