mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-05-20 06:17:41 +01:00
remove 'reference' form *fix
This commit is contained in:
@@ -427,10 +427,10 @@ def process_new_hole(form, area):
|
||||
✅ Create a fixed point *fix record by inserting into :loser:/fixedpts/gps/auto.svx
|
||||
✅ Do a git commit (loser) of the new GPS position
|
||||
✅Create a new Cave description file
|
||||
⚡Create an associated new Entrance description file with GPS location using *fix
|
||||
✅Create an associated new Entrance description file with GPS location using *fix
|
||||
✅Update the database with this new Cave
|
||||
⚡Update the database with this new Entrance
|
||||
⚡Do a git commit (expoweb) of the new Cave and Entrance description files
|
||||
✅Update the database with this new Entrance
|
||||
✅Do a git commit (expoweb) of the new Cave and Entrance description files
|
||||
⚡+ Link page to go to
|
||||
Entrance (upload approach & photos, already done Other Station location),
|
||||
Wallet (auto-set related Cave & People)
|
||||
@@ -445,7 +445,6 @@ def process_new_hole(form, area):
|
||||
writes:
|
||||
*fix 1623.g2025-bz-06 47.6964481 13.816103 0
|
||||
we do not put "reference" in the *fix because we know it is used in the Entrance we are creating
|
||||
❌BUT we DO put reference in now because we haven't written the Entrance bit of the code yet!
|
||||
"""
|
||||
|
||||
|
||||
@@ -463,7 +462,7 @@ def process_new_hole(form, area):
|
||||
|
||||
def _newfix(form, area, editor, fix_id):
|
||||
auto_gps_file, content = get_auto_file()
|
||||
fix_line = f"*fix {fix_id} reference {form.cleaned_data.get("gps_lat")} {form.cleaned_data.get("gps_long")} 0\n"
|
||||
fix_line = f"*fix {fix_id} {form.cleaned_data.get("gps_lat")} {form.cleaned_data.get("gps_long")} 0\n"
|
||||
|
||||
content += f"\n; {form.cleaned_data.get("discovery_date")} wallet: {form.cleaned_data.get("survey_wallet")} \n"
|
||||
content += fix_line
|
||||
|
||||
Reference in New Issue
Block a user