Skip to content

Development

Giora Kosoi edited this page Jan 7, 2023 · 1 revision

Install Rust

See Rust installation instructions

Install Docker

See dockerinstallation instructions

Install pgAdmin

See pgAdmin installation instructions

Install osmium

See osmium installation instructions

Install osmosis

See osmosis installation instructions

Download Planet.osm

Prepare or Download Regional Extracts

# Small area, good for fast integration tests
$ osmium getid -r -t data/planet-latest.osm.pbf r365307 -o data/malta-boundary-latest.osm
$ osmium extract -p data/malta-boundary-latest.osm -o data/malta-latest.osm.pbf data/planet-latest.osm.pbf

# Relatively small but adds some complexity 
$ osmium getid -r -t planet-latest.osm.pbf r1473946 -o israel-boundary-latest.osm
$ osmium extract -p israel-boundary-latest.osm -o israel-latest.osm.pbf planet-latest.osm.pbf

# Densely mapped area, good for estimating the duration for planet.osm
$ osmium getid -r -t planet-latest.osm.pbf r51477 -o germany-boundary-latest.osm
$ osmium extract -p germany-boundary-latest.osm -o germany-latest.osm.pbf planet-latest.osm.pbf