Skip to main content

An open-source tool for downloading Overture Maps data with quality of life features

Project description


Generated using DALL·E 3 model with this prompt: Cute stylized conducting virtuoso using a paper map as music sheet. White background, minimalistic, vector graphics, clean background, encased in a circle. In navy and gold colours. Logo for a python library, should work well as small icon.

GitHub Checks GitHub Workflow Status - DEV GitHub Workflow Status - PROD pre-commit.ci status CodeFactor Grade Codecov Package version Supported Python versions PyPI - Downloads

OvertureMaestro

An open-source tool for reading OvertureMaps data with multiprocessing and additional Quality-of-Life features.

What is OvertureMaestro 🎼🌍?

  • Scalable reader for OvertureMaps data.
  • Is based on top of PyArrow[^1].
  • Saves files in the GeoParquet[^2] file format for easier integration with modern cloud stacks.
  • Filters data based on geometry.
  • Can filter data using PyArrow expressions.
  • Utilizes multiprocessing for faster data download.
  • Utilizes dedicated index of all features in the Overture Maps dataset to download only specific parts based on the geometry filter.
  • Utilizes caching to reduce repeatable computations.
  • Can be used as Python module as well as a beautiful CLI based on Typer[^3].

[^1]: PyArrow Website [^2]: GeoParquet data format [^3]: Typer docs

Installing

As pure Python module

pip install overturemaestro

With beautiful CLI

pip install overturemaestro[cli]

Required Python version?

OvertureMaestro supports Python >= 3.10

Dependencies

Required:

  • overturemaps (>=0.8.0): Reusing oficial CLI library with dedicated schema related functions

  • pyarrow (>=16.0.0): For OvertureMaps GeoParquet dataset wrangling

  • geopandas (>=1.0): For returning GeoDataFrames and reading Geo files

  • shapely (>=2.0): For parsing WKT and GeoJSON strings and filtering data with STRIndex

  • geoarrow-rust-core (>=0.4.0): For transforming Arrow data to Shapely objects

  • duckdb (>=1.1.2): For transforming downloaded data to the wide format and sorting files by geometry

  • pooch (>=1.6.0): For downloading precalculated dataset indexes

  • rich (>=12.0.0): For showing progress bars

  • fsspec (>=2021.04.0) & aiohttp (>=3.8.0): For accessing AWS S3 datasets in PyArrow and GitHub files for precalculated datasets

  • geopy (>=2.0.0): For geocoding of strings

Optional:

  • typer[all] (>=0.9.0) (click, colorama, rich, shellingham): Required in CLI

  • h3 (>=4.0.0b1): For reading H3 strings. Required in CLI

  • s2 (>=0.1.9): For transforming S2 indexes into geometries. Required in CLI

  • python-geohash (>=0.8): For transforming GeoHash indexes into geometries. Required in CLI

Usage

TODO

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

overturemaestro-0.6.1.tar.gz (303.4 kB view details)

Uploaded Source

Built Distribution

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

overturemaestro-0.6.1-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file overturemaestro-0.6.1.tar.gz.

File metadata

  • Download URL: overturemaestro-0.6.1.tar.gz
  • Upload date:
  • Size: 303.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.8 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for overturemaestro-0.6.1.tar.gz
Algorithm Hash digest
SHA256 170ee5c328e91a8dd4b720450291bf16990956d3d270e71e61a495eac324176e
MD5 b6a75dfcae6f1c8266ac372a5781cfef
BLAKE2b-256 2d7a901ece1220b95b5f4cd0827bc8b44d9bb8c2df3b646ecd02a31e42211597

See more details on using hashes here.

File details

Details for the file overturemaestro-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: overturemaestro-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.8 CPython/3.12.13 Linux/6.17.0-1010-azure

File hashes

Hashes for overturemaestro-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c090e3248457967981e02652eae2e52abe7ce3b02e1d259d32cdb8dbfca6e63a
MD5 6d919bc31064080ea899064d5f8f266d
BLAKE2b-256 7c0567409ab2a9e8b44ca6b06bc8a95dd267e4cba3de58824c31523850c1379a

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