logo separator

[mkgmap-dev] Bay polygons points conversion

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Dec 20 06:16:23 GMT 2019

Hi David,

why do need the if/else part?
My understanding was it should be enough to have something like
natural=bay & name=* [...]
in points.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von David <david.tlp at orange.fr>
Gesendet: Donnerstag, 19. Dezember 2019 23:40
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Bay polygons points conversion

Hi there,

Finally, I found a way to replace bay polygons by points :
- use the add-pois-to-areas option
- comment/remove the rule for bay in polygons style file
- in pounts style file, add an « if then else end » statement to create a point of the kind you want only for elements with tag mkgmap:poi2area=true and put all the existing points rules in the « else » part.

There is no need to change anything in mkgmap.

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


More information about the mkgmap-dev mailing list