
Now that the waters are displaying fine, with names, I am facing another problem: The names of islands are missing when using the default style. I do not see them even in the gmapsupp.img file. Here are two examples that I tried. The first one is very sparsely mapped, and the second one is very detailed: http://www.openstreetmap.org/browse/way/42942687 name=Karjamätäs, place=islet (role=inner in a multipolygon that has waterway=riverbank in role=outer) http://www.openstreetmap.org/browse/way/36911729 name=Seurasaari, place=island, natural=coastline (in the Baltic sea) There is a place=island in the points file but no place=island or place=islet in the polygons file. Would that help? What should the area name be set to? If a natural=coastline is converted to a sea multipolygon by the generate-sea code, should the natural=coastline island also be converted to a land multipolygon in role=outer and any areas on the island in role=inner, so that there would be no drawing conflict with areas on the island? Best regards, Marko

Now that the waters are displaying fine, with names, I am facing another problem: The names of islands are missing when using the default style. I do not see them even in the gmapsupp.img file.
Here are two examples that I tried. The first one is very sparsely mapped, and the second one is very detailed:
http://www.openstreetmap.org/browse/way/42942687 name=Karjamätäs, place=islet (role=inner in a multipolygon that has waterway=riverbank in role=outer)
http://www.openstreetmap.org/browse/way/36911729 name=Seurasaari, place=island, natural=coastline (in the Baltic sea)
There is a place=island in the points file but no place=island or place=islet in the polygons file. Would that help? What should the area name be set to?
If a natural=coastline is converted to a sea multipolygon by the generate-sea code, should the natural=coastline island also be converted to a land multipolygon in role=outer and any areas on the island in role=inner, so that there would be no drawing conflict with areas on the island?
Best regards,
Marko
Marko, first of all: you should not run mkgmap with the patch I created for you. I don't know for sure but this patch might have an impact on the tagging. If you have the same problems without the patch it might also be caused by the generate-sea code. Copying of names from original ways to the artificial multipolygon ways seems to be a bit inconsistent. Or in other words: I didn't understand some parts of the tag handling there :-) Maybe it's worthy having a look on it. WanMil

Hi WanMil,
first of all: you should not run mkgmap with the patch I created for you. I don't know for sure but this patch might have an impact on the tagging.
No worries, I reverted your patch before generating today's map. I just double-checked, and I did recompile mkgmap.jar too. So, your diagnostic patch for reporting the underlying way IDs for generated polygons was not playing any role in this.
If you have the same problems without the patch it might also be caused by the generate-sea code. Copying of names from original ways to the artificial multipolygon ways seems to be a bit inconsistent. Or in other words: I didn't understand some parts of the tag handling there :-)
Good point, but why would the Karjamätäs place=islet on the waterway=riverbank multipolygon in Tornio be unnamed? That was not handled by generate-sea. Or to pick a bigger island far away from any natural=coastline, Himalansaari on Saimaa: http://www.openstreetmap.org/browse/way/25581849 The name is missing from my gmapsupp.img. The island Himalansaari in the lake Saimaa is an interesting example, because it contains some lakes. Those lakes should be named neither Saimaa nor Himalansaari. They should be just unnamed if no name has been given to them (currently no name has been assigned to them in OSM, and they are unnamed in the gmapsupp.img according to QLandkarteGT).
Maybe it's worthy having a look on it.
Could you first have a look on the names in normal multipolygons? Would naming the islands require drawing the islands with named land polygons? Marko
participants (2)
-
Marko Mäkelä
-
WanMil