Skip to main content

A Python package for downloading and processing Overture Maps geospatial data with configurable bounding box extraction and data management.

Project description

Overture Maps GeoParquet Project

This project processes GeoJSON files to extract bounding boxes and download corresponding data in GeoParquet format using the Overture Maps API.

Project Structure

├── countries
├── json
│   └── zwe.json
├── LICENSE
├── Makefile
├── poetry.lock
├── poetry.toml
├── pyproject.toml
├── README.md
├── requirements.txt
├── src
│   ├── downloader.py
│   ├── __init__.py
│   └── utils
│       ├── extract_bbox.py
│       └── __init__.py
└── tests
    ├── example
    │   ├── __init__.py
    │   └── test_example.py
    └── __init__.py

Requirements

  • Python 3.10+
  • Poetry

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
    
  2. Install project dependencies:

    make .venv
    
  3. Add pre-commit hooks:

    make hooks
    

Usage

Running the Application

To run the application:

make run

Running Tests

To run unit tests:

make test

Running Lint Tests

To run lint tests:

make lint

Cleaning Up

To remove the virtual environment:

make clean

Installing Additional Requirements

To install additional requirements from requirements.txt:

make install-requirements

Available Make Commands

  • make help - Print help
  • make .venv - Install project dependencies
  • make hooks - Add pre-commit hooks
  • make test - Run unit tests
  • make lint - Run lint tests
  • make clean - Remove the virtual environment
  • make install-requirements - Install additional requirements from requirements.txt
  • make run - Run the application

License

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

overture_maps_geoparquet_package-0.1.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file overture_maps_geoparquet_package-0.1.0.tar.gz.

File metadata

File hashes

Hashes for overture_maps_geoparquet_package-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18cdd2a144ce4d55e19ae35f02cb144516ff933cb0fc5dbfd3c808bf90a45471
MD5 b7e9272c2fce6fb5bbf91d798d1174bb
BLAKE2b-256 5156d436647600d5f1fc3a1d0b9bc4f1e578bde797498fba3bf03ae91ecb1707

See more details on using hashes here.

File details

Details for the file overture_maps_geoparquet_package-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for overture_maps_geoparquet_package-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc21b203ccca38e58b56cb5f7e2d8968abe739b919b34b874292ee598ab3cc61
MD5 13ad3fe5df63fcc36e05d9fa83034d2d
BLAKE2b-256 4cbdb45c0e164d1950e551e7552294f71d69d26f82d9be68d878582ae806294d

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