On 18.01.2010 00:53, Mark Burton wrote:
Hi Felix,

I just tried out this patch on Italy from geofabrik (on trunk plus
wanmil's mp patch v3) and it was the first time for me that I got a
correct sea generation (using
--generate-sea=polygons,no-sea-sectors,extend-sea-sectors),

(well the sea was empty so I had to color 0x4b blue in my style-file,
but land was correct, however that is a problem still related to
wanmil's mp patch v3.)

Ups, just noticed that that once I zoom in to closer than 3km in Italy everything is flooded (in Denmark there is no problem) as 0x10100 is not set on resolution 24-20 (only 17-19) ( when using --generate-sea=polygons,no-sea-sectors,extend-sea-sectors option and then setting 0x4b to blue.

So the bug you discovered here (in WanMil's patch v3) cannot safely be circumvented by using a clever TYPFile. On the other hand if I use --generate-sea=no-sea-sectors,extend-sea-sectors then I miss most of the sea in Italy (only Sicilly tile has sea).

I'll try right now with only --generate-sea=extend-sea-sectors. Using the =polygon switch it is clear that mkgmap does know 100% where there is sea and where not. I simply don't understand why 0x10100 is not set below 3km in Italy...

I then tried it on Denmark (which previous to this patch posed problems)
and it was working mint too.
That's good.

BTW, does mapsource for you draw lines at the tile boundaries which get
covered up by the land/sea polygons? I'm getting them now but I haven't
a clue where they are coming from.
They are allways present. I just haven't got a clue why since a few versions (can't really say which one), the are covered up by polygons. Before and with "original" Garmin maps they are not covered up (at least not when zoomed far out, they disappear once you zoom in). There are even Mapsource or Basecamp versions (I'm not sure current or historic) where there is an option to switch them off. They are there to help you pick the tiles you want to have (needed if maps have 0x4b set in TYP-file because then you can't always see the tile being highlighted if selected (to be sent to the GPS)).
The color of these lines actually depends on 0x4b color.....
Also, I posted a little patch the other day that frigged the overview
map rounding so that it makes mapsource mouse popup balloons right up
to either side of the tile boundaries (without the patch, it only pops
up a balloon on one side of the boundary). Do you see that problem on
your maps?
I cannot relate the above. Do you mean this patch:

/This patch stops the DP filter from discarding points at either end of
a horizontal or vertical line segment (such segments are created by the
clipper and also by the polygon splitter and, of course, could occur
naturally in the OSM data but I'd guess they are relatively rare)./

.....



Mark
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to