[mkgmap-dev] Splitter question
From Danny Backx danny.backx at scarlet.be on Sun Nov 21 19:04:23 GMT 2010
I've taken some time and played with the suggestions given. I'm including two scripts. One (doit.nl) is a sample script to split the OSM file for the Netherlands into manageable pieces, and then to convert the OSM files into RoadMap format. This mostly works : - I get 339 map files - 9 maps turn out to be too big still for RoadMap So I created another script (deeper.nl, used in a subdirectory, you'll notice that in the script) that'll take the files I put in the subdirectory, and divide them in four smaller chunks. I used deeper.nl and still had problems with 3 of the smaller chunks so I reran deeper.nl one more time, producing maps that were (again) four times smaller than the offending OSM files. This worked. So the 8GB netherlands.osm file got converted into some 380 RoadMap map files, totalling about 1.6GB. I realize that I'm working around something splitter is leaving unsolved, and I'm partially automating this, my question is whether all this is a good idea. Danny On Tue, 2010-11-16 at 10:37 -0800, aighes wrote: > You should tell java, how much ram splitter can use. > > example: > java -Xmx1024M -jar splitter-r123/splitter.jar --mapid=400 --max-nodes=1000 > --resolution=15 iso-nl-259.osm > > max-nodes higher than 100000 shouldn't be a problem. I'm using 1350000. > > aighes -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info -------------- next part -------------- A non-text attachment was scrubbed... Name: doit.nl Type: application/x-csh Size: 2016 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20101121/d6c28e20/attachment.csh -------------- next part -------------- A non-text attachment was scrubbed... Name: deeper.nl Type: application/x-csh Size: 2308 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20101121/d6c28e20/attachment-0001.csh
- Previous message: [mkgmap-dev] Splitter question
- Next message: [mkgmap-dev] Splitter question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list