logo separator

[mkgmap-dev] [PATCH v1] Reimplementation of add-pois-to-areas option

From WanMil wmgcnfg at web.de on Tue Oct 4 21:47:25 BST 2011

I have uploaded a mkgmap.jar r2045+patch for easier testing purposes.

WanMil

> The patch realizes the reimplementation of the add-pois-to-areas option
> as discussed in thread
> http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2011q3/012391.html
>
> Some notes:
> * Each POI created by the new Area2POIHook is tagged with
> mkgmap:area2poi=true
> * For each multipolygon one POI is created at the center of the largest
> polygon (largest = biggest covered area; size of inner polygons is
> subtracted). This means that the POI may be located outside the
> multipolygon area.
> * The old implementation contained some additional rules which have not
> been implemented in the new implementation. I wonder if they are really
> required:
> 1. Skip road name POIs
> => Probably you don't have a rule for that in your points file
> 2. Skip cities without name
> => I don't know. Maybe that check is relevant.
> 3. Skip areas which contains a POI with the same name
> => If you follow the rule "don't tag for renders" there should be an
> area OR a POI but not both.
>
> The patch is tested a little but if you are interested in you can help
> me by sending your opinion if it's a good replacement for the old
> implementation or what can be improved.
>
> Have fun!
> WanMil
>
>
> _______________________________________________
> 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