Thanks Gerd, works as expected now!

I have adapted the rule in my polygon style:

highway=* & (area=yes | mkgmap:mp_created=true) [0x0e resolution 23]


Something like this could also be done for the default style (polygon):


# squares and plazas
highway=pedestrian & (area=yes | mkgmap:mp_created=true) [0x17 resolution 22]
# other highways that have area=yes set must be parking lots
highway=* & (area=yes | mkgmap:mp_created=true) [0x05 resolution 22]



________________________________
Van: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> namens Gerd Petermann 
<gpetermann_muenc...@hotmail.com>
Verzonden: zaterdag 7 januari 2017 04:32:52
Aan: Development list for mkgmap
Onderwerp: Re: [mkgmap-dev] multipolygon highway areas (like pedestrian)

See also this older thread:
http://gis.19327.n8.nabble.com/problem-with-highways-as-multipolygons-td5843801.html#a5843867

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Gerd 
Petermann <gpetermann_muenc...@hotmail.com>
Gesendet: Samstag, 7. Januar 2017 13:18:10
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] multipolygon highway areas (like pedestrian)

I think you can check mkgmap:mp_created in the lines file.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von lig 
fietser <ligfiet...@hotmail.com>
Gesendet: Samstag, 7. Januar 2017 12:07:56
An: mkgmap-dev
Betreff: [mkgmap-dev] multipolygon highway areas (like pedestrian)

Hi,

I have noticed mkgmap does not recognize multipolygon pedestrian areas that are 
tagged without area=yes as polygons.

Example: http://overpass-turbo.eu/s/l6k

Area=yes is I think not needed if it is a mulitpoygon, so I want to add this in 
my style (or maybe mkgmap should automatically recognize this) but how? I cant 
figure this out.


I have tried to add this rule in the relation style file:

type=multipolygon & highway=*
{ apply
  {
    set area=yes
  }
}


But this does not work, pedestrian highways are still rendered as line and not 
as area. Also a rule like highway=* & (type=multipolygon|area=yes) in my 
polygon style does not work. Any ideas?



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to