logo separator

[mkgmap-dev] Problems with SeaGenerator

From Thorsten Kukuk kukuk at suse.de on Thu Oct 14 16:09:58 BST 2021

Hi Gerd,

On Thu, Oct 14, Gerd Petermann wrote:

> Hi Thorsten,
> 
> seems you missed the changes in r4689?
> See https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4689

I either I missed oder I forgot that, as it did not create problems until yet...

And it looks like you cannot disable the check if you build the precomp sea
data...

> reg. compile: I think these hints are still correct:
> https://wiki.openstreetmap.org/wiki/Mkgmap/help/options#generating_precompiled_sea_yourself

That's what I'm always doing.

> I use open jdk (from AdoptOpenJDK) to build. openjdk version "1.8.0_272" and mkgmap works fine with it.

I used our own openjdk-1.8.0.302 this morning, but the error is not new, 
I was never able to build a map successfull with openjdk. Most of the time 
you get errors in some Sun classes, but I don't remember the exact error 
messages anymore.
So I need openjdk-1.8 to build mkgmap, Oracle/Sun jre-1.8 to build the maps
and openjdk >= 11 to run josm and other java tools.
It's getting complicated ;)

> I'll try to download latest data from https://osmdata.openstreetmap.de/data/land-polygons.html to check if the index file
> sea-check.txt needs to be changed or what else is wrong.

I did build now a map of the UK and UK is flooded (but not Ireland or the
rest of Europe). So if mkgmap doesn't do something wrong there is a problem
with the OSM data the coastline checkers haven't found yet...

  Thorsten

> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk at suse.de>
> Gesendet: Donnerstag, 14. Oktober 2021 16:26
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: [mkgmap-dev] Problems with SeaGenerator
> 
> 
> Hi,
> 
> Some users reported problems with my sea data, they get error messages
> since about a week like:
> Precomp sea data seems to be wrong, land-only tile is flooded around 57.304688,-3.164063, index key is 2654208_-163840
> 
> All coordinates are in Great Britain, and this error and build aborts
> also happens if the data they try to compile is far outside the UK and
> does not contain it.
> 
> Since I don't get that with my one year old mkgmap version, I run into
> the first challange: building the current mkgmap version with SeaGenerator
> enabled...
> Is there any chance to update mkgmap and all dependencies to use a newer
> java version?
> I need openjdk-1.8 to build mkgmap and Oracle jre-1.8 to run it...
> mkgmap will not work with openjdk-1.8 and it looks like Oracle does not
> really provide a jdk-1.8 anymore...
> 
> Now with mkgmap r4808 I get the same errors already when generating the
> precomp sea data. But I cannot find any problems with tje OSM data: no
> coastline checker reports any problems in the UK area...
> 
> Any idea how to solve this correct?
> 
>   Thanks,
>     Thorsten
> 
> --
> Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
> SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
> Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg)
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-- 
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg)


More information about the mkgmap-dev mailing list