mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
indent - online edit of handbook/troggle/scriptscurrent.html
This commit is contained in:
parent
430e21abac
commit
aa0563a86b
@ -105,7 +105,7 @@ Get the OCAML file from GitHub <a href="https://github.com/mshinwell/gps2survex"
|
||||
<h4 id="surface">gpx2survex and make_svx.sh</h4>
|
||||
<p>In :loser:/gpx/
|
||||
<p>Regenerates the surface tracks as survex files from GPS .gpx files. Also requires the gpx2survex program.
|
||||
<p>We use the OCAML program gpx2survex but we now also have a python equivalent gpx2survex.py which is used by make_svx2.sh This is part of the make_essentials generation process.
|
||||
<p>We used to use the OCAML program gpx2survex but we now also have a python equivalent gpx2survex.py which is used by make_svx2.sh This is part of the make_essentials generation process.
|
||||
<p>gpx2survex simplifies a track so that it is less voluminous.
|
||||
<p>For the reverse process we don't need a script. For svx-to-gps we can use <var>survexport</var>: Olly says [2022]: "you shouldn't need to mess around with undocumented scripts - since 2018, you can just do:
|
||||
<var>survexport --entrances all.3d essentials.gpx</var>"
|
||||
@ -117,6 +117,7 @@ Get the OCAML file from GitHub <a href="https://github.com/mshinwell/gps2survex"
|
||||
|
||||
<h4 id="ocaml">convert_shx.ml</h4>
|
||||
<p>Not quite obsolete, but nearly.
|
||||
<div style="text-indent: 5%">
|
||||
<p>Unusually, this is in the <var>:loser:</var> repository, in :loser:/fixedpoints/scripts/convert_shx/
|
||||
<p>We think this turns a shapefile which holds the coordinates of the 1623, 1624 boundaries into GPX. But we have mislaid the shapefile containing this vital data.
|
||||
<p>It runs <var>ogr2ogr -f csv -lco GEOMETRY=AS_WKT outputfile inputfile</var> and then extensively post-processes the shapefile output.
|
||||
@ -125,6 +126,7 @@ It is written in OCAML. Therefore it must be Mark Shinwell's responsibility.
|
||||
It seems to be being run to convert CSV files into something else. The "shx" part of the name implies a
|
||||
<a href="https://docs.fileformat.com/gis/shx/">shapefile index format</a>.
|
||||
<p>We suspect this was part of the production process for originally making essentials.gpx, but we don't need it as we now have the boundary data in other formats.
|
||||
</div>
|
||||
|
||||
<h4>svx2qm.py, tablize-qms.pl, find-dead-qms.py,qmreader.pl</h4>
|
||||
See the entire page devoted to the various
|
||||
|
Loading…
Reference in New Issue
Block a user