Implications of mkgmap style processor bug

Will this be handled correctly or not (points file)? amenity=toilet {set amenity=toilets} amenity=toilets {set name='toilets ${name}'|'toilets'} [0x10903 resolution 24 continue] for amenity=toilet? or will only be original amenity=toilets be output? I really don't fully understand the implications of the style bug. What about the following highway=path & incline=-15 [set downhill=yes} downhill=yes [ 0x10XXX resolution 24 continue] or would I need highway=* & downhill=yes [ 0x10XXX resolution 24 continue] - to make sure that the line is correctly treated. -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

On 16/10/13 13:01, Felix Hartmann wrote:
Will this be handled correctly or not (points file)? amenity=toilet {set amenity=toilets} amenity=toilets {set name='toilets ${name}'|'toilets'} [0x10903 resolution 24 continue]
That should work fine, it is only tag=* that is affected. The following would fail assuming toilets= is not a proper tag. amenity=toilet {set toilets=yes} toilets=* {set name='toilets ${name}'|'toilets'} [0x10903 resolution 24 continue] I will fix it, but we need to get some tests working again first. ..Steve

On 16.10.2013 14:16, Steve Ratcliffe wrote:
On 16/10/13 13:01, Felix Hartmann wrote:
Will this be handled correctly or not (points file)? amenity=toilet {set amenity=toilets} amenity=toilets {set name='toilets ${name}'|'toilets'} [0x10903 resolution 24 continue]
That should work fine, it is only tag=* that is affected.
The following would fail assuming toilets= is not a proper tag.
amenity=toilet {set toilets=yes} toilets=* {set name='toilets ${name}'|'toilets'} [0x10903 resolution 24 continue]
I will fix it, but we need to get some tests working again first.
..Steve okay, what about if something was set via relations file? Will it be affected by the bug too?
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

I think I have seen something similar. In the lines file I have this rule to mark toll roads for cyclists: highway=* & toll=yes & bicycle!=no & service!=parking_aisle & toll:bicycle!=no {set tollroad=yes} And in the pois file I'd like to mark those tollroad=yes for cyclist with a poi but this didnt work as expected: highway=* & tollroad=yes & mkgmap:line2poitype=mid {delete 'name'; delete 'ref';} [0x2811 resolution 24] Only this worked: highway=* & toll=yes & bicycle!=no & service!=parking_aisle & toll:bicycle!=no & mkgmap:line2poitype=mid {delete 'name'; delete 'ref';} [0x2811 resolution 24]
participants (3)
-
Felix Hartmann
-
Minko
-
Steve Ratcliffe