logo separator

[mkgmap-dev] amenity and shop tags on lines

From Jakob Mühldorfer mail at jmuehldorfer.de on Mon Feb 8 11:31:11 GMT 2016

Thank you for the response Gerd, exactly what I have been looking for.

Am 08.02.2016 um 09:02 schrieb Gerd Petermann:
> Hi Jakob,
>
> mkgmap has options to generate points for these options. The help contains this:
>
> --add-pois-to-lines
> 	Generate POIs for lines. For each line (must not be closed) POIs are
> 	created at several points of the line. Each POI is tagged with the
> 	same tags like the line and additional tags added by mkgmap:
> 	mkgmap:line2poi=true and tag mkgmap:line2poitype having
> 	the following values:
> 	   * start  - The first point of the line
> 	   * end    - The last point of the line
> 	   * inner  - Each point of the line except the first and the last
> 	   * mid    - The middle point
>
> --add-pois-to-areas
> 	Generate a POI for each polygon and multipolygon. The POIs are created
> 	after the relation style but before the other styles are applied. Each
> 	POI is tagged with the same tags of
> 	the area/multipolygon. Additionally the tag mkgmap:area2poi=true is
> 	set so that it is possible to use that information in the points style
> 	file. Artifical polygons created by multipolyon processing are not used.
> 	The POIs are created at the following positions (first rule that applies):
> 	   polygons:
> 	       * the first node tagged with a tag defined by the pois-to-areas-placement
> 	         option
> 	       * the centre point
> 	   multipolygons:
> 	       * the node with role=label
> 	       * the centre point of the biggest area
>
>
> OK?
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Jakob Mühldorfer <mail at jmuehldorfer.de>
> Gesendet: Montag, 8. Februar 2016 04:36
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: [mkgmap-dev] amenity and shop tags on lines
>
> Hi,
>
> I just noticed the default style drops stuff like "tourism" and "shop"
> and "amenity", when it is tagged on a line, like a building.
> Is there a style that converts these to proper POI, or a
> tutorial/example, how it is done.
>
> Best Regards
> Jakob
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> 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