stactools-geoparquet-items
- Name: geoparquet-items
- Package:
stactools.geoparquet_items - stactools-geoparquet-items on PyPI
- Owner: @m-mohr
Uses stac-geoparquet to generate a geoparquet for a list of STAC items.
Installation
pip install stactools-geoparquet-items
Command-line Usage
Use stac geoparquet-items --help to see all subcommands and options.
Create GeoParquet from STAC Items
You need to provide a folder to read the items (deeply) from. Then you provide a file to write the geoparquet to. Optionally, you can add the geoparquet as an asset to a STAC Collection.
stac geoparquet-items create https://example.com/collections/id/items result.geoparquet
stac geoparquet-items create /path/to/folder result.geoparquet --collection /path/to/collection.json
Convert from GeoParquet to other file formats
Convert from geoparquet to GeoPackage (without stac_version, type and assets):
stac geoparquet-items convert source.geoparquet result.gpkg
Convert to FlatGeoBuf and exclude even more fields:
stac geoparquet-items convert source.geoparquet result.fgb --format flatgeobuf --exclude stac_version,type,assets,links,collection
Supported formats: flatgeobuf, geojson, geojsonseq, gpkg (default), shapefile
Show information about a geoparquet file
You can easily retrieve metadata and a data excerpt:
stac geoparquet-items info source.geoparquet
Contributing
We use pre-commit to check any changes. To set up your development environment:
pip install -e .
pip install -r requirements-dev.txt
pre-commit install
To check all files:
pre-commit run --all-files
Metadata
Release files for stactools-geoparquet-items 0.4.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 | |
|---|---|---|---|
| stactools-geoparquet-items-0.4.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stactools_geoparquet_items-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / stactools-geoparquet-items-0.4.0.tar.gz
| Download URL | stactools-geoparquet-items-0.4.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
324583f45f52d6190a4a63aaf8d90e30818413fb0cd273ce25dce494e3961070
|
|
BLAKE2b-256 checksum How to use checksums |
b6a8ee321f0f2ec6eba13af3c099a82cfde2bf5319d62dac18372de55f9f1958
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / stactools_geoparquet_items-0.4.0-py3-none-any.whl
| Download URL | stactools_geoparquet_items-0.4.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16dca35a0e8445a1525d695bf1c35eb024296e06f5ca4cbfc834f2c633333928
|
|
BLAKE2b-256 checksum How to use checksums |
446b81701014f9431a46c94d6cdf21fdc7f73465fc3c2a8d0ef352925d2787ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|