使用stac-geoparquet为STAC项目列表生成geoparquet
项目描述
stactools-geoparquet-items
- 名称:geoparquet-items
- 包:
stactools.geoparquet_items
- stactools-geoparquet-items 在PyPI上
- 所有者:@m-mohr
使用stac-geoparquet为STAC项目列表生成geoparquet。
安装
pip install stactools-geoparquet-items
命令行使用
使用stac geoparquet-items --help
查看所有子命令和选项。
从STAC项目创建GeoParquet
您需要提供一个文件夹来读取项目(深度读取)。然后您提供一个文件来写入geoparquet。可选地,您可以将geoparquet作为资产添加到STAC集合。
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
从GeoParquet转换为其他文件格式
从geoparquet转换为GeoPackage(没有stac_version、type和assets)
stac geoparquet-items convert source.geoparquet result.gpkg
转换为FlatGeoBuf并排除更多字段
stac geoparquet-items convert source.geoparquet result.fgb --format flatgeobuf --exclude stac_version,type,assets,links,collection
支持格式:flatgeobuf、geojson、geojsonseq、gpkg(默认)、shapefile
显示geoparquet文件信息
您可以轻松检索元数据和数据摘录
stac geoparquet-items info source.geoparquet
贡献
我们使用pre-commit来检查任何更改。要设置您的开发环境
pip install -e .
pip install -r requirements-dev.txt
pre-commit install
要检查所有文件
pre-commit run --all-files
项目详情
关闭
stactools-geoparquet-items-0.4.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 324583f45f52d6190a4a63aaf8d90e30818413fb0cd273ce25dce494e3961070 |
|
MD5 | 9683259af2d80627b609a35ce3b7ace1 |
|
BLAKE2b-256 | b6a8ee321f0f2ec6eba13af3c099a82cfde2bf5319d62dac18372de55f9f1958 |
关闭
stactools_geoparquet_items-0.4.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 16dca35a0e8445a1525d695bf1c35eb024296e06f5ca4cbfc834f2c633333928 |
|
MD5 | 1a81bc483f8ec5dbc8133e140c8f0030 |
|
BLAKE2b-256 | 446b81701014f9431a46c94d6cdf21fdc7f73465fc3c2a8d0ef352925d2787ed |