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

Make 'bearings' a read-only field on entrances

This commit is contained in:
2023-11-18 13:27:08 +00:00
parent 76688695b8
commit 7a61bc47ea
4 changed files with 14 additions and 10 deletions

View File

@@ -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