Skip to main content

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

Project description

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

pip install 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.4.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

overturemaps-0.4.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: overturemaps-0.4.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/23.4.0

File hashes

Hashes for overturemaps-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ce20b13e9d8e4415fc5d93fef4ff77b9534bcec692b35dfb916a0b9fa6ed4bfd
MD5 5ae3ac189c77e194b490e5152d1631c6
BLAKE2b-256 c4948af1e2cf9f8bf96cf06647bef8b1b7d68ebbfcf7e8b2bdb1778145c1eb4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: overturemaps-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.3 Darwin/23.4.0

File hashes

Hashes for overturemaps-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 471de39750bfb2be2fbc04281e355821aa6b81bb9b0034a1065b57bcb94d0686
MD5 61080b7b2addb72ce036f30a0fbd9152
BLAKE2b-256 97d7f3e623afe4da28d66b61e8196d1a0a0816c0010578c1fd3222d9fc5270e0

See more details on using hashes here.

Supported by

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