2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 12:27:10 +00:00

Comments chnaged to be more accurate

This commit is contained in:
2023-09-30 20:35:40 +03:00
parent 904b6309cf
commit 8dcae6437e
3 changed files with 8 additions and 7 deletions

View File

@@ -77,9 +77,10 @@ poslineregex = re.compile(r"^\(\s*([+-]?\d*\.\d*),\s*([+-]?\d*\.\d*),\s*([+-]?\d
def LoadPositions():
"""First load the survex stations for entrances and fixed points (about 600) into the database.
Run cavern to produce a complete .3d file, then run 3dtopos to produce a table of
all survey point positions. Then lookup each position by name to see if we have it in the database
and if we do, then save the x/y/z coordinates. This gives us coordinates of the entrances.
Run 'cavern' to produce a complete .3d file, then run 'survexport -pos' to produce a table of
all survey point positions in UTM cooridnates. Then lookup each of the 600 positions by name to
see if we have it in the database and if we do, then save the UTM x/y/z coordinates.
This gives us coordinates of the entrances.
If we don't have it in the database, print an error message and discard it.
"""
svx_t = 0