Re: [mkgmap-dev] one wish for creating a style

2010-08-25 Thread Christian H. Bruhn
Hi! >> set name '${name} ${ref}' >> set name '${name} ${anothertag}' >> name ${name} > OK, but can you use it in one line just for one rule like > 'amenity=postbox'? Just saw something in the All-In-One-Style: highway=emergency_access_point {add ref=''; add name=''; add operator=''; add emerge

Re: [mkgmap-dev] one wish for creating a style

2010-08-18 Thread Harri Suomalainen
On 08/18/2010 08:53 AM, Marko Mäkelä wrote: > On Wed, Aug 18, 2010 at 07:41:55AM +0300, Harri wrote: >> >Here's an example from my style how I use adding info multiple times: >> > >> ># append to name >> >highway=cycleway& surface=paved {set name='${name}+P'} >> >highway=cycleway& surface=unpav

Re: [mkgmap-dev] one wish for creating a style

2010-08-17 Thread Marko Mäkelä
On Wed, Aug 18, 2010 at 07:41:55AM +0300, Harri wrote: >Here's an example from my style how I use adding info multiple times: > ># append to name >highway=cycleway & surface=paved {set name='${name}+P'} >highway=cycleway & surface=unpaved {set name='${name}-P'} ># keep appending more >highway=cyc

Re: [mkgmap-dev] one wish for creating a style

2010-08-17 Thread Harri
On 08/17/2010 04:08 PM, Christian H. Bruhn wrote: >> set name '${name} ${rboxef}' >> set name '${name} ${anothertag}' >> name ${name} > > OK, but can you use it in one line just for one rule like > 'amenity=postbox'? Here's an example from my style how I use adding info multiple times: # append t

Re: [mkgmap-dev] one wish for creating a style

2010-08-17 Thread Christian H. Bruhn
Hi! > set name '${name} ${ref}' > set name '${name} ${anothertag}' > name ${name} OK, but can you use it in one line just for one rule like 'amenity=postbox'? Christian ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org

Re: [mkgmap-dev] one wish for creating a style

2010-08-15 Thread Marko Mäkelä
On Sun, Aug 15, 2010 at 09:06:31PM +0200, Christian H. Bruhn wrote: >According to [1] you have to add to following line >[1] http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules > >> {name '${name} (${ref})' | '${ref}' | '${name}'} > >if you want to name a street with 'ref' or 'name' or both.

Re: [mkgmap-dev] one wish for creating a style

2010-08-15 Thread Harri
On 08/15/2010 10:06 PM, Christian H. Bruhn wrote: >> {name '${name} (${ref})' | '${ref}' | '${name}'} > When you have 3 or more tags which could exist, the rule will be very > complicated. I use something like this: set name '${name} ${ref}' set name '${name} ${anothertag}' name ${name} Not the

[mkgmap-dev] one wish for creating a style

2010-08-15 Thread Christian H. Bruhn
Hi! According to [1] you have to add to following line > {name '${name} (${ref})' | '${ref}' | '${name}'} if you want to name a street with 'ref' or 'name' or both. When you have 3 or more tags which could exist, the rule will be very complicated. My wish is that i can give a list of tags and