
Hi, I have added the index like Gerd proposed. The number of files is now reduced by 90%. I have uploaded new precompiled files to http://www.navmaps.eu/wanmil/sea_20120331.zip WanMil

Hi WanMil, I don't know if you heard about it. Jochen Topf developed a tool called osmcoastline, which creates sea polygons very quickly from planetextract etc. http://www.mail-archive.com/dev@openstreetmap.org/msg16846.html Maybe you can integrate something from this? 20 minutes for hole planet sounds very nice. Henning

Hi WanMil, I don't know if you heard about it. Jochen Topf developed a tool called osmcoastline, which creates sea polygons very quickly from planetextract etc.
http://www.mail-archive.com/dev@openstreetmap.org/msg16846.html
Maybe you can integrate something from this? 20 minutes for hole planet sounds very nice.
Henning
Hi Henning, I downloaded the source code some time ago and tried to get it run. But there are so many dependencies that I trashed it. If anyone likes to get it run just do it and send me a link to the polygon files created with it. Maybe I can implement a converter to the new precompiled sea files. That should not be too tricky. WanMil

Hi WanMil, would it be possible to use these polygons for precompiled sea? http://openstreetmapdata.com/data/water-polygons Henning Am 17.05.2012 21:58, schrieb WanMil:
Hi WanMil, I don't know if you heard about it. Jochen Topf developed a tool called osmcoastline, which creates sea polygons very quickly from planetextract etc.
http://www.mail-archive.com/dev@openstreetmap.org/msg16846.html
Maybe you can integrate something from this? 20 minutes for hole planet sounds very nice.
Henning
Hi Henning,
I downloaded the source code some time ago and tried to get it run. But there are so many dependencies that I trashed it. If anyone likes to get it run just do it and send me a link to the polygon files created with it. Maybe I can implement a converter to the new precompiled sea files. That should not be too tricky.
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Henning, yes I think so. The only thing that has to be changed in the converter (I didn't post it yet) is that the shape file contains sea polygons and not land polygon. I am also not sure if all multipolygons have already been compiled to single pure polygons. But that should not be too hard to do. WanMil
Hi WanMil,
would it be possible to use these polygons for precompiled sea? http://openstreetmapdata.com/data/water-polygons
Henning
Am 17.05.2012 21:58, schrieb WanMil:
Hi WanMil, I don't know if you heard about it. Jochen Topf developed a tool called osmcoastline, which creates sea polygons very quickly from planetextract etc.
http://www.mail-archive.com/dev@openstreetmap.org/msg16846.html
Maybe you can integrate something from this? 20 minutes for hole planet sounds very nice.
Henning
Hi Henning,
I downloaded the source code some time ago and tried to get it run. But there are so many dependencies that I trashed it. If anyone likes to get it run just do it and send me a link to the polygon files created with it. Maybe I can implement a converter to the new precompiled sea files. That should not be too tricky.
WanMil _______________________________________________ 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

There are also land-polygons available: http://openstreetmapdata.com/data/land-polygons Henning Am 28.05.2012 21:24, schrieb WanMil:
Hi Henning,
yes I think so. The only thing that has to be changed in the converter (I didn't post it yet) is that the shape file contains sea polygons and not land polygon. I am also not sure if all multipolygons have already been compiled to single pure polygons. But that should not be too hard to do.
WanMil

I've used those and have uploaded the precompiled sea to http://www.navmaps.eu/wanmil/sea_20120531.zip (I haven't done any tests with it so try yourself ...) WanMil
There are also land-polygons available: http://openstreetmapdata.com/data/land-polygons
Henning
Am 28.05.2012 21:24, schrieb WanMil:
Hi Henning,
yes I think so. The only thing that has to be changed in the converter (I didn't post it yet) is that the shape file contains sea polygons and not land polygon. I am also not sure if all multipolygons have already been compiled to single pure polygons. But that should not be too hard to do.
WanMil
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I tried it and it seems to work quite perfect.
I've used those and have uploaded the precompiled sea to http://www.navmaps.eu/wanmil/sea_20120531.zip
(I haven't done any tests with it so try yourself ...)
WanMil

On May 17, 2012, at 21:27, WanMil wrote:
I have added the index like Gerd proposed. The number of files is now reduced by 90%.
I have uploaded new precompiled files to http://www.navmaps.eu/wanmil/sea_20120331.zip
Hi WanMil, I tried patch v4 and the new precompiled sea files on the Geofabrik extract of Europe. I got a lot of NPE errors such as below. Can I do anything to help? I've included an example from the logfile as well. It appears that src.getElementSaver().getWays() is null in the loadPrecompTile method. ---- Logfile example: 2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Load precompiled sea tiles 2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Started loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_163840.osm.pbf 2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Finished loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_163840.osm.pbf 2012/05/18 10:48:24 SEVERE (SeaGenerator): 23000001.osm.pbf: java.lang.NullPointerException 2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Started loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_196608.osm.pbf 2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Finished loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_196608.osm.pbf 2012/05/18 10:48:24 SEVERE (SeaGenerator): 23000001.osm.pbf: java.lang.NullPointerException ---- java.lang.NullPointerException at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.loadPrecompTile(SeaGenerator.java:342) at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.addPrecompSea(SeaGenerator.java:428) at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.end(SeaGenerator.java:562) at uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79) at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:68) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:210) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:207) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Cheers.
participants (4)
-
aighes
-
Clinton Gladstone
-
RheinSkipper
-
WanMil