Maps of maps at lower level in survey tree
Hi Therion Mailing list, I'm struggling with something after a surveying trip on Saturday (I've drawn everything up) but now want to strip the survey into lower and upper sections. At present I can run the top level .th file and stripped down config file to get the survey tree out (so I could select surveys individually at a lower level). However when I'm trying to use the code used in the Therion samples [installed on download]. therion/samples/map-offset/thconfig.4 it doesn't work. Please find below my error message, .th and config files, does anyone know where i'm going wrong? Error message calculating basic statistics ... done processing extended elevation ... done processing references ... C:\Program Files (x86)\Therion\therion.exe: error -- Fingernailviatpvtovortex2.th [9] -- object does not exist -- TotalperspectivevortM writing xtherion file ... done C:\Program Files (x86)\Therion\therion.exe: warning -- error deleting temporary directory -- C:\Users\alastair\AppData\Local\Temp\th27304 .th survey Fingernailviatpvtovortex2 input Totalperspectivevort/Totalperspectivevort.th input Totpersfromfinger/Totpersfromfinger.th input Vortex2/Vortex2.th map tpv TotalperspectivevortM break Vortex2M endmap map lower TotpersfromfingerM endmap centreline equate 1.7@Vortex2 1.2@Totalperspectivevort equate 1.0@Totalperspectivevort 1.6@Totpersfromfinger endcentreline endsurvey Config file source Fingernailviatpvtovortex2.th source #!CODE map Fingernailtovortex2 tpv break lower [-0 30 m] below endmap #!ENDCODE endsource Regards, Alastair Gott. AlastairGott@hotmail.com, M: 07931779380.
Hi Alastair,
Fingernailviatpvtovortex2.th [9] -- object does not exist -- TotalperspectivevortM
From what you posted below, I would have to agree with Therion; I also do not see any map (or scrap) called "TotalperspectivevortM" being defined anywhere in Fingernailviatpvtovortex2.th
input Totalperspectivevort/Totalperspectivevort.th input Totpersfromfinger/Totpersfromfinger.th input Vortex2/Vortex2.th
Is it defined in the first one of these, perhaps? If so, is it defined within a new (sub-)survey or directly in the file? Think I'd need to see the contents of these files to make a proper diagnosis.
map tpv TotalperspectivevortM
If it is in a subsurvey, then you need to write it like this: map foo TotalperspectivevortM@subsurveyname ... endmap eg. TotalperspectivevortM@Totalperspectivevort Feel free to send the rest of your files (directly to me) if you'd like me to take a better look. I am relatively new to Therion myself, but this is something I have used quite a lot in my own project, so I should be able to work it out. Or you could just wait for someone else like Bruce to point out some other fault. Hope this helps. Tarquin
6. 5. 2019 v 23:48, alastair gott <alastairgott@hotmail.com>:
map tpv TotalperspectivevortM break Vortex2M endmap map lower TotpersfromfingerM endmap
TotalperspectivevortM is scrap, isn’t it. But that scrap is part of namespace Totalperspectivevort of survey Totalperspectivevort defined in file Totalperspectivevort.th Therion must know the way to all objects to work with. If not, it sends message as in your case "Fingernailviatpvtovortex2.th [9] -- object does not exist -- TotalperspectivevortM„. It means on 9th line of file Fingernailviatpvtovortex2.th is object TotalperspectivevortM but Therion doesn’t know the way to it. You defined the station in equate command correct - 1.2@Totalperspectivevort (station_name@name_space) Use the same way in your map definition map tpv TotalperspectivevortM@Totalperspectivevort break Vortex2M@Totalperspectivevort endmap Note: I after years started to name maps as xxxxxxxxx.map and scraps as nnnnnnnnnnnn.scrap just to see what is the object listed in definitions. Martin Sluka
Hi Martin and Tarquin, I have now redefined the subsurveys correctly, however it's now got an error on the thconfig file. Error C:\Program Files (x86)\Therion\therion.exe: error -- thconfig [16] -- object does not exist -- tpv writing xtherion file ... done But as far as I know I defined the map tpv on the .th file. I've been round in a circle before commenting out parts. If I comment out tpv from both .th and config file, then I get the same message with just "lower". Error error -- thconfig [18] -- object does not exist -- lower Regards, Alastair Gott. AlastairGott@hotmail.com, M: 07931779380. ________________________________ From: Therion <therion-bounces@speleo.sk> on behalf of Martin Sluka via Therion <therion@speleo.sk> Sent: 07 May 2019 07:26 To: List for Therion users Cc: Martin Sluka Subject: Re: [Therion] Maps of maps at lower level in survey tree 6. 5. 2019 v 23:48, alastair gott <alastairgott@hotmail.com<mailto:alastairgott@hotmail.com>>: map tpv TotalperspectivevortM break Vortex2M endmap map lower TotpersfromfingerM endmap TotalperspectivevortM is scrap, isn’t it. But that scrap is part of namespace Totalperspectivevort of survey Totalperspectivevort defined in file Totalperspectivevort.th<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftotalperspectivevort.th&data=02%7C01%7C%7Cb1b950e4fdca48063d3b08d6d2b4f6bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928072002282895&sdata=WKj8RhBKVT9%2BzUu6%2Ftcmo1To5XPTGHNHAF%2Btb0LTXl0%3D&reserved=0> Therion must know the way to all objects to work with. If not, it sends message as in your case "Fingernailviatpvtovortex2.th<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffingernailviatpvtovortex2.th&data=02%7C01%7C%7Cb1b950e4fdca48063d3b08d6d2b4f6bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928072002292906&sdata=RTsEnuz4TK9M0Mt%2FpNFD63smyaU2EzH7QMtCKgLewNk%3D&reserved=0> [9] -- object does not exist -- TotalperspectivevortM„. It means on 9th line of file Fingernailviatpvtovortex2.th<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffingernailviatpvtovortex2.th&data=02%7C01%7C%7Cb1b950e4fdca48063d3b08d6d2b4f6bb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928072002302911&sdata=eYCLCWDNIULi4v%2BlbEhDe6PGw7GmSKIz%2BV%2BhjIDi6GU%3D&reserved=0> is object TotalperspectivevortM but Therion doesn’t know the way to it. You defined the station in equate command correct - 1.2@Totalperspectivevort (station_name@name_space) Use the same way in your map definition map tpv TotalperspectivevortM@Totalperspectivevort break Vortex2M@Totalperspectivevort endmap Note: I after years started to name maps as xxxxxxxxx.map and scraps as nnnnnnnnnnnn.scrap just to see what is the object listed in definitions. Martin Sluka
6. 5. 2019 v 23:48, alastair gott <alastairgott@hotmail.com>:
source Fingernailviatpvtovortex2.th <http://fingernailviatpvtovortex2.th/>
source #!CODE map Fingernailtovortex2 tpv break lower [-0 30 m] below endmap #!ENDCODE endsource
Sorry, I didn't read your first mail to the end. You use definition of overall map inside of thconfig, what is possible, but not used. Better way should be to define it in Fingernailviatpvtovortex2.th in survey Fingernailviatpvtovortex2 as third map definition map Fingernailtovortex2 tpv break lower [-0 30 m] below endmap tvp and lower are maps defined from scraps and map Fingernailtovortex2 is map defined from two others maps. And use only simple thconfig: source Fingernailviatpvtovortex2.th export ….. Martin
And use only simple thconfig:
source Fingernailviatpvtovortex2.th <http://fingernailviatpvtovortex2.th/>
export …..
Sorry: source Fingernailviatpvtovortex2.th <http://fingernailviatpvtovortex2.th/> select Fingernailtovortex2@Fingernailviatpvtovortex2 #map@survey export …..
Thank you Martin and Tarquin, It’s all working perfectly, such a useful thing to know. Got a few things to try out later too. Many thanks for sorting me out. Al. Sent from my iPhone On 7 May 2019, at 17:42, Martin Sluka via Therion <therion@speleo.sk<mailto:therion@speleo.sk>> wrote: And use only simple thconfig: source Fingernailviatpvtovortex2.th<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffingernailviatpvtovortex2.th%2F&data=02%7C01%7C%7Cc325ff0291ce45a1e24b08d6d30af32d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928441317751325&sdata=Oh9ZqUDm%2FDeiTWPu42w4JkDtWQRbgfz2JZPUGwnqQN0%3D&reserved=0> export ….. Sorry: source Fingernailviatpvtovortex2.th<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffingernailviatpvtovortex2.th%2F&data=02%7C01%7C%7Cc325ff0291ce45a1e24b08d6d30af32d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928441317761336&sdata=qj6z9aiyB7NEhf0gHkHHh6IvYNoxjsJPuUURxSmWzC8%3D&reserved=0> select Fingernailtovortex2@Fingernailviatpvtovortex2 #map@survey export ….. _______________________________________________ Therion mailing list Therion@speleo.sk<mailto:Therion@speleo.sk> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.speleo.sk%2Flistinfo%2Ftherion&data=02%7C01%7C%7Cc325ff0291ce45a1e24b08d6d30af32d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636928441317791356&sdata=5NkIV1N8kzncZBVzKwasLK891yedW%2Bfik6to9bB%2B1qw%3D&reserved=0
participants (3)
-
alastair gott -
Martin Sluka -
Tarquin Wilton-Jones