/go-getosm

Go port of SUMO osmGet.py utility

Primary LanguageGoMIT LicenseMIT

Go Report Card Test Linting Go Doc Release Gitpod ready-to-code

About

A simple downloader for OSM xml data, using https://www.overpass-api.de. Software is based on https://github.com/eclipse/sumo/blob/main/tools/osmGet.py

Quickstart

  1. Get go from https://golang.org/dl/

  2. Download osmget

go install github.com/EricNeid/go-getosm/cmd/osmget@latest

Usage

Download xml for given bounding box:

osmget -b 13.168487548828123,52.29189255277229,13.278350830078125,52.35211857272093
osmget -b 13.168487548828123,52.29189255277229,13.278350830078125,52.35211857272093 -t 4 -verbose true

Display options:

osmget -h

Question or comments

Please feel free to open a new issue: https://github.com/EricNeid/go-getosm/issues