
On 14.11.2010 15:16, Danny Backx wrote:
Hi,
I've been using splitter to cut European country files into pieces that RoadMap will cope with. The country files are from GeoFabrik (http://download.geofabrik.de/osm/europe), RoadMap is at http://sourceforge.net/projects/roadmap .
This works very well except for a few cases in which some of the pieces don't appear to get any smaller when I decrease max-nodes.
An example http://danny.backx.info/download/roadmap/iso-nl-259.osm.gz has been created by java -jar splitter-r123/splitter.jar --mapid=001 --max-nodes=10000 netherlands-2010.11.13.osm .
Inspection of the files created (only some shown) reveals variation in their size : -rw-rw-r-- 1 danny danny 3157377 2010-11-14 11:11 iso-nl-001.osm.gz -rw-rw-r-- 1 danny danny 1618173 2010-11-14 11:11 iso-nl-002.osm.gz -rw-rw-r-- 1 danny danny 926847 2010-11-14 11:11 iso-nl-003.osm.gz -rw-rw-r-- 1 danny danny 3367783 2010-11-14 11:11 iso-nl-004.osm.gz -rw-rw-r-- 1 danny danny 2808994 2010-11-14 11:11 iso-nl-005.osm.gz -rw-rw-r-- 1 danny danny 2907610 2010-11-14 11:11 iso-nl-006.osm.gz -rw-rw-r-- 1 danny danny 6003918 2010-11-14 11:11 iso-nl-007.osm.gz -rw-rw-r-- 1 danny danny 2919463 2010-11-14 11:11 iso-nl-008.osm.gz -rw-rw-r-- 1 danny danny 3121867 2010-11-14 11:11 iso-nl-009.osm.gz -rw-rw-r-- 1 danny danny 2277160 2010-11-14 11:11 iso-nl-010.osm.gz -rw-rw-r-- 1 danny danny 391572 2010-11-14 11:11 iso-nl-011.osm.gz -rw-rw-r-- 1 danny danny 2073021 2010-11-14 11:11 iso-nl-012.osm.gz -rw-rw-r-- 1 danny danny 14619554 2010-11-14 11:18 iso-nl-259.osm.gz
Is there anything I can do to deal with this ?
Danny Decrease more. The splitter only splits files if they are over the maxnodes value, so until they reach that point, they stay identical (only by reducing by 50% you will be sure, that all tiles are smaller )