Christian Mayr schrieb:
>> das geht mit osmosis und mit einem perl script
>>
>> http://wiki.openstreetmap.org/wiki/Osmosis
>>
> leider finde ich kein beispiel für ein extrahieren mit einer bounding box
> hat da jemand einen beispielaufruf zur hand?
> 
> gruesse

Hi,
mit folgendem Befehl schneide ich die germany.osm
in 11 Kacheln:

java -Xmx600M -jar osmosis.jar --rx enableDateParsing=no
file=germany.osm.bz2 --tee 11
--bounding-box left=6.0  right=9.5  top=55.5 bottom=53 --write-xml 0101.osm
--bounding-box left=9.5  right=14.5 top=55.5 bottom=53 --write-xml 0102.osm
--bounding-box left=5.0  right=8.5  top=53  bottom=51  --write-xml 0201.osm
--bounding-box left=8.5  right=12.0 top=53  bottom=51  --write-xml 0202.osm
--bounding-box left=12.0 right=15.0 top=53  bottom=51  --write-xml 0203.osm
--bounding-box left=5.0  right=8.5  top=51  bottom=49  --write-xml 0301.osm
--bounding-box left=8.5  right=10.5 top=51  bottom=49  --write-xml 0302.osm
--bounding-box left=10.5 right=15.0 top=51  bottom=49  --write-xml 0303.osm
--bounding-box left=5.0  right=9.0  top=49  bottom=47  --write-xml 0401.osm
--bounding-box left=9.0  right=11.0 top=49  bottom=47  --write-xml 0402.osm
--bounding-box left=11.0 right=15.0 top=49  bottom=47  --write-xml 0403.osm

(Alles in einer Zeile).

Grüße,
Christian



_______________________________________________
Talk-de mailing list
Talk-de@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-de

Antwort per Email an