Skip to main content

Python tools for interacting with Overture Maps (overturemaps.org) data.

Project description

PyPi

overturemaps-py

Official Python command-line tool of the Overture Maps Foundation

Overture Maps provides free and open geospatial map data, from many different sources and normalized to a common schema. This tool helps to download Overture data within a region of interest and converts it to a few different file formats. For more information about accessing Overture Maps data, see our official documentation site https://docs.overturemaps.org.

Note: This repository and project are experimental. Things are likely change including the user interface until a stable release, but we will keep the documentation here up-to-date.

Quick Start

Download the building footprints for the specific bounding box as GeoJSON and save to a file named "boston.geojson"

$ overturemaps download --bbox=-71.068,42.353,-71.058,42.363 -f geojson --type=building -o boston.geojson

Usage

download

There is currently one option to the overturemaps utility, download. It will download Overture Maps data with an optional bounding box into the specified file format. When specifying a bounding box, only the minimum data is transferred. The result is streamed out and can handle arbitrarily large bounding boxes.

Command-line options:

  • --bbox (optional): west, south, east, north longitude and latitude coordinates. When omitted the entire dataset for the specified type will be downloaded
  • -f (required: one of "geojson", "geojsonseq", "geoparquet"): output format
  • --output/-o (optional): Location of output file. When omitted output will be written to stdout.
  • --type/-t (required): The Overture map data type to be downloaded. Examples of types are building for building footprints, place for POI places data, etc. Run overturemaps download --help for the complete list of allowed types

This downloads data directly from Overture's S3 bucket without interacting with any other servers. By including bounding box extents on each row in the Overture distribution, the underlying Parquet readers use the Parquet summary statistics to download the minimum amount of data necessary to extract data from the desired region.

To help find bounding boxes of interest, we like this bounding box tool from Klokantech. Choose the CSV format and copy the value directly into the --bbox field here.

Installation

To install overturemaps from PyPi using pip

pip install overturemaps

overturemaps is also on conda-forge and can be installed using conda, mamba, or pixi. To install overturemaps using conda:

conda install -c conda-forge overturemaps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overturemaps-0.9.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

overturemaps-0.9.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file overturemaps-0.9.0.tar.gz.

File metadata

  • Download URL: overturemaps-0.9.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

File hashes

Hashes for overturemaps-0.9.0.tar.gz
Algorithm Hash digest
SHA256 26c82e7c4f179b0ef15d5ca933e83756399fe5f2ff15047175d192a50efad8f4
MD5 f8e81ddda5314f03289f48fb5f6f6b6d
BLAKE2b-256 91ba274309f76167eb74499f40025bd400e244bd5f546726bcf1b47706df203e

See more details on using hashes here.

File details

Details for the file overturemaps-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: overturemaps-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

File hashes

Hashes for overturemaps-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6967577c251e3813f029d798519ffd6d8d59dcb62c02883889206dafaf5d93c
MD5 72d670f94ea05b91dbce047500db6490
BLAKE2b-256 5fc8e1eb29f4619054670d9c4ad31fc5c5ba159e361d995bf6816453756369d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page