Trying to understand relation between select/unselect and export
Hi, I have a thconfig with the following exports: layout exploracao scale 1 200 base-scale 1 100 language pt code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout layout aranha scale 1 200 base-scale 1 100 debug station-names language pt code tex-map \framethickness=0.5mm sketches off endlayout select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf If I compile with the above settings I get the following 2 maps: Bart.pdf - https://goo.gl/zmnR3Y Bart-centerline.pdf - https://goo.gl/SaFF37 The first one is exactly what I expect but the second isn't as the second one should have only the centerline. If I comment the first 2 lines and run like this: #select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf I get the Bart-centerline.pdf as expected: https://goo.gl/dpZaEB Why is that? *unselect mBartp@bart* shouldn't remove mBartp@bart from the export? Rodrigo
Rodrigo, may you send the maps definitions, I mean maps which you selected in thconfig. m.s.
1. 3. 2017 v 18:03, Rodrigo Severo via Therion <therion@speleo.sk>:
Hi,
I have a thconfig with the following exports:
layout exploracao scale 1 200 base-scale 1 100 language pt code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout
layout aranha scale 1 200 base-scale 1 100 debug station-names language pt code tex-map \framethickness=0.5mm sketches off endlayout
select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
If I compile with the above settings I get the following 2 maps:
Bart.pdf - https://goo.gl/zmnR3Y <https://goo.gl/zmnR3Y> Bart-centerline.pdf - https://goo.gl/SaFF37 <https://goo.gl/SaFF37>
The first one is exactly what I expect but the second isn't as the second one should have only the centerline.
If I comment the first 2 lines and run like this:
#select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
I get the Bart-centerline.pdf as expected: https://goo.gl/dpZaEB <https://goo.gl/dpZaEB> Why is that? unselect mBartp@bart shouldn't remove mBartp@bart from the export?
Rodrigo
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
2017-03-01 14:36 GMT-03:00 Martin Sluka via Therion <therion@speleo.sk>:
Rodrigo, may you send the maps definitions, I mean maps which you selected in thconfig.
Here they are: map mBartp -projection plan -title "Gruta Bart Cave" m1p@1 m2p@2 endmap map mBartAranhap -projection plan -title "Gruta Bart Cave" m1aranhap@1 m2aranhap@2 endmap map m1p -projection plan #mc1p@c mc2p@c mb1p@b mb2p@b #mb3p@b break mc3p@c [-22 0 m] below endmap map m1aranhap -projection plan b #c endmap map m2p -projection plan m1p@f endmap map m2aranhap -projection plan a #f endmap a, b, c and f are surveys. Is that enough or you need the definitions all way down? Rodrigo
m.s.
1. 3. 2017 v 18:03, Rodrigo Severo via Therion <therion@speleo.sk>:
Hi,
I have a thconfig with the following exports:
layout exploracao scale 1 200 base-scale 1 100 language pt code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout
layout aranha scale 1 200 base-scale 1 100 debug station-names language pt code tex-map \framethickness=0.5mm sketches off endlayout
select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
If I compile with the above settings I get the following 2 maps:
Bart.pdf - https://goo.gl/zmnR3Y Bart-centerline.pdf - https://goo.gl/SaFF37
The first one is exactly what I expect but the second isn't as the second one should have only the centerline.
If I comment the first 2 lines and run like this:
#select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
I get the Bart-centerline.pdf as expected: https://goo.gl/dpZaEB Why is that? *unselect mBartp@bart* shouldn't remove mBartp@bart from the export?
Rodrigo
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Try on right side of compilation window open the menu "Survey structure“ and doubleclick on survey a. It should create line with select a… m.s.
1. 3. 2017 v 18:41, Rodrigo Severo via Therion <therion@speleo.sk>:
2017-03-01 14:36 GMT-03:00 Martin Sluka via Therion <therion@speleo.sk <mailto:therion@speleo.sk>>: Rodrigo, may you send the maps definitions, I mean maps which you selected in thconfig.
Here they are:
map mBartp -projection plan -title "Gruta Bart Cave" m1p@1 m2p@2 endmap
map mBartAranhap -projection plan -title "Gruta Bart Cave" m1aranhap@1 m2aranhap@2 endmap
map m1p -projection plan #mc1p@c mc2p@c mb1p@b mb2p@b #mb3p@b break mc3p@c [-22 0 m] below endmap
map m1aranhap -projection plan b #c endmap
map m2p -projection plan m1p@f endmap
map m2aranhap -projection plan a #f endmap
a, b, c and f are surveys.
Is that enough or you need the definitions all way down?
Rodrigo
m.s.
1. 3. 2017 v 18:03, Rodrigo Severo via Therion <therion@speleo.sk <mailto:therion@speleo.sk>>:
Hi,
I have a thconfig with the following exports:
layout exploracao scale 1 200 base-scale 1 100 language pt code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout
layout aranha scale 1 200 base-scale 1 100 debug station-names language pt code tex-map \framethickness=0.5mm sketches off endlayout
select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
If I compile with the above settings I get the following 2 maps:
Bart.pdf - https://goo.gl/zmnR3Y <https://goo.gl/zmnR3Y> Bart-centerline.pdf - https://goo.gl/SaFF37 <https://goo.gl/SaFF37>
The first one is exactly what I expect but the second isn't as the second one should have only the centerline.
If I comment the first 2 lines and run like this:
#select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
I get the Bart-centerline.pdf as expected: https://goo.gl/dpZaEB <https://goo.gl/dpZaEB> Why is that? unselect mBartp@bart shouldn't remove mBartp@bart from the export?
Rodrigo
_______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
_______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
_______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
2017-03-01 15:10 GMT-03:00 Martin Sluka via Therion <therion@speleo.sk>:
Try on right side of compilation window open the menu "Survey structure“ and doubleclick on survey a. It should create line with select a…
It creates a *select a.2.bart *line. What should I do with this line? I'm sorry, I might have mislead you. These map definitions aren' t all on the same file. In fact it's like that: Bart/thconfig: layout exploracao scale 1 200 base-scale 1 100 #debug station-names language pt #grid bottom #grid-size 100 100 10 m code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout layout aranha scale 1 200 base-scale 1 100 #debug station-names language pt #grid bottom #grid-size 100 100 10 m code tex-map \framethickness=0.5mm sketches off endlayout input extra_symbols.th language pt # Selecionando qual mapa deve ser desenhado select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf #unselect mBartp@bart #select mBarts@bart #export map -projection elevation -layout extra_symbols -output Bart-cortes.pdf unselect mBarts@bart unselect mBartp@bart select mBartAranhap@bart export map -layout-debug station-names -layout aranha -output Bart-aranha.pdf Bart/Bart.th: map mBartp -projection plan -title "Gruta Bart Cave" m1p@1 m2p@2 endmap map mBarts -projection elevation -title "Gruta Bart Cave" #m1p@1 m2s@2 endmap map mBartAranhap -projection plan -title "Gruta Bart Cave" m1aranhap@1 m2aranhap@2 endmap Bart/2017-02-12/1.th: map m1p -projection plan #mc1p@c mc2p@c mb1p@b mb2p@b #mb3p@b break mc3p@c [-22 0 m] below endmap map m1aranhap -projection plan b #c endmap Bart/2017-02-26/2.th: map m2p -projection plan m1p@f endmap map m2aranhap -projection plan a #f endmap As far as I can tell, all maps, sketchs and surveys are included and properly recognized. I think I'm not understanding the process of *select/unselect*. If I do a *select A_MAP* in thconfig and later do an *unselect A_MAP* I'm expecting to have a result after the *unselect A_MAP* exactly the same as if I have never done the *select A_MAP* at all. Isn't that how it's supposed to be? Rodrigo
m.s.
1. 3. 2017 v 18:41, Rodrigo Severo via Therion <therion@speleo.sk>:
2017-03-01 14:36 GMT-03:00 Martin Sluka via Therion <therion@speleo.sk>:
Rodrigo, may you send the maps definitions, I mean maps which you selected in thconfig.
Here they are:
map mBartp -projection plan -title "Gruta Bart Cave" m1p@1 m2p@2 endmap
map mBartAranhap -projection plan -title "Gruta Bart Cave" m1aranhap@1 m2aranhap@2 endmap
map m1p -projection plan #mc1p@c mc2p@c mb1p@b mb2p@b #mb3p@b break mc3p@c [-22 0 m] below endmap
map m1aranhap -projection plan b #c endmap
map m2p -projection plan m1p@f endmap
map m2aranhap -projection plan a #f endmap
a, b, c and f are surveys.
Is that enough or you need the definitions all way down?
Rodrigo
m.s.
1. 3. 2017 v 18:03, Rodrigo Severo via Therion <therion@speleo.sk>:
Hi,
I have a thconfig with the following exports:
layout exploracao scale 1 200 base-scale 1 100 language pt code tex-map \framethickness=0.5mm sketches off legend on legend-width 21 cm legend-columns 3 statistics explo-length off endlayout
layout aranha scale 1 200 base-scale 1 100 debug station-names language pt code tex-map \framethickness=0.5mm sketches off endlayout
select mBartp@bart export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
If I compile with the above settings I get the following 2 maps:
Bart.pdf - https://goo.gl/zmnR3Y Bart-centerline.pdf - https://goo.gl/SaFF37
The first one is exactly what I expect but the second isn't as the second one should have only the centerline.
If I comment the first 2 lines and run like this:
#select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf
unselect mBartp@bart select mBartAranhap@bart export map -layout aranha -output Bart-centerline.pdf
I get the Bart-centerline.pdf as expected: https://goo.gl/dpZaEB Why is that? *unselect mBartp@bart* shouldn't remove mBartp@bart from the export?
Rodrigo
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
1. 3. 2017 v 19:36, Rodrigo Severo via Therion <therion@speleo.sk>:
It creates a select a.2.bart line. What should I do with this line?
I'm sorry, I might have mislead you. These map definitions aren' t all on the same file.
Therion has one very important feature, you may define as many different maps definitions independent from structure of surveys. Select is command which select which map to use to create particular output. Without select Therion will use everything it is able to find and use it for export. What’s happened if you use that line select a.2.bart line? Will Therion produce only polygon? m.
2017-03-01 15:45 GMT-03:00 Martin Sluka via Therion <therion@speleo.sk>:
1. 3. 2017 v 19:36, Rodrigo Severo via Therion <therion@speleo.sk>:
It creates a *select a.2.bart *line. What should I do with this line?
I'm sorry, I might have mislead you. These map definitions aren' t all on the same file.
Therion has one very important feature, you may define as many different maps definitions independent from structure of surveys.
Select is command which select which map to use to create particular output.
Without select Therion will use everything it is able to find and use it for export.
Yes, I believe I understand that. In fact I'm counting on it. It's just not working as I expect.
What’s happened if you use that line *select a.2.bart *line? Will Therion produce only polygon?
If I compile like that: # Selecionando qual mapa deve ser desenhado select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf unselect mBartp@bart #select mBartAranhap@bart select a.2.bart export map -layout-debug station-names -layout aranha -output Bart-centerline.pdf I still get the unwanted sketches from *mBartp@bart* in *Bart-centerline.pdf*. If I compile like that: # Selecionando qual mapa deve ser desenhado #select mBartp@bart #export map -projection plan -layout exploracao -layout extra_symbols -output Bart.pdf unselect mBartp@bart #select mBartAranhap@bart select a.2.bart export map -layout-debug station-names -layout aranha -output Bart-centerline.pdf I only get in *Bart-centerline.pdf* the centerline defined in *a.2.bart* as I expect and want. It's as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesn't change a thing. Rodrigo
m.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
1. 3. 2017 v 20:03, Rodrigo Severo via Therion <therion@speleo.sk>:
It's as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesn't change a thing.
I always use # to comment selects I don’t want. It could be a bug. Martin
There are many threads in this forum if you search for ‘unselect’. I have not researched it recently, and my lingering recollection is that it does not work as one might expect. Not sure I have ever managed a successful ‘unselect’. This 2013 post from Andrew Atkinson in response to Bertrand Hauser gives an explanation that seems plausible. https://www.mail-archive.com/therion@speleo.sk/msg04606.html From: Therion [mailto:therion-bounces@speleo.sk] On Behalf Of Martin Sluka via Therion Sent: Thursday, 2 March 2017 8:11 AM To: List for Therion users <therion@speleo.sk> Cc: Martin Sluka <martinsluka@mac.com> Subject: Re: [Therion] Trying to understand relation between select/unselect and export 1. 3. 2017 v 20:03, Rodrigo Severo via Therion <therion@speleo.sk <mailto:therion@speleo.sk> >: It's as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesn't change a thing. I always use # to comment selects I don’t want. It could be a bug. Martin
2017-03-01 16:30 GMT-03:00 Bruce Mutton via Therion <therion@speleo.sk>:
There are many threads in this forum if you search for ‘unselect’.
I have not researched it recently, and my lingering recollection is that it does not work as one might expect. Not sure I have ever managed a successful ‘unselect’.
This 2013 post from Andrew Atkinson in response to Bertrand Hauser gives an explanation that seems plausible.
https://www.mail-archive.com/therion@speleo.sk/msg04606.html
Yes Bruce. I believe you are right. I will try some little debugging on Therion's code to see if I understand why that's happening. I don't think that's by design, it looks like a bug to me. Thanks Rodrigo
*From:* Therion [mailto:therion-bounces@speleo.sk] *On Behalf Of *Martin Sluka via Therion *Sent:* Thursday, 2 March 2017 8:11 AM *To:* List for Therion users <therion@speleo.sk> *Cc:* Martin Sluka <martinsluka@mac.com> *Subject:* Re: [Therion] Trying to understand relation between select/unselect and export
1. 3. 2017 v 20:03, Rodrigo Severo via Therion <therion@speleo.sk>:
It's as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesn't change a thing.
I always use # to comment selects I don’t want.
It could be a bug.
Martin
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
I do not think this is a bug. The way i understand (and use) is that with select/unselect you can define the data to export for one particular run of the compiler. So you can say "export all of this map, but exclude xyz". However, it would definitely be more comfortable to have it like discussed in this thread below. Am 2017-03-01 21:36, schrieb Rodrigo Severo via Therion:
2017-03-01 16:30 GMT-03:00 Bruce Mutton via Therion <therion@speleo.sk [8]>:
There are many threads in this forum if you search for ‘unselect’.
I have not researched it recently, and my lingering recollection is that it does not work as one might expect. Not sure I have ever managed a successful ‘unselect’.
This 2013 post from Andrew Atkinson in response to Bertrand Hauser gives an explanation that seems plausible.
https://www.mail-archive.com/therion@speleo.sk/msg04606.html [1]
Yes Bruce. I believe you are right.
I will try some little debugging on Therions code to see if I understand why thats happening. I dont think thats by design, it looks like a bug to me.
Thanks
Rodrigo
FROM: Therion [mailto:therion-bounces@speleo.sk [3]] ON BEHALF OF Martin Sluka via Therion SENT: Thursday, 2 March 2017 8:11 AM TO: List for Therion users <therion@speleo.sk [4]> CC: Martin Sluka <martinsluka@mac.com [5]> SUBJECT: Re: [Therion] Trying to understand relation between select/unselect and export
1. 3. 2017 v 20:03, Rodrigo Severo via Therion <therion@speleo.sk [2]>:
Its as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesnt change a thing.
I always use # to comment selects I don’t want.
It could be a bug.
Martin
_______________________________________________ Therion mailing list Therion@speleo.sk [6] https://mailman.speleo.sk/listinfo/therion [7]
Links: ------ [1] https://www.mail-archive.com/therion@speleo.sk/msg04606.html [2] mailto:therion@speleo.sk [3] mailto:therion-bounces@speleo.sk [4] mailto:therion@speleo.sk [5] mailto:martinsluka@mac.com [6] mailto:Therion@speleo.sk [7] https://mailman.speleo.sk/listinfo/therion [8] mailto:therion@speleo.sk
2017-03-03 4:52 GMT-03:00 Benedikt Hallinger via Therion <therion@speleo.sk> :
I do not think this is a bug. The way i understand (and use) is that with select/unselect you can define the data to export for one particular run of the compiler. So you can say "export all of this map, but exclude xyz".
I understand your idea but can you present an working example of *unselect* actually unselecting a map? After Bruce called my attention to the fact that this issue has being dicussed before, I couldn't find an example of *unselect* making any difference in the final result. Rodrigo
However, it would definitely be more comfortable to have it like discussed in this thread below.
Am 2017-03-01 21:36, schrieb Rodrigo Severo via Therion:
2017-03-01 16:30 GMT-03:00 Bruce Mutton via Therion <therion@speleo.sk [8]>:
There are many threads in this forum if you search for ‘unselect’.
I have not researched it recently, and my lingering recollection is that it does not work as one might expect. Not sure I have ever managed a successful ‘unselect’.
This 2013 post from Andrew Atkinson in response to Bertrand Hauser gives an explanation that seems plausible.
https://www.mail-archive.com/therion@speleo.sk/msg04606.html [1]
Yes Bruce. I believe you are right.
I will try some little debugging on Therions code to see if I understand why thats happening. I dont think thats by design, it looks like a bug to me.
Thanks
Rodrigo
FROM: Therion [mailto:therion-bounces@speleo.sk [3]] ON BEHALF OF Martin Sluka via Therion SENT: Thursday, 2 March 2017 8:11 AM TO: List for Therion users <therion@speleo.sk [4]> CC: Martin Sluka <martinsluka@mac.com [5]> SUBJECT: Re: [Therion] Trying to understand relation between select/unselect and export
1. 3. 2017 v 20:03, Rodrigo Severo via Therion <therion@speleo.sk [2]>:
Its as if the first select mBartp@bart sticks and the unselect mBartp@bart later on doesnt change a thing.
I always use # to comment selects I don’t want.
It could be a bug.
Martin
_______________________________________________ Therion mailing list Therion@speleo.sk [6] https://mailman.speleo.sk/listinfo/therion [7]
Links: ------ [1] https://www.mail-archive.com/therion@speleo.sk/msg04606.html [2] mailto:therion@speleo.sk [3] mailto:therion-bounces@speleo.sk [4] mailto:therion@speleo.sk [5] mailto:martinsluka@mac.com [6] mailto:Therion@speleo.sk [7] https://mailman.speleo.sk/listinfo/therion [8] mailto:therion@speleo.sk
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (4)
-
Benedikt Hallinger -
Bruce Mutton -
Martin Sluka -
Rodrigo Severo