[Therion] Display Station comments on Map?

Ben Cooper ben at caver.plus.com
Thu Sep 5 17:52:14 CEST 2019


Hi Max,
To your original question, I achieved something similar a while ago using station comments to create an overlay for fixed stations, and another for continuations.  The pdf outputs are attached.  While the programmatic selection of stations to display would be a nice to have, it is relatively painless to do what you want manually. These were achieved using a th2 file with a dedicated scrap, as you hinted at, however, I didn't need to plot all the stations - it is sufficient just to include the station names in the scrap -stations command, making this a very viable approach.

I've included the entire th2 file below - as you can see there is a long list of station names in the scrap command, and only three points actually plotted (I can't remember why these three were plotted manually, sorry. In the fixed stations list, I had to manually plot fixed stations that were created in the cave but not yet actually tied into to the survey line - my intention was that these would be surveyed eventually, at which point I would not have to manually draw them in). It wasn't very onerous generating the th2 file - I basically searched all my the files for the stations, manipulated the search output to create the list of station names, and then copied the list into my th2 file; job done.  In fact one could easily write a script that did all of that and just output the entire th2 file.

The full Therion survey with the metapost definitions of the station points that I used is available at http://cave-registry.org.uk/svn/CheddarCatchment/UpperFlood.  Start with the thconfig files called thconfig.UF_Fixed.tp and thconfig.UF_Continuations.tp respectively.  

Here's the th2 scrap:
scrap Continuations_s1 -projection plan -stations [M2d at MCGPaper.Entrance M11d at MCGPaper.Entrance 11d at MidnightChamber.Entrance BS10 at MCGPaper.Entrance r4d at CC.GoldenChamber r14 at CC.GoldenChamber 31d at BoulderChoke 34 at Leg1.MalcolmsWay 35 at Leg1.MalcolmsWay 2 at Leg2.MalcolmsWay MW55 at MW.WalkThePlankChamber ws11 at WallStreetCC.WallStreet 1.17 at WallStreetDig.WallStreet 1.0a at Disto.CharnelPassage 1.23 at Disto.CharnelPassage 27 at Pony.RoyalIcing 1.2a at HiddenPassage.RoyalIcing 1.9 at HiddenPassage.RoyalIcing 10 at EP_Pony.EastPassage 11 at EP_Pony.EastPassage 22d at EP_Pony.EastPassage 23 at EP_Pony.EastPassage 32 at EP_Pony.EastPassage 45 at EP_Pony.EastPassage 49 at EP_Pony.EastPassage 51 at EP_Pony.EastPassage 4b at DeepPoolTube.EastPassage 14 at DownUnder.EastPassage 21 at BZA_Pony.BeyondZebraAven.EastPassage 31 at BZA_Pony.BeyondZebraAven.EastPassage 35 at BZA_Pony.BeyondZebraAven.EastPassage 45 at BZA_Pony.BeyondZebraAven.EastPassage 49 at BZA_Pony.BeyondZebraAven.EastPassage 62 at BZA_Pony.BeyondZebraAven.EastPassage 63 at BZA_Pony.BeyondZebraAven.EastPassage 66 at BZA_Pony.BeyondZebraAven.EastPassage 67 at BZA_Pony.BeyondZebraAven.EastPassage 1.38 at Disto.SouthPassage 1.40 at Disto.SouthPassage 1.51 at Disto.SouthPassage   1.0 at WPDisto.WestPassage 2.2d at WPDisto.WestPassage 2.5 at WPDisto.WestPassage 2.18 at WPDisto.WestPassage F1 at NeverlandCC.Neverland G1 at NeverlandCC.Neverland H1 at NeverlandCC.Neverland 3.35 at NeverlandDisto.Neverland 18 at NeverlandRopeClimb.Neverland 33 at NeverlandRopeClimb.Neverland 47 at NeverlandRopeClimb.Neverland] -scale [-128.0 -128.0 14706.8877 -128.0 0.0 0.0 376.80614758 0.0 m]

point 2344.46 6494.81 station -name 46 at NeverlandRopeClimb.Neverland

point 10441.94 4602.38 station -name 35 at EP_Pony.EastPassage

point 4582.73 16269.96 station -name E0 at MCGPaper.Entrance

endscrap

Best regards,
Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: UF_FIXED.pdf
Type: application/pdf
Size: 194679 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190905/86fb14f3/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UF_Continuations.pdf
Type: application/pdf
Size: 245867 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190905/86fb14f3/attachment-0001.pdf>


More information about the Therion mailing list