Hi
I found out that this is always the case if there are two or more
POIs with the same name in one city. Amsterdam has two POIs with
the same name: the city (place=city) and a hotel (tourism=hotel).
Apeldoorn had even three POIs. Needless to say, that you can find
with the City Navigator Europe V8 (yes, already quite some years old)
all POIs.
All POI names are de-duplicated so that there is only one per map and
region.
Not really sure what the point of that was as in almost all cases I
would expect that two POI's are different even if they have the same
name, unlike the situation with roads.
Attached patch removes this behaviour and allows all POIs to be found.
..Steve
Index: src/uk/me/parabola/imgfmt/app/mdr/Mdr11.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/uk/me/parabola/imgfmt/app/mdr/Mdr11.java (revision 2207)
+++ src/uk/me/parabola/imgfmt/app/mdr/Mdr11.java (revision )
@@ -62,10 +62,10 @@
// Since this is per-map, we do not have to compare names, just index numbers will do.
// Not totally sure that it is per-map however.
- if (poi.getMapIndex() == last.getMapIndex() && poi.getLblOffset() == last.getLblOffset()
- && poi.getRegionIndex() == last.getRegionIndex()) {
- continue;
- }
+ //if (poi.getMapIndex() == last.getMapIndex() && poi.getLblOffset() == last.getLblOffset()
+ // && poi.getRegionIndex() == last.getRegionIndex()) {
+ // continue;
+ //}
last = poi;
mdr10.addPoiType(poi);
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev