Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Updating the planet extracting data

ltog edited this page Jan 23, 2015 · 54 revisions

Updating the planet

Extracting data

osmosis

Installation (Ubuntu)

sudo apt-get install osmosis

bbox

poly

osmosis --read-pbf file="$pbfinfile" --bounding-polygon file="$polyfile" --write-pbf file="$pbfoutfile"

osmconvert

Installation (Ubuntu)

sudo apt-get install osmctools

bbox

osmconvert $pbfinfile -b=$minlon,$minlat,$maxlon,$maxlat --out-pbf -o=$pbfoutfile

poly

osmconvert $pbfinfile -B=$polyfile --out-pbf -o=$pbfoutfile

Zu klären

  • Sich selbst überschneidende Polygonlinie (wo wird das abgefangen?)
  • bbox über Datumsgrenze
  • Grenzüberlappende Linien, Relationen (osmconvert: Flächen) abschneiden oder behalten?

Clone this wiki locally