Re: [Therion] Area "filled" (Markus Boldt)

2017-09-14 Thread Markus Boldt via Therion
Thanks to all for helping and for the needed metapost code. Now I seem I get
the way. 

@Dave: Until now I have done like you say. For the first it was enough. But
for now and the future it looks very better in presentations e.g.. J

Many greetings 

Markus 

 

 

Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Dave Clucas
via Therion
Gesendet: Donnerstag, 14. September 2017 09:26
An: therion@speleo.sk
Cc: Dave Clucas
Betreff: Re: [Therion] Area "filled" (Markus Boldt)

 

Markus, instead of going to the trouble of creating complex code to include
this fill symbol in a legend box, why don't you just add a label to your
map. It seems you are making it too complicated for something which will not
occur often.

 

Dave Clucas
 <mailto:daveclu...@icloud.com> dave.clu...@icloud.com

Exploring the World - One cave at a time

 

On 14 Sep 2017, at 08:05, therion-requ...@speleo.sk wrote:

 

Re: Area "filled" (Bruce Mutton)

 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled" (Markus Boldt)

2017-09-14 Thread Dave Clucas via Therion
Markus, instead of going to the trouble of creating complex code to include 
this fill symbol in a legend box, why don't you just add a label to your map. 
It seems you are making it too complicated for something which will not occur 
often.

Dave Clucas
dave.clu...@icloud.com 

Exploring the World - One cave at a time


> On 14 Sep 2017, at 08:05, therion-requ...@speleo.sk wrote:
> 
> Re: Area "filled" (Bruce Mutton)

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] Area "filled"

2017-09-14 Thread Bruce Mutton via Therion
To expand on Martin’s example, there is perhaps a little more to it.

Refer to pg 106 of Therion Book

 

Such an area could be defined in your scrap drawing by a line border subtype 
invisible. 

The area will be called u:filled

 

And definition of colour is identical as definition of blue water in wiki of 
Therion.

 

So, for an area u:filled, include in your layout…

 

code metapost

def a_u_filled (expr p) =

  T:=identity;

  thfill p withcolor (0.6, 0.8, 1);

enddef;  %define the area symbol called filled

 

initsymbol("a_u_filled")  %initialise the area symbol called filled

 

   def a_u_filled_legend =

a_u_filled

   enddef; %to include the u:filled symbol in 
the legend

 

endcode

 

To select a colour definition you could refer to 

https://therion.speleo.sk/wiki/tips#rgb_to_therion_colour_mapping_calculator

 

And to define the text you want to appear in the legend, include this in your 
thconfig…

 

text en “area u:filled”  “filled passage”

text de “area u:filled”  “german words for filled passage”

 

Bruce

 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-14 Thread Martin Sluka via Therion
Hi, 

here is that code from Juraj:

layout digging
  code metapost
def a_u_dugout(expr p) =
  T:=identity;
  thfill p withcolor (red); 
#(1.0, 0.0, 0.0)
enddef;
def a_u_fillin(expr p) =
  T:=identity;
  thfill p withcolor (1.0, 0.8, 0.4)
enddef;
def a_u_extend(expr p) =
  T:=identity;
  thfill p withcolor (1.0, 0.5, 0.5)
enddef;
initsymbol("a_u_dugout")
initsymbol("a_u_fillin")
initsymbol("a_u_extend")
  endcode
endlayout digging

text en "area u:dugout" "dug out part"
text sk "area u:dugout" "vykopaná cast"
text en "area u:extend" "extended part"
text sk "area u:extend" "rozsírená cast"
text en "area u:fillin" "fill in part"
text sk "area u:fillin" "zasypaná cast“

m.s.


> 14. 9. 2017 v 9:18, Markus Boldt via Therion :
> 
> Thank you Bruce. 
> Yes, I`am searching for this code. And in the Sample (the map of Prosiecka 
> cave) from Martin it is used from the drawer named on the map as Juraj 
> Szunyog. Is he on the list? Or where can I get a Copy of the used config-file 
> for that cave or only the related code. Please, I should have it until 
> Friday-night because of making a talk at Saturday. 
> Markus
>  
>  
> Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Bruce Mutton 
> via Therion
> Gesendet: Mittwoch, 13. September 2017 22:12
> An: 'List for Therion users'
> Cc: Bruce Mutton
> Betreff: Re: [Therion] Area "filled"
>  
> Markus is looking for the code for this particular user defined symbol I 
> think.
>  
> From: Therion [mailto:therion-boun...@speleo.sk] 
> <mailto:[mailto:therion-boun...@speleo.sk]> On Behalf Of Martin Sluka via 
> Therion
> Sent: Thursday, 14 September 2017 7:22 AM
> To: List for Therion users mailto:therion@speleo.sk>>
> Cc: Martin Sluka mailto:martinsl...@mac.com>>
> Subject: Re: [Therion] Area "filled"
>  
> Please, what it means "fill in part“?
>  
> They are user defined symbols.
>  
> Martin
>  
>> 13. 9. 2017 v 14:35, Markus Boldt via Therion > <mailto:therion@speleo.sk>>:
>>  
>> Yes Martin, that`s it. But how get I now the box “fill in Part” with this 
>> nice color in the Legend and how do I tell the drawing that this area is a 
>> “fill in part”? 
>> Markus
>>  
>> Von: Therion [mailto:therion-boun...@speleo.sk 
>> <mailto:therion-boun...@speleo.sk>] Im Auftrag von Martin Sluka via Therion
>> Gesendet: Mittwoch, 13. September 2017 09:43
>> An: List for Therion users
>> Cc: Martin Sluka
>> Betreff: Re: [Therion] Area "filled"
>>  
>> Check this link, it is exactly what you want, I think:
>>  
>> http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf 
>> <http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf>
>>  
>> m.s.
>>  
>>  
>>> 13. 9. 2017 v 9:25, Markus Boldt via Therion >> <mailto:therion@speleo.sk>>:
>>>  
>>> Hello, 
>>> is there a possibility in Therion to get a signature for an area „filled“, 
>>> „refilled“ or something similar? Background is, we have dug in a cave and 
>>> by digging we have filled a small chamber. 
>>> Greatings
>>> Markus
>>>  
>>>  
>>> ___
>>> 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
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-14 Thread Torsten Schnitter via Therion
Hi Markus

I'll give it a try for the needed sourcecode:

within your config file and layout definition:

...
text en "area u:specialfill" "your text" % this will show "your 
text" in the legend
...
code metapost
...
  def a_u_specialfill (expr p) =
  T:=identity;
  thfill p withcolor (0.6, 0.8, 1);
  enddef;
  initsymbol("a_u_specialfill");
...
endcode
...


Finally in your .th2 file use:
area u:specialfill
   
   ...
endarea

You also can do this by using the mapeditor and inside the area part with Typ u.
Type in the field "Type" "u:specialfill".
Finally select all your borders for this area.

cheers,
Torsten


> Markus Boldt via Therion  hat am 14. September 2017 um 
> 09:18 geschrieben:
> 
> 
> Thank you Bruce.
> 
> Yes, I`am searching for this code. And in the Sample (the map of 
> Prosiecka cave) from Martin it is used from the drawer named on the map as 
> Juraj Szunyog. Is he on the list? Or where can I get a Copy of the used 
> config-file for that cave or only the related code. Please, I should have it 
> until Friday-night because of making a talk at Saturday.
> 
> Markus
> 
>  
> 
>  
> 
> Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Bruce 
> Mutton via Therion
> Gesendet: Mittwoch, 13. September 2017 22:12
> An: 'List for Therion users'
> Cc: Bruce Mutton
> Betreff: Re: [Therion] Area "filled"
> 
>  
> 
> Markus is looking for the code for this particular user defined symbol I 
> think.
> 
>  
> 
> From: Therion [mailto:therion-boun...@speleo.sk] 
> mailto:[mailto:therion-boun...@speleo.sk] On Behalf Of Martin Sluka via 
> Therion
> Sent: Thursday, 14 September 2017 7:22 AM
> To: List for Therion users mailto:therion@speleo.sk >
> Cc: Martin Sluka mailto:martinsl...@mac.com >
> Subject: Re: [Therion] Area "filled"
> 
>  
> 
> Please, what it means "fill in part“?
> 
>  
> 
> They are user defined symbols.
> 
>  
> 
> Martin
> 
>  
> 
> > > 
> > 13. 9. 2017 v 14:35, Markus Boldt via Therion  > mailto:therion@speleo.sk >:
> > 
> >  
> > 
> > Yes Martin, that`s it. But how get I now the box “fill in Part” 
> > with this nice color in the Legend and how do I tell the drawing that this 
> > area is a “fill in part”? 
> > 
> > Markus
> > 
> >  
> > 
> > Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von 
> > Martin Sluka via Therion
> > Gesendet: Mittwoch, 13. September 2017 09:43
> > An: List for Therion users
> > Cc: Martin Sluka
> > Betreff: Re: [Therion] Area "filled"
> > 
> >  
> > 
> > Check this link, it is exactly what you want, I think:
> > 
> >  
> > 
> > http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf 
> > http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf
> > 
> >  
> > 
> > m.s.
> > 
> >  
> > 
> >  
> > 
> > > > > 
> > > 13. 9. 2017 v 9:25, Markus Boldt via Therion 
> > > mailto:therion@speleo.sk >:
> > > 
> > >  
> > > 
> > > Hello, 
> > > 
> > > is there a possibility in Therion to get a signature for an 
> > > area „filled“, „refilled“ or something similar? Background is, we have 
> > > dug in a cave and by digging we have filled a small chamber. 
> > > 
> > > Greatings
> > > 
> > > Markus
> > > 
> > >  
> > > 
> > >  
> > > 
> > > ___
> > > 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
> > 
> > > 
>  
> 


 

> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
> 
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-14 Thread Markus Boldt via Therion
Thank you Bruce. 

Yes, I`am searching for this code. And in the Sample (the map of Prosiecka 
cave) from Martin it is used from the drawer named on the map as Juraj Szunyog. 
Is he on the list? Or where can I get a Copy of the used config-file for that 
cave or only the related code. Please, I should have it until Friday-night 
because of making a talk at Saturday. 

Markus

 

 

Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Bruce Mutton via 
Therion
Gesendet: Mittwoch, 13. September 2017 22:12
An: 'List for Therion users'
Cc: Bruce Mutton
Betreff: Re: [Therion] Area "filled"

 

Markus is looking for the code for this particular user defined symbol I think.

 

From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Martin Sluka via 
Therion
Sent: Thursday, 14 September 2017 7:22 AM
To: List for Therion users 
Cc: Martin Sluka 
Subject: Re: [Therion] Area "filled"

 

Please, what it means "fill in part“?

 

They are user defined symbols.

 

Martin

 

13. 9. 2017 v 14:35, Markus Boldt via Therion :

 

Yes Martin, that`s it. But how get I now the box “fill in Part” with this nice 
color in the Legend and how do I tell the drawing that this area is a “fill in 
part”? 

Markus

 

Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Martin Sluka via 
Therion
Gesendet: Mittwoch, 13. September 2017 09:43
An: List for Therion users
Cc: Martin Sluka
Betreff: Re: [Therion] Area "filled"

 

Check this link, it is exactly what you want, I think:

 

 <http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf> 
http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf

 

m.s.

 

 

13. 9. 2017 v 9:25, Markus Boldt via Therion < <mailto:therion@speleo.sk> 
therion@speleo.sk>:

 

Hello, 

is there a possibility in Therion to get a signature for an area „filled“, 
„refilled“ or something similar? Background is, we have dug in a cave and by 
digging we have filled a small chamber. 

Greatings

Markus

 

 

___
Therion mailing list
 <mailto:Therion@speleo.sk> 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

 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-14 Thread Martin Sluka via Therion
Such area could be mark off by border subtype invisible in any part of scrap. 

And definition of color is identical as definition of blue water in wiki of 
Therion.

Something as this but defined as user symbol.

def a_water (expr p) =
  T:=identity;
  thfill p withcolor (0.6, 0.8, 1);
enddef;

m.s.

> 13. 9. 2017 v 22:11, Bruce Mutton via Therion :
> 
> Markus is looking for the code for this particular user defined symbol I 
> think.
>  
> From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Martin Sluka 
> via Therion
> Sent: Thursday, 14 September 2017 7:22 AM
> To: List for Therion users 
> Cc: Martin Sluka 
> Subject: Re: [Therion] Area "filled"
>  
> Please, what it means "fill in part“?
>  
> They are user defined symbols.
>  
> Martin
>  
>> 13. 9. 2017 v 14:35, Markus Boldt via Therion > <mailto:therion@speleo.sk>>:
>>  
>> Yes Martin, that`s it. But how get I now the box “fill in Part” with this 
>> nice color in the Legend and how do I tell the drawing that this area is a 
>> “fill in part”? 
>> Markus
>>  
>> Von: Therion [mailto:therion-boun...@speleo.sk 
>> <mailto:therion-boun...@speleo.sk>] Im Auftrag von Martin Sluka via Therion
>> Gesendet: Mittwoch, 13. September 2017 09:43
>> An: List for Therion users
>> Cc: Martin Sluka
>> Betreff: Re: [Therion] Area "filled"
>>  
>> Check this link, it is exactly what you want, I think:
>>  
>> http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf 
>> <http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf>
>>  
>> m.s.
>>  
>>  
>>> 13. 9. 2017 v 9:25, Markus Boldt via Therion >> <mailto:therion@speleo.sk>>:
>>>  
>>> Hello, 
>>> is there a possibility in Therion to get a signature for an area „filled“, 
>>> „refilled“ or something similar? Background is, we have dug in a cave and 
>>> by digging we have filled a small chamber. 
>>> Greatings
>>> Markus
>>>  
>>>  
>>> ___
>>> 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>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-13 Thread Bruce Mutton via Therion
Markus is looking for the code for this particular user defined symbol I think.

 

From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Martin Sluka via 
Therion
Sent: Thursday, 14 September 2017 7:22 AM
To: List for Therion users 
Cc: Martin Sluka 
Subject: Re: [Therion] Area "filled"

 

Please, what it means "fill in part“?

 

They are user defined symbols.

 

Martin

 

13. 9. 2017 v 14:35, Markus Boldt via Therion mailto:therion@speleo.sk> >:

 

Yes Martin, that`s it. But how get I now the box “fill in Part” with this nice 
color in the Legend and how do I tell the drawing that this area is a “fill in 
part”? 

Markus

 

Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Martin Sluka via 
Therion
Gesendet: Mittwoch, 13. September 2017 09:43
An: List for Therion users
Cc: Martin Sluka
Betreff: Re: [Therion] Area "filled"

 

Check this link, it is exactly what you want, I think:

 

 <http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf> 
http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf

 

m.s.

 

 

13. 9. 2017 v 9:25, Markus Boldt via Therion < <mailto:therion@speleo.sk> 
therion@speleo.sk>:

 

Hello, 

is there a possibility in Therion to get a signature for an area „filled“, 
„refilled“ or something similar? Background is, we have dug in a cave and by 
digging we have filled a small chamber. 

Greatings

Markus

 

 

___
Therion mailing list
 <mailto:Therion@speleo.sk> 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

 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-13 Thread Martin Sluka via Therion
Please, what it means "fill in part“?

They are user defined symbols.

Martin

> 13. 9. 2017 v 14:35, Markus Boldt via Therion :
> 
> Yes Martin, that`s it. But how get I now the box “fill in Part” with this 
> nice color in the Legend and how do I tell the drawing that this area is a 
> “fill in part”? 
> Markus
>  
> Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Martin Sluka 
> via Therion
> Gesendet: Mittwoch, 13. September 2017 09:43
> An: List for Therion users
> Cc: Martin Sluka
> Betreff: Re: [Therion] Area "filled"
>  
> Check this link, it is exactly what you want, I think:
>  
> http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf 
> <http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf>
>  
> m.s.
>  
>  
>> 13. 9. 2017 v 9:25, Markus Boldt via Therion > <mailto:therion@speleo.sk>>:
>>  
>> Hello, 
>> is there a possibility in Therion to get a signature for an area „filled“, 
>> „refilled“ or something similar? Background is, we have dug in a cave and by 
>> digging we have filled a small chamber. 
>> Greatings
>> Markus
>>  
>>  
>> ___
>> 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

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled"

2017-09-13 Thread Markus Boldt via Therion
Yes Martin, that`s it. But how get I now the box “fill in Part” with this nice 
color in the Legend and how do I tell the drawing that this area is a “fill in 
part”? 

Markus

 

Von: Therion [mailto:therion-boun...@speleo.sk] Im Auftrag von Martin Sluka via 
Therion
Gesendet: Mittwoch, 13. September 2017 09:43
An: List for Therion users
Cc: Martin Sluka
Betreff: Re: [Therion] Area "filled"

 

Check this link, it is exactly what you want, I think:

 

http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf

 

m.s.

 

 

13. 9. 2017 v 9:25, Markus Boldt via Therion :

 

Hello, 

is there a possibility in Therion to get a signature for an area „filled“, 
„refilled“ or something similar? Background is, we have dug in a cave and by 
digging we have filled a small chamber. 

Greatings

Markus

 

 

___
Therion mailing list
 <mailto:Therion@speleo.sk> 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


Re: [Therion] Area "filled"

2017-09-13 Thread Martin Sluka via Therion
Check this link, it is exactly what you want, I think:

http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf 


m.s.


> 13. 9. 2017 v 9:25, Markus Boldt via Therion :
> 
> Hello, 
> is there a possibility in Therion to get a signature for an area „filled“, 
> „refilled“ or something similar? Background is, we have dug in a cave and by 
> digging we have filled a small chamber. 
> Greatings
> Markus
>  
>  
> ___
> 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] Area "filled"

2017-09-13 Thread Markus Boldt via Therion
Hello, 

is there a possibility in Therion to get a signature for an area "filled",
"refilled" or something similar? Background is, we have dug in a cave and by
digging we have filled a small chamber. 

Greatings

Markus

 

 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion