logo separator

[mkgmap-dev] pois and wrong citynames

From Clinton Gladstone clinton.gladstone at googlemail.com on Fri May 7 11:26:39 BST 2010

On Fri, May 7, 2010 at 11:55 AM, Minko <ligfietser at 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.



More information about the mkgmap-dev mailing list