[mkgmap-dev] Holes in the Sea
From RheinSkipper rheinskipper1000 at gmx.de on Fri Feb 17 16:14:53 GMT 2012
Hello again! I tried to follow all the hints, I got here. But I still cannot do proper sea generation. So I provide as much information as I can, to track down the problem. First I cut out a rectangular part from the osm file. I did not use the planet as source but the Europe extract from Geofabrik for time saving. It shouldn´t make any difference as my cutout is somewhere in the middle of the Geofabrik extract. I use the following command for this: set read=--read-pbf D:\OSM\Geofabrik\europe.osm.pbf set write=--write-pbf D:\OSM\planet\europe.osm.pbf set bbox=--bounding-box left=-0.4 right=11.3 bottom=39 top=45.4 D:\osm\osmosis\bin\osmosis.bat %read% %bbox% completeRelations=yes --tf accept-relations type=boundary,multipolygon --used-way --used-node outPipe.0=MP %read% %bbox% --tf reject-relations type=boundary,multipolygon outPipe.0=bbox --merge inPipe.0=MP inPipe.1=bbox %write% Then I run the splitter with --no-trim and overlap options: java -Xmx3000M -jar splitter\splitter.jar --max-nodes=500000 --no-trim --overlap=10000 --resolution=15 --geonames-file=cities15000.zip --output-dir=tiles planet\europe.osm.pbf 2>err1.txt After this, I make the map: cd img java -Xmx3000m -enableassertions -jar ..\mkgmap\mkgmap.jar -c ..\mkgmap_settings.txt -c ..\tiles\template.args 2>..\err2.txt cd .. And this is my mkgmap_settings.txt: style-file=..\styles style=marine_mode family-name=OSM_Marine series-name=OSM_Marine overview-mapname=OSM_Marine latin1 remove-short-arcs merge-lines reduce-point-density-polygon=4 reduce-point-density=5.4 lower-case add-pois-to-areas #coastlinefile=..\coastlines_europe.osm.pbf generate-sea=multipolygon,extend-sea-sectors,close-gaps=6000 name-tag-list='name,name:de,name:latin,name:en' #index tdbfile nsis The error file is attached. I understand that those ExtTypeAttributes errors come from unfinished code for the seamarks. I do not understand why I get the MapSplitter errors, as I already use very low max-nodes to save memory. And there are still those Polyline errors resulting from sea generation, even on the rectangular cutout. Also attached is a screenshot of those terrible holes in the sea. Everything is running under Win 7 x64 with 4 GB memory. (I know, you´d prefer Linux, but I don´t have a Linux system running.) If it´s a memory issue, which options can I modify to save memory? http://wiki.openstreetmap.org/wiki/User:RheinSkipper -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120217/08d54aa8/attachment.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: err2.txt Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120217/08d54aa8/attachment.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: sea.JPG Type: image/jpeg Size: 105936 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120217/08d54aa8/attachment.jpe
- Previous message: [mkgmap-dev] generate-sea:polygons broken between mkgmap r2160 and r2168
- Next message: [mkgmap-dev] Holes in the Sea
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list