Skip to main content

Prints out the bounding box of a geojson input file

Project description

GeoJSON to bounding box utility

This utility will find the minimum and maximum coordinates in a given GeoJSON file and format them as a GeoJSON bounding box.

It is more of a proof-of-concept and it will sometimes fail. Please contact the author with feedback.

Usage

python -m geojsonboundingbox "/path/to/myfile.geojson"

For anything more advanced, please look into the shapely Python library.

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

geojsonboundingbox-0.1.4.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

geojsonboundingbox-0.1.4-py3-none-any.whl (2.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page