On Fri, May 7, 2010 at 11:55 AM, Minko <ligfiet...@online.nl> wrote:

> For instance, I would like to add a statement in the points style file like
> addr:city which looksup the correct city name from the polygons style file,
> if a poi that lies within a polygon with the tags place=city/town/village (or 
> boundary=city/..)
> or even landuse=residential (with a name). Or maybe even from multipolygons 
> created
> from administrative boundaries (like municipalities)?

I can't add too much here, but I think it is worth mentioning that, as
I understand it, the algorithm for determining if a point lies within
a polygon can be quite performance intensive:

  http://en.wikipedia.org/wiki/Point_in_polygon

There are of course libraries for dealing with this problem, but I
still think the performance question is still significant.

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

Reply via email to