raster-footprint
Create GeoJSON geometries that bound valid raster data. Depends on rasterio and shapely.
Installation
pip install raster-footprint
CLI
raster-footprint --help
usage: raster-footprint [-h] {create,densify,reproject,simplify} ...
options:
-h, --help show this help message and exit
commands:
{create,densify,reproject,simplify}
create Create a raster footprint
densify Densify a Polygon or MultiPolygon
reproject Reproject a Polygon or MultiPolygon
simplify Simplify a Polygon or MultiPolygon
Python API
from raster_footprint import footprint_from_href
footprint = footprint_from_href(
"my_raster.tif",
densify_distance=100,
simplify_tolerance=0.001,
holes=False
)
See the API documentation for available functions and options.
Contributing
See CONTRIBUTING.md for development setup and the release process.
License
Metadata
Release files for raster-footprint 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| raster_footprint-0.3.0.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| raster_footprint-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.3 kB
Release files / raster_footprint-0.3.0.tar.gz
| Download URL | raster_footprint-0.3.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e99be94b85c2ae59dbb1ce98914594bee6ecb06e7b0047fec2aa0a0e457ef00
|
|
BLAKE2b-256 checksum How to use checksums |
ada6ee503f0391baaf22056cba4dc7f75fdb8db703883bfaba5af5ad50f138dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / raster_footprint-0.3.0-py3-none-any.whl
| Download URL | raster_footprint-0.3.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0ccf25a86e443bc8676f095f22246aa989bd7ed1a0d694688e7f94bf74d90d9
|
|
BLAKE2b-256 checksum How to use checksums |
404ad76c71ec5acdb9a7e912e1f557db1169c669ad28bde1b2b16d011d2a5f7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|