Avatar

Fileconverter and GSI (Geodäsie/Vermessung)

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


gesamter Thread:

 RSS-Feed dieser Diskussion