Hi Xavier, Hi Bruce,

A trick that I used a while ago was to use the grid-origin command in the layout. According to Marco corvi's description (http://marcocorvi.altervista.org/caving/tbe/m_02/m_02a.htm): /grid-origin//specifies the coordinates of the grid origin. Example: "grid-origin 0 0 1875 m", assuming that the entrance altitude is 1875 m, sets the altitude values for the //|altitude|//points. Having set the entrance (grid origin) altitude, when you specify an "altitude" for a point of a wall line (with the line-point option "altitude .") the value of the altitude is computed and printed on the map. /

The difficulty is that all the layouts need to have the same grid-origin if you want to have compatible depth in different exported maps.

Hope that helps.

Xavier



Le 21-Feb-19 à 20:33, Bruce Mutton via Therion a écrit :

Kia Ora Xavier

I don’t have a proper answer for you.  It would seem to me that this is too complicated to become a built in feature.  As you suggest, for an export of one cave the problem might be easier to solve, but where many caves are exported it might be difficult to conceive an automated approach.

Maybe an easier thing to code would be something where the user could just choose a reference altitude to use as a notional zero altitude for your user defined metapost?

Personally I do not care much for the height relative to entrances, and I have modified the header to report height like this.

Together with gridlines and altitude points throughout the map, the user of the map can do their own maths!

Regarding ‘caves’ and ‘main entrances’, I explored some ideas in the wiki here <https://therion.speleo.sk/wiki/faq?s%5b%5d=entrance#how_do_i_specify_a_main_entrance_and_also_the_other_entrances>

Regards

Bruce


_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

--
-------------------------
Xavier Pennec
Senior Research Scientist / Directeur de recherche
Asclepios project-team, INRIA Sophia-Antipolis
2004 Route des Lucioles, BP93
F-06902 Sophia-Antipolis Cedex, France
+33 4 92 38 76 64
+33 6 78 35 16 90
http://www-sop.inria.fr/asclepios/
-------------------------------

_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to