summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-18 13:27:08 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-18 13:27:08 +0000
commit7a61bc47eae0568eb32b5529e4ca9c59da5150e6 (patch)
treed52e0116f9b595da0e80d0a332aa282d40efce8c /parsers
parent76688695b80ebf18e4a8a541a1d2595204bee02b (diff)
downloadtroggle-7a61bc47eae0568eb32b5529e4ca9c59da5150e6.tar.gz
troggle-7a61bc47eae0568eb32b5529e4ca9c59da5150e6.tar.bz2
troggle-7a61bc47eae0568eb32b5529e4ca9c59da5150e6.zip
Make 'bearings' a read-only field on entrances
Diffstat (limited to 'parsers')
-rw-r--r--parsers/survex.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index 9c5950c..3a4d42c 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -2416,7 +2416,6 @@ def FindAndLoadSurvex():
print(f" - Number of Survex legs: {legsnumber:,}")
for f in svx_load.fixes:
- # why are we seeing no *fixes from fixedpts/gps18.svx etc. ? They are parsed !
survexblock, name, altitude, comment = svx_load.fixes[f]
s = survexblock
spath = s.parent.survexfile
@@ -2431,9 +2430,9 @@ def FindAndLoadSurvex():
if comment:
# print(f"FIX {survexblock} {altitude} {comment}")
if re.match("(?i)[^s]*srtm[\s\S]*", comment.lower()):
- print(f"SRTM {ff}.svx::{survexblock} - {spath}.svx - '{comment}'")
+ print(f"SRTM {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'")
if re.match("(?i)[^s]*radost[\s\S]*", comment.lower()):
- print(f"RDST {ff}.svx::{survexblock} - {spath}.svx - '{comment}'")
+ print(f"RDST {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'")
svx_load = None