logo separator

[mkgmap-dev] Problems with generate-sea

From Markus markusg at adam.com.au on Thu Feb 16 10:09:03 GMT 2012

Hi,

You could also try adding a --overlap= to the splitter.

I use a --overlap=40000 as this has fixed sea problems for me in the past. I
don't think it needs to be as high as 40000 though but it works for me. You
could try 5000 then 10000 etc.

Regards, 

Markus_g

-----Original Message-----
From: mkgmap-dev-bounces at lists.mkgmap.org.uk
[mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk] On Behalf Of RheinSkipper
Sent: Thursday, 16 February 2012 8:35 AM
To: 'Development list for mkgmap'
Subject: Re: [mkgmap-dev] Problems with generate-sea

> >> to avoid these holes, you should use --no-trim if you split your
> >> europe-file with splitter.jar.
> > > From my own experience: you should not use --no-trim for sea tiles.
> > Reason: since there are only very few nodes in the sea, the tiles can
> > become very big and mkgmap will fail to generate a img from it.
> Maybe it  could happen, if there is very much sea in a tile. This is my
largest
> sea-tile: 2772992,-1259520 to 3336192,71680 (Garmin-units) and it works
> without problems. Maybe it depends on memory.
> 
> So there are two solutions: generate it with --no-trim and manually tweak
in
> area.list some tiles or tweak many sea-tiles with holes. I would prefer
the
> first one ;-)
> 
> Henning
> 
> 
> 

Thank you for your help.

With the --no-trim option there are no holes in the black sea or in the
Baltic anymore. But I have still some holes in the Mediterranean and in the
Atlantic.

There are still about 20.000 lines of severe errors resulting from sea
generation similar to this:

SCHWERWIEGEND (Polyline): ..\tiles\63240821.osm.pbf: Problem writing line
(class uk.me.parabola.imgfmt.app.trergn.Polygon) of type 0x4a containing 93
points and starting at
http://www.openstreetmap.org/?mlat=68.19019&mlon=16.44808&zoom=17
SCHWERWIEGEND (Polyline): ..\tiles\63240821.osm.pbf:   Subdivision shift is
0 and its centre is at
http://www.openstreetmap.org/?mlat=69.30766&mlon=20.07829&zoom=17
SCHWERWIEGEND (Polyline): ..\tiles\63240821.osm.pbf:   deltaLat = -52078

I do not know how to "tweak the area.list". Can you tell me what to do
exactly.

Here is how I run the splitter:

java -Xmx2800M -jar splitter\splitter.jar --max-nodes=700000 --no-trim
--resolution=15 --geonames-file=cities15000.zip --output-dir=tiles
Geofabrik\europe.osm.pbf 2>err1.txt

---
http://wiki.openstreetmap.org/wiki/User:RheinSkipper




More information about the mkgmap-dev mailing list