
Hi All, I currently use the following to download and split the UK from a planet file using osmosis. In order to get routable maps, should I now be using the mkgmap splitter on an extract of the UK from the planet ? Does osmosis allow mkgmap routing across tiles ? Regards Stuart get -O - http://planet.openstreetmap.org/planet-080730.osm.gz| gunzip -c | ../Software/osmosis-0.24/bin/osmosis --rx /dev/stdin enableDateParsing="no" \ --log-progress \ --buffer bufferCapacity=1000 \ --tee 15 \ --bounding-box top="60.855" bottom="58.695" left="-3.505" right="-0.745" \ --bounding-box top="58.705" bottom="55.495" left="-8.005" right="-4.995" \ --bounding-box top="58.705" bottom="55.495" left="-5.005" right="-1.495" \ --bounding-box top="55.505" bottom="52.995" left="-2.005" right="0.405" \ --bounding-box top="55.505" bottom="52.995" left="-5.005" right="-1.995" \ --bounding-box top="55.505" bottom="52.995" left="-8.005" right="-4.995" \ --bounding-box top="55.505" bottom="52.995" left="-10.655" right="-7.995" \ --bounding-box top="53.005" bottom="49.845" left="-8.005" right="-4.995" \ --bounding-box top="53.005" bottom="51.295" left="-10.655" right="-7.995" \ --bounding-box top="53.005" bottom="50.095" left="-5.005" right="-1.995" \ --bounding-box top="53.005" bottom="50.495" left="-2.005" right="-0.495" \ --bounding-box top="53.005" bottom="50.645" left="-0.505" right="1.005" \ --bounding-box top="53.005" bottom="50.895" left="0.995" right="2.005" \ --bounding-box top="50.105" bottom="48.995" left="-2.755" right="-1.995" \ --bounding-box top="52.750" bottom="52.250" left="-2.450" right="-1.250" \ --write-xml file="B-Grid0.osm" \ --write-xml file="B-Grid1.osm" \ --write-xml file="B-Grid2.osm" \ --write-xml file="B-Grid3.osm" \ --write-xml file="B-Grid4.osm" \ --write-xml file="B-Grid5.osm" \ --write-xml file="B-Grid6.osm" \ --write-xml file="B-Grid7.osm" \ --write-xml file="B-Grid8.osm" \ --write-xml file="B-Grid9.osm" \ --write-xml file="B-Grid10.osm" \ --write-xml file="B-Grid11.osm" \ --write-xml file="B-Grid12.osm" \ --write-xml file="B-Grid13.osm" \ --write-xml file="Midland.osm"

On Fri, 6 Mar 2009, Stuart Poulton wrote:
I currently use the following to download and split the UK from a planet file using osmosis.
In order to get routable maps, should I now be using the mkgmap splitter on an extract of the UK from the planet ?
It's better to download all of the UK into one file and then to run the mkgmap splitter on that. You can define your own tile layout by providing a split-file.
Does osmosis allow mkgmap routing across tiles ?
AFAIK no. -Wolfgang

Hi All, I've just tried to run splitter on the geofabrik GB OSM file but get the following (trimmed line repeats). starting rels Sat May 16 23:00:29 BST 2009 Relation 9327 in too many areas. Relation 9327 in too many areas. Relation 9327 in too many areas. Relation 9327 in too many areas. Relation 9327 in too many areas. Relation 12461 in too many areas. Relation 12461 in too many areas. Relation 12461 in too many areas. Relation 62149 in too many areas. Relation 62149 in too many areas. Relation 103222 in too many areas. Relation 103222 in too many areas. Finish Sat May 16 23:00:30 BST 2009 Total time 258s This results in 8 files with a total size of 880MB , from an input gb.osm file of 1.7GB , is this correct. Finally, is there any way to tell splitter to not compress the output files. Cheers Stuart

Hi Stuart, Am 17.05.2009 um 00:06 schrieb Stuart Poulton:
Finally, is there any way to tell splitter to not compress the output files.
Actually no. The attached patch will add the option "-- compressed=false" to turn off the compression of the output files. Additionally (because it is entangled with the un-compression option) it will change the code so that it will compile under Java 1.5. Best regards Thilo

On 17 May 2009, at 22:02, Thilo Hannemann wrote:
Hi Stuart,
Am 17.05.2009 um 00:06 schrieb Stuart Poulton:
Finally, is there any way to tell splitter to not compress the output files.
Actually no. The attached patch will add the option "-- compressed=false" to turn off the compression of the output files. Additionally (because it is entangled with the un-compression option) it will change the code so that it will compile under Java 1.5.
<compressionswitch.patch>
Many thanks, I'll give it a go. Thanks Stuart
participants (3)
-
Stuart Poulton
-
Thilo Hannemann
-
Wolfgang v. Hansen