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

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@lists.mkgmap.org.uk> im Auftrag von David <david.tlp@orange.fr> Gesendet: Donnerstag, 19. Dezember 2019 23:40 An: mkgmap-dev@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
David
-
Gerd Petermann