We just got a new file format for survey - at least, new to me.
After the initial comment line of all # characters were these two lines:
# STAR*TDS Version 3.0.1
# Copyright 2004 Starplus Software, Inc.
There were a few other informational comment lines:
#.Units FeetUS
#.Units DMS
#.Order AtFromTo
#.Sep -
#.Delta Off
#.3D
With this info, I was able to decipher the three record types. There are some examples of each record type:
Fixed Coordinate Record - C<Space>Pnt_Name<Space>Northing<Space>Easting<Space>Elevation<Space>!<Space>!<Space>!<Space>'Code:
C 163 7098326.38600 11590812.28700 666.38700 ! ! ! 'TRAV
Sideshot Record - This is a long one and needed the AtFromTo comment to determine the order of the three point name records that follow the SS command.
SS<Space>INST_Name<Dash>BS_Name<Dash>SS_Name<Space>H_Angle_Deg<Dash>Min<Dash>Sec<Space>Slope_Dist<Space>
V_Angle<Dash>Min<Dash>Sec<Space>HI<slash>HR<Space>'Code
SS 5169-3-5171 256-03-24.00 149.2900 90-14-00.00 5.230/5.400 'GS
Single Measurement/Traverse Record - identical to SS but with M as its command abbreviation.
M 5169-3-5170 256-05-59.00 183.0100 89-52-20.00 5.230/5.400 'FLY
# Comment lines begin with #
That's all the record types in my files.
Before I get crazy with Regular Expression Find and Replaces in Notepad++, is it even possible to make a TIW file to read this format?
I see issues with trying to read an angle that is not DD.ddd or DD.MMSS. I don't believe the TIW allows custom angle formats.
Or is this one of the built in format and if so - what is it name?
TIA