[mkgmap-dev] [locator] Europe boundary data for download
From WanMil wmgcnfg at web.de on Fri May 13 17:58:37 BST 2011
I am not an osmosis expert but I guess that you loose a fair amount of boundaries with your parameters. All ways that are not tagged with boundary=administrative but are used in a boundary relation should be missing in your osm file. WanMil > A few days ago I tried --rb file=d:\europe.osm.pbf --tf accept-ways > boundary=administrative --used-node --write-xml > file=d:\mkgmap-europe-boundaries.osm > > Thus I created 1.508 bounds files and a workable map (still a few > problems finding cities and streets through cities -> selects streets, > but the bypass to select all streets works for these incidental > problems). I'm looking forward to Wanmils update and debug tools! > > Cheers Johan > > > > On Thu, 12 May 2011 19:53:00 +0200, WanMil wrote: >> I have managed (with the help of OSMembrane) to put the whole osmosis >> steps into one command: >> >> osmosis.bat ^ >> --read-pbf file=europe.osm.pbf outPipe.0=1 ^ >> --tee 2 inPipe.0=1 outPipe.0=2 outPipe.1=3 ^ >> --buffer inPipe.0=3 outPipe.0=4 ^ >> --buffer inPipe.0=2 outPipe.0=5 ^ >> --tag-filter accept-relations boundary=administrative inPipe.0=4 >> outPipe.0=6 ^ >> --used-way inPipe.0=6 outPipe.0=7 ^ >> --tag-filter reject-relations inPipe.0=5 outPipe.0=8 ^ >> --tag-filter accept-ways boundary=administrative inPipe.0=8 >> outPipe.0=9 ^ >> --used-node inPipe.0=9 outPipe.0=10 ^ >> --used-node inPipe.0=7 outPipe.0=11 ^ >> --merge inPipe.0=10 inPipe.1=11 outPipe.0=12 ^ >> --write-pbf file=europe-boundaries.osm.pbf omitmetadata=true >> compress=deflate inPipe.0=12 >> >> >> Anyhow processing of whole europe takes a very long time and the pbf >> file is growing only within the last minutes. You can check the >> ongoing >> osmosis processing in the directory >> C:\Users\<username>\AppData\Local\Temp (Win7). Osmosis creates files >> named afnd*.tmp, afwy*.tmp and afrl*.tmp that are constantly getting >> larger during processing. >> >> I think I will recreate the european bounds during the next days and >> will commit some additional useful debug tools for these files. >> >> WanMil >> >> >>> I have tried to compile a Europe bounds set but still get stuck on >>> the first step. Somehow I can't write the results to a pbf or osm >>> file. My osmosis options are: >>> >>> set OSMOSIS_OPTIONS=--read-pbf c:\downloads\europe.osm.pbf >>> --bounding-box bottom=41 left=-6 top=57 right=16 --tf accept-ways >>> boundary=administrative --used-node --write-pbf bways.osm.pbf >>> >>> I'm using osmosis v0.39, OS is windows vista 32 bits >>> >>> This results after a few hours in a bways.osm.pbf of 130 bytes :-( >>> >>> Will there be a new European bounds file available soon? >>> _______________________________________________ >>> mkgmap-dev mailing list >>> mkgmap-dev at lists.mkgmap.org.uk >>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] [locator] Europe boundary data for download
- Next message: [mkgmap-dev] [locator] Europe boundary data for download
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list