Hello WanMil,

WanMil wrote
> 
> The reason is that the boundaries are not complete. Complete in two 
> meanings:
> 1. Some boundaries are missing due to incomplete OSM data
> 2. In some areas there might be a boundary with admin_level=7, other 
> areas do not have that admin_level. The LocationHook cannot know about 
> that and therefore it can remove elements only if they contain all 
> remaining tags.
> 

ahh, incomplete data always makes things that much more complicated :-(

I also just got to that admin_level=7. In "Saarland",  one of my test cases,
I see 
"Verbandsgemeinde Waldmohr"
http://www.openstreetmap.org/browse/relation/897709
which is the only boundary that has admin_level=7. The interesting thing is:
the returned result-list for this boundary is always empty. So, maybe there
is a cheaper way to detect this first or does it means that there is a bug
in quadtree or the selection of the boundaries?

Gerd





--
View this message in context: 
http://gis.638310.n2.nabble.com/PATCH-v1-LocationHook-speedup-tp7135704p7140096.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to