
Hi all, I found no real help file for splitter, but this page from Steve: tile splitter <http://www.mkgmap.org.uk/page/tile-splitter> I downloaded the source code and updated it for splitter r259: tile-splitter.htm <http://gis.19327.n5.nabble.com/file/n5740523/tile-splitter.htm> I hope that helps? Gerd -- View this message in context: http://gis.19327.n5.nabble.com/splitter-help-file-tp5740523.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Great Any possibility of adding a version check a la mkgmap? -- View this message in context: http://gis.19327.n5.nabble.com/splitter-help-file-tp5740523p5740524.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

wilpin wrote
Great Any possibility of adding a version check a la mkgmap?
I've committed r260 to make this work again. usage java -jar splitter.jar --version @Steve: Unfortunately, the scripts that build the snapshots are still not correctly filling the splitter-version.properties file. Content of splitter-version.properties in splitter-problem-list-r259.jar : #Sat Dec 15 18:10:51 GMT 2012 svn.version=unknown build.timestamp=2012-12-15T18\:10\:47+0000 Gerd -- View this message in context: http://gis.19327.n5.nabble.com/splitter-help-file-tp5740523p5740531.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

@Steve: Unfortunately, the scripts that build the snapshots are still not correctly filling the splitter-version.properties
Thats because it is built from a clean export of the code, and so there is no svn information there. Your build file no longer checks for the .svn directory and so overwrites the version files that is created by the build script. I've fixed this so that it now never tries to overwrite the file. ..Steve

Steve Ratcliffe wrote
@Steve: Unfortunately, the scripts that build the snapshots are still not correctly filling the splitter-version.properties
Thats because it is built from a clean export of the code, and so there is no svn information there. Your build file no longer checks for the .svn directory and so overwrites the version files that is created by the build script.
I've fixed this so that it now never tries to overwrite the file.
Thanks, Steve. I did not see that fact by just looking at the scripts ... Gerd -- View this message in context: http://gis.19327.n5.nabble.com/splitter-help-file-tp5740523p5740537.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Od: GerdP
I downloaded the source code and updated it for splitter r259:
<http://gis.19327.n5.nabble.com/file/n5740523/tile-splitter.htm>
Hi, I'm trying new splitter r260, but getting message --keep-complete=true is not recognised. $ java -ea -Xmx6144m -jar splitter-r260/splitter.jar --max-nodes=2500000 --no-trim --description=Finland --mapid=63240001 --output=pbf --keep-complete=true --overlap=0 finland.osm.pbf Invalid parameter(s): Parameter --keep-complete=true is not recognised, ignoring Usage: java [JAVA_OPTIONS] -jar splitter.jar [OPTIONS] input_file (*.osm or *.pbf) Options: --cache Deprecated, now does nothing --description A default description to give to each area. --geonames-file The name of a GeoNames file to use for determining tile names. Typically cities15000.zip from http://download.geonames.org/export/dump/ --legacy-mode Enables the old area subdivision algorithm in case of compatibility problems. This requires lots of memory! Deprecated, will be removed in a future version. --mapid The starting map ID. Default is 63240001. --max-areas The maximum number of areas to process in a single pass. More areas require more memory, but less time. Values: 1-2048. Default is 255. --max-nodes The maximum number of nodes permitted in each split area. Default is 1600000. --max-threads The maximum number of threads used by splitter. Default is auto. --mixed Specify this if the input osm file has nodes, ways and relations intermingled. --no-trim Don't trim empty space off the edges of tiles. --output The output type, either pbf or xml. Default is pbf. --output-dir The path to the output directory. Defaults to the current working directory. --overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map units. Default is 2000. --resolution The resolution of the overview map to be produced by mkgmap. Default is 13. --split-file The name of a file containing the areas definitions. Can be .list or .kml. Providing such a file will save processing time. --status-freq Displays the amount of memory used by the JVM every --status-freq seconds. Set =0 to disable. Default is 120. --write-kml The name of a kml file to write out the areas to. This is in addition to areas.list (which is always written out). ----------------------- I builded splitter jar this way: $ svn co http://svn.mkgmap.org.uk/splitter/trunk/ $ cd trunk/ $ ant And I used created directory "dist". What I am doing wrong? regards mira

Hello Mira, splitter r260 is not in trunk, but in the branch problem-list. You can download the jar file from here: http://www.mkgmap.org.uk/download/splitter.html Ciao, Gerd
From: mira.mikes@seznam.cz To: mkgmap-dev@lists.mkgmap.org.uk Date: Sat, 15 Dec 2012 23:45:53 +0100 Subject: Re: [mkgmap-dev] splitter help file
Od: GerdP
I downloaded the source code and updated it for splitter r259:
<http://gis.19327.n5.nabble.com/file/n5740523/tile-splitter.htm>
Hi,
I'm trying new splitter r260, but getting message --keep-complete=true is not recognised.
$ java -ea -Xmx6144m -jar splitter-r260/splitter.jar --max-nodes=2500000 --no-trim --description=Finland --mapid=63240001 --output=pbf --keep-complete=true --overlap=0 finland.osm.pbf
Invalid parameter(s): Parameter --keep-complete=true is not recognised, ignoring
Usage: java [JAVA_OPTIONS] -jar splitter.jar [OPTIONS] input_file (*.osm or *.pbf) Options: --cache Deprecated, now does nothing --description A default description to give to each area. --geonames-file The name of a GeoNames file to use for determining tile names. Typically cities15000.zip from http://download.geonames.org/export/dump/ --legacy-mode Enables the old area subdivision algorithm in case of compatibility problems. This requires lots of memory! Deprecated, will be removed in a future version. --mapid The starting map ID. Default is 63240001. --max-areas The maximum number of areas to process in a single pass. More areas require more memory, but less time. Values: 1-2048. Default is 255. --max-nodes The maximum number of nodes permitted in each split area. Default is 1600000. --max-threads The maximum number of threads used by splitter. Default is auto. --mixed Specify this if the input osm file has nodes, ways and relations intermingled. --no-trim Don't trim empty space off the edges of tiles. --output The output type, either pbf or xml. Default is pbf. --output-dir The path to the output directory. Defaults to the current working directory. --overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map units. Default is 2000. --resolution The resolution of the overview map to be produced by mkgmap. Default is 13. --split-file The name of a file containing the areas definitions. Can be .list or .kml. Providing such a file will save processing time. --status-freq Displays the amount of memory used by the JVM every --status-freq seconds. Set =0 to disable. Default is 120. --write-kml The name of a kml file to write out the areas to. This is in addition to areas.list (which is always written out).
-----------------------
I builded splitter jar this way: $ svn co http://svn.mkgmap.org.uk/splitter/trunk/ $ cd trunk/ $ ant
And I used created directory "dist".
What I am doing wrong?
regards
mira _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Od: Gerd Petermann Hello Gerd,
splitter r260 is not in trunk, but in the branch problem-list. You can download the jar file from here: http://www.mkgmap.org.uk/download/splitter.html
Works now. Thank you for your work! mira
participants (5)
-
Gerd Petermann
-
GerdP
-
Jaromír Mikeš
-
Steve Ratcliffe
-
wilpin