logo separator

[mkgmap-dev] Fix Sea Patch

From Mike Baggaley mike at tvage.co.uk on Sat Jan 2 17:52:54 GMT 2021

Hi Gerd,

It was removed in revision 4470. Prior to then 'anti-islands' surrounded by
water were always converted to islands (there was no option as to whether
this happened).

Cheers,
Mike

-----Original Message-----
From: Gerd Petermann [mailto:gpetermann_muenchen at hotmail.com] 
Sent: 02 January 2021 10:32
To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
Subject: Re: [mkgmap-dev] Fix Sea Patch

Hi Mike,

> This was removed some time ago because it didn't work properly
Do you have a version number where this happened? I only know the
floodblocker option which is still evaluated in the source.

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike
Baggaley <mike at tvage.co.uk>
Gesendet: Donnerstag, 31. Dezember 2020 16:17
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Fix Sea Patch

Hi Gerd,

Mkgmap used to contain some code that attempted to correct incorrect sea and
land data where polygons were ordered in the wrong direction. This was
removed some time ago because it didn't work properly. I have put together
the attached patch that works much better and have been using it for some
time. With the sea data that I use, which contains quite a large number of
incorrectly ordered polygons, it manages to correct every error it finds. It
won't be able to fix really gross errors, but providing most of the data is
correct it will produce good results.

Please review and commit if happy.

Cheers,
Mike




More information about the mkgmap-dev mailing list