logo separator

[mkgmap-dev] precompiled sea

From Mike Baggaley mike at tvage.co.uk on Wed Jan 29 23:24:12 GMT 2020

Hi Gerd, having now read your link on generating sea yourself, I gather that
mkgmap cannot produce precompiled sea from OSM files, only from ESRI files.
I also wasn't aware that optional code had to be included to use the sea
generator. I could include the optional code in my mkgmap build, but it
looks like using precompiled sea is a non-starter for me if it can't read
OSM data. The original source of my land/sea border was ESRI, but this data
has gone through a filtering process and been converted to OSM format.

I had assumed that the precompiled sea tiles were in img format, but from
opening the precompiled sea zip file from the download page, I see the files
are pbf, suggesting that 'precompiled' is something of a misnomer if they
are just OSM files. I assume it refers to converting from ESRI to OSM, which
I don't need, as it looks like it is doing something pretty similar to what
I already have.

Ah well, back to the drawing board...

Cheers,
Mike

-----Original Message-----
From: Gerd Petermann [mailto:gpetermann_muenchen at hotmail.com] 
Sent: 29 January 2020 20:12
To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
Subject: Re: [mkgmap-dev] precompiled sea

Hi Mike,

if you want to compile your own  sea.zip see
https://wiki.openstreetmap.org/wiki/Mkgmap/help/options#Using_precompiled_se
a

If you want to create a map similar to that created with
java -jar mkgmap.jar  --generate-sea=multipolygon
--style-file=styles\coastline -c template.args
you have to use something like
java -jar mkgmap.jar --precomp-sea=\osm\sea.zip
--style-file=styles\coastline -c template.args

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd
Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Mittwoch, 29. Januar 2020 20:22
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] precompiled sea

Hi Mike,

not sure what you are trying to do. What do you expect to get with the last
command?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike
Baggaley <mike at tvage.co.uk>
Gesendet: Mittwoch, 29. Januar 2020 19:20
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] precompiled sea

Hi, I have not used precomp sea before and am struggling to compile the sea
tiles. Using the following process I get a map with no sea:

Used osmfilter to extract just the coastline data
Used splitter on the coastline data
Used mkgmap on the splitter data with a simple style that just processes
coastline and with --generate-sea=multipolygon. I can see some img files
created in my sea folder
Used splitter again on the original data
Used mkgmap again with --precomp-sea and --generate-sea=multipolygon

Am I doing something wrong?

Regards,
Mike

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




More information about the mkgmap-dev mailing list