Download OpenStreetMap
data via the Overpass API and query language,
and display it on a map view.
To run this example, make sure you have Python version at least 3.9, the Rerun repository checked out and the latest SDK installed:
pip install --upgrade rerun-sdk # install the latest Rerun SDK
git clone git@github.com:rerun-io/rerun.git # Clone the repository
cd rerun
git checkout latest # Check out the commit matching the latest SDK release
Install the necessary libraries specified in the requirements file:
pip install -e examples/python/openstreetmap_data
To experiment with the provided example, simply execute the main Python script:
python -m openstreetmap_data # run the example
If you wish to customize it, explore additional features, or save it use the CLI with the --help
option for guidance:
python -m openstreetmap_data --help