[Therion] NoScrapStations project (scrap without stations)
Bruce Mutton
bruce at tomo.co.nz
Tue Oct 15 10:24:15 CEST 2019
Further to the recent 'scrap without stations' posts.
Here is a long and tedious transcript of my investigations to find out how a
Therion project with scraps that have no point stations produces an
apparently coherent pdf output. I conclude that while many of the outputs
are perfectly OK, including the survey centreline, the pdf map output is not
to the correct scale and it is perhaps not in the correct geospatial
location. I don't know how or why it works at all.
I have not included any specific details of the project, as the data is not
mine and it is not in the public domain.
All tested with Therion 5.4.4+db62e22 (2019-06-25).
Any insights anyone has on this would be appreciated.
Bruce
The NoScrapStations project scraps are defined without any point stations in
the scraps. This is highly unusual, and so interesting to investigate how
the scraps get scaled and mapped to the centreline.
Originally there was little explicit link between the survey network and the
scraps - the survey and th2 files were referenced as separate sources,
except that the main th2 file was also referenced in the th file (a double
up). Removing the doubled-up reference in the th file (in rev 2.1.1) made
no difference.
Removing the xvi from th2 makes no difference to the outputs.
The exported map kml, model lox (and probably caves.html) did not produce
legible output (large Loch bounding box - 200km north-south, or nonsense
coordinates). Aven output is fine. The project is georeferenced to lat-long
coordinates, and therion.log reports an appropriate UTM output coord system.
Other characteristics of the project include;
* The whole 5km cave was surveyed by hand, and manually entered into
Therion as a single survey with 17 closed loops (typical error 2% to 5%, or
5 to 8 std deviations if BCRA5, or 1 to 2 std deviation at BCRA3)
* The whole cave is drawn in a single th2 file over an xvi (for the
whole cave); 7 plan scraps and many projection none scraps. OK there is one
other th2 file that contains a single scrap and a projection none scrap.
* There is only one scrap specified as projection plan, all the others
are undefined (although Therion assumes these to be 'plan')
Rev 2.1.4 moves th2 files from sources in thconfig-NoScrapStations.thc to be
input inside of 'trip' file (NoScrapStations.th) and outside of survey
(SAMD-ITF-OS).
No apparent changes in any outputs -same issues described above, so the
problem seems not to relate to data structure.
These examples (below) as at project rev 3
Export with map12 (whole cave) selected (as per original submission)
-scraps are joined (despite not all being contiguous in the th2 file)
-scrap average distortions zero (maximal 0.1 and 0.2%) from therion.log
-debug (all) confirms graphically that scraps are undistorted
Perhaps the (selected) map (of the whole cave) is morphed to the centreline
(or perhaps to each other), as scrap 108 is joined to the adjacent scraps
(scrap 108 is drawn offset from its xvi centreline)? However the
combination of examples below tends to disprove this.
Export with no maps or surveys selected
-scraps are NOT necessarily joined - example is scrap 108 which is drawn
offset from the xvi background image.
-scrap average distortions zero (maximal 0.1 and 0.2%) from therion.log
-debug (all) confirms graphically that scraps are undistorted
Default Therion behaviour is that ALL surveys and scraps are selected if
none are explicitly selected. Seems like maybe no mapping of one to the
other is done in this example, as indicated by the disjointed scrap 108
below.
Export with map of survey (wholecavePLANCL) selected
- survey seems to match the shape of the scraps
- centreline pdf generated at 1:1000 scale (matches scale 1 1000 chosen).
Why is this output 1.6 times taller than the scrap-based output examples
above? They cannot BOTH be 1:1000!
Interrogating Aven output tells us that horizontal extent of cave is 2.143
km, therefore a 1000 pdf should be a bit longer than 2.2m long (matches the
image below), and a 500 pdf around 4.4m long (matches the image below that).
- centreline pdf generated at 1:500 scale (matches scale 1 500 chosen).
Note this is more than twice as big as scrap-based outputs, and is near pdf
limit of 5m page size.
Conclude that the scrap-based outputs are being generated at about 1:750 or
1:1500, despite the scale statement requesting 1:500 or 1: 1000.
Interesting thing is that the scalebars generated by Therion on the pages
show the correct length, only the maps are two thirds of what they should
be.
Export with map12 (whole cave) and with map of survey (wholecavePLANCL)
selected
- Therion crashes out with an error message "Map is too large for PDF
format. Try smaller scale!"
- up scale to 1 100,000, and metapost crashes (error 2), I assume divide by
zero due to rounding in one of the symbols is the root cause.
- The boundary between these two error states is between 1 37000 and 1
40000, I did not find a scale that produced a pdf output.
Conclude, well a guess, Therion is plotting the survey centreline at the
correct scale and in the correct location (model kml confirms this), and it
is plotting the scraps (that have no point stations) at the wrong scale (a
bit small), and in the wrong location (maybe 8,500 km away based on the
magnitude of the coordinate list output).
The xvi background image used to draw the scraps was produced by Therion, so
all of the loops have been 'pre-closed'. This is consistent with the scraps
having zero distortion, while the survey misclosures are large.
I have yet to try the obvious, and add some point stations to each of the
scraps, I presume that once each of the scraps has at least two stations,
all will fit into place.
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 33861 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 34599 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 21801 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 21848 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 155828 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191015/21201d36/attachment-0004.png>
More information about the Therion
mailing list