logo separator

[mkgmap-dev] [PATCH v3] Multipolygon: Improved role handling

From Marko Mäkelä marko.makela at iki.fi on Thu Mar 18 19:25:19 GMT 2010

Hi WanMil,

> So we have to wait til tomorrow and then you can check if the  
> generate-sea code will generate a full valid sea area without any  
> flodding for finland? Wow, I hope that's working!

I just checked the islands in Tornio/Haparanda, with today's dump, and  
I did not notice any flooding there. So, the warning was just a  
"nuisance"; mkgmap guessed right when eliminating the error.

Actually, the flooding is already gone since last week when I added a  
Perl filter that would strip the incomplete natural=coastline islands  
from the Geofabrik dump and move the endpoints of the mainland  
natural=coastline to the rectangular area borders. Yes, the sea will  
look weird, but I think it is good, because then nobody will assume to  
find any islands outside the Finnish border. Actually, it could be even  
better to make the sea polygon follow the Finnish territorial waters,  
because the Geofabrik dump would be missing most islands outside the  
border. But I guess someone who would navigate with OSM on the Baltic  
would not produce the map from a country extract.

My original plan was to download some coastlines separately and glue  
those to the Geofabrik dump with osmosis. But apparently it did not  
work as I expected, because generate-sea kept complaining. So I decided  
to do the Perl tweaking instead. It is much faster too. :-)

	Marko



More information about the mkgmap-dev mailing list