Hello everyone, this is my first mail, I just started to use Therion and I'm very excited about it. my question is about changing wall line symbology in the map. the wall line in all the map we made so far looks like this: [image: image.png] I was wandering if any one has done anything like this or similar symbol in Therion? -- Regards, Omri Gaster
Hi Omri, The usual way that passages are drawn with a background is simply to set the "color map-bg (93,82,62)" option in your "layout". But that does not colour an outline of the passage like you have shown.
the wall line in all the map we made so far looks like this:
What would you want to happen when two passages cross each other? Should the beige outline go over the lower passage or not? If it does go over the lower passage, you can probably do it with a new wall subtype (or redefine the existing ones), using metapost to define the custom wall line to have a black pen with a coloured pen outline beside it. If you want to have the upper passage's beige outline clipped by the lower passage ... I don't know if that is possible, but I have not seen a way to do it. Cheers, Tarquin
I know the option of "color map-bg", I'm looking for something more similar to the image I sent. I think it can work for most of the cave's (that the wall doesn't cross each other). In our maps all the levels are shifted so there is no cross between the wall lines in the final map. what I can do is generate a map for each level and then finish the cartography in illustrator. Cheers,, Omri On Sat, 25 May 2019, 20:34 Tarquin Wilton-Jones via Therion, < therion@speleo.sk> wrote:
Hi Omri,
The usual way that passages are drawn with a background is simply to set the "color map-bg (93,82,62)" option in your "layout". But that does not colour an outline of the passage like you have shown.
the wall line in all the map we made so far looks like this:
What would you want to happen when two passages cross each other? Should the beige outline go over the lower passage or not?
If it does go over the lower passage, you can probably do it with a new wall subtype (or redefine the existing ones), using metapost to define the custom wall line to have a black pen with a coloured pen outline beside it.
If you want to have the upper passage's beige outline clipped by the lower passage ... I don't know if that is possible, but I have not seen a way to do it.
Cheers,
Tarquin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Check line pit_AUT - it use two parallel lines, so there should by way to generate line as you want. Martin
26. 5. 2019 v 7:29, עמרי גסטר <omrigas@gmail.com>:
I know the option of "color map-bg", I'm looking for something more similar to the image I sent.
I think it can work for most of the cave's (that the wall doesn't cross each other).
In our maps all the levels are shifted so there is no cross between the wall lines in the final map. what I can do is generate a map for each level and then finish the cartography in illustrator.
Cheers,, Omri
On Sat, 25 May 2019, 20:34 Tarquin Wilton-Jones via Therion, <therion@speleo.sk <mailto:therion@speleo.sk>> wrote: Hi Omri,
The usual way that passages are drawn with a background is simply to set the "color map-bg (93,82,62)" option in your "layout". But that does not colour an outline of the passage like you have shown.
the wall line in all the map we made so far looks like this:
What would you want to happen when two passages cross each other? Should the beige outline go over the lower passage or not?
If it does go over the lower passage, you can probably do it with a new wall subtype (or redefine the existing ones), using metapost to define the custom wall line to have a black pen with a coloured pen outline beside it.
If you want to have the upper passage's beige outline clipped by the lower passage ... I don't know if that is possible, but I have not seen a way to do it.
Cheers,
Tarquin _______________________________________________ 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 https://mailman.speleo.sk/listinfo/therion
Check line pit_AUT - it use two parallel lines, so there should by way to generate line as you want.
Note (to others who may be reading) that this relies on the passages not crossing over each other. Once they cross over each other, you might have hoped for the outer line to be clipped by the lower passage - it won't be.
what I can do is generate a map for each level and then finish the cartography in illustrator.
It may be possible to do this with CSS and SVG too. Export your cave survey as SVG, and use CSS box-shadow to add an outline. Or SVG's <feOffset> filter. https://www.w3schools.com/graphics/svg_feoffset.asp Tarquin
thanks for the answers I don't know what Metapost or CSS box-shadow are (yet...) I'll do a bit of reading about it and try to make it work On Sun, May 26, 2019 at 11:09 AM Martin Sluka via Therion <therion@speleo.sk> wrote:
26. 5. 2019 v 9:56, Tarquin Wilton-Jones via Therion <therion@speleo.sk>:
It may be possible to do this with CSS and SVG too. Export your cave survey as SVG, and use CSS box-shadow to add an outline.
You may do it directly in Metapost.
Martin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
-- בברכה, עמרי גסטר 052-6124995
thanks for the answers
I don't know what Metapost or CSS box-shadow are (yet...)
MetaPost is the programming language used to describe every symbol and line that Therion draws. In your "layout"-"endlayout" section of your configuration, you add a "code metapost" and "endcode" section, then you add the code needed to redefine the cave walls that you are using. It's complicated, since it is a programming language. Takes some practice. https://therion.speleo.sk/downloads/thbook.pdf - look for the "New map symbols" section, which shows some examples. Loads more examples: https://therion.speleo.sk/wiki/metapost And if you want to see all the MetaPost code that Therion uses by default, see: https://therion.speleo.sk/wiki/metapost#how_to_get_therions_metapost_code_an... This is where Martin was suggesting you look for the line that looks like this: def l_wall_pit_AUT (expr P) = I'm still in the process of learning the language myself, and am not yet good enough to write what you need.
Thanks! On Sun, May 26, 2019 at 6:58 PM Tarquin Wilton-Jones via Therion < therion@speleo.sk> wrote:
thanks for the answers
I don't know what Metapost or CSS box-shadow are (yet...)
MetaPost is the programming language used to describe every symbol and line that Therion draws. In your "layout"-"endlayout" section of your configuration, you add a "code metapost" and "endcode" section, then you add the code needed to redefine the cave walls that you are using. It's complicated, since it is a programming language. Takes some practice.
https://therion.speleo.sk/downloads/thbook.pdf - look for the "New map symbols" section, which shows some examples.
Loads more examples: https://therion.speleo.sk/wiki/metapost
And if you want to see all the MetaPost code that Therion uses by default, see:
https://therion.speleo.sk/wiki/metapost#how_to_get_therions_metapost_code_an... This is where Martin was suggesting you look for the line that looks like this: def l_wall_pit_AUT (expr P) =
I'm still in the process of learning the language myself, and am not yet good enough to write what you need. _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
-- בברכה, עמרי גסטר 052-6124995
I did similar thing in one map transferred to Therion from Illustrator. See attached image. The principle is I made an underlaying dummy scrap filled with area with pink colour bounded by wall type invisible. The profile is filled by colour by color map-fg command. So in final map the pink area is overlaid by map of cave. But it was made by hand drawing not generated as special kind of line wall. Martin
26. 5. 2019 v 12:53, עמרי גסטר <omrigas@gmail.com <mailto:omrigas@gmail.com>>:
thanks for the answers
I don't know what Metapost or CSS box-shadow are (yet...)
I'll do a bit of reading about it and try to make it work
On Sun, May 26, 2019 at 11:09 AM Martin Sluka via Therion <therion@speleo.sk <mailto:therion@speleo.sk>> wrote:
26. 5. 2019 v 9:56, Tarquin Wilton-Jones via Therion <therion@speleo.sk <mailto:therion@speleo.sk>>:
It may be possible to do this with CSS and SVG too. Export your cave survey as SVG, and use CSS box-shadow to add an outline.
You may do it directly in Metapost.
Martin _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
-- בברכה, עמרי גסטר 052-6124995
It is possible to tell therion to extend map fg command beyond the wall line? On Mon, 27 May 2019, 12:11 Martin Sluka via Therion, <therion@speleo.sk> wrote:
I did similar thing in one map transferred to Therion from Illustrator. See attached image.
The principle is I made an underlaying dummy scrap filled with area with pink colour bounded by wall type invisible. The profile is filled by colour by color map-fg command. So in final map the pink area is overlaid by map of cave.
But it was made by hand drawing not generated as special kind of line wall.
Martin
26. 5. 2019 v 12:53, עמרי גסטר <omrigas@gmail.com>:
thanks for the answers
I don't know what Metapost or CSS box-shadow are (yet...)
I'll do a bit of reading about it and try to make it work
On Sun, May 26, 2019 at 11:09 AM Martin Sluka via Therion < therion@speleo.sk> wrote:
26. 5. 2019 v 9:56, Tarquin Wilton-Jones via Therion <therion@speleo.sk>:
It may be possible to do this with CSS and SVG too. Export your cave survey as SVG, and use CSS box-shadow to add an outline.
You may do it directly in Metapost.
Martin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
-- בברכה, עמרי גסטר 052-6124995
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (3)
-
Martin Sluka -
Tarquin Wilton-Jones -
עמרי גסטר