[mkgmap-dev] Precomp-sea (to Ticker)
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Dec 18 09:39:38 GMT 2019
Hi David With option --add-pois-to-area, for all polygons a point is determined wich is then fed through the style 'points' rules with the additional tag mkgmap:area2poi=true. It is then up to the 'points' rules to decide what to do. The determination of the location of the points is described in the mkgmap help (mkgmap-rXXXX/doc/options.txt) So, if OSM defines a bay with a polygon, the area can be rendered with the 'polygon' rule: natural=bay & name=* [0x3d resolution 18] and, if --add-pois-to-area, a 'point' rule such as: natural=bay [0x6503 resolution 18] This rule doesn't exist in the default style, but it might to soon. If OSM defines the bay as a point, only the 'points' rule is triggered and this is regardless of the --add-pois-to-area option. Ticker On Tue, 2019-12-17 at 20:07 +0100, David wrote: > Hi, > The option « add-pois-to-areas » adds a POI to every polygons. I did > not understand well the documentation about how to select which > polygons are affected. Wouldn’t it be possible to replace selected > polygons by a POI placed at its barycentric point with a rule in a > style file ? (We can already use a polygon as a line) > Last remark, some bays are described in OSM with a POI and Garmin > format defines the corresponding symbol (0x6503). > > David > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Precomp-sea (to Ticker)
- Next message: [mkgmap-dev] Commit r4398: revert changes from r4397 (--is-in-landuse option)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list