将titiler连接到STAC API。
项目描述
titiler-stacapi
连接titiler到STAC API
文档: https://developmentseed.org/titiler-stacapi/
源代码: https://github.com/developmentseed/titiler-stacapi
安装
从PyPI安装并运行
# Make sure you have pip up to date
python -m pip install -U pip
python -m pip install titiler.stacapi
或从源代码安装并用于开发
git clone https://github.com/developmentseed/titiler-stacapi.git
cd titiler-stacapi
python -m pip install -e .
启动
您需要设置环境变量TITILER_STACAPI_STAC_API_URL
,指向您的STAC API服务。
export TITILER_STACAPI_STAC_API_URL=https://api.stac
python -m pip install uvicorn
uvicorn titiler.stacapi.main:app --port 8000
使用Docker
$ git clone https://github.com/developmentseed/titiler-stacapi.git
$ cd titiler-stacapi
$ export TITILER_STACAPI_STAC_API_URL=https://api.stac
$ docker-compose up --build api
它使用Gunicorn网络服务器运行titiler.stacapi
。
工作原理
WMTS和渲染扩展
titiler-stacapi
广泛使用Render扩展,特别是在Collection
级别。通过使用渲染的元数据,/wmts
端点(来自OGCWMTSFactory
工厂)可以填充由GetCapabilities
服务返回的layers
集合。
贡献与发展
许可证
查看LICENSE
作者
查看贡献者列表。
变更记录
查看CHANGES.md。
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源代码分发
titiler.stacapi-0.1.1.tar.gz (36.6 kB 查看哈希值)
构建分发
titiler.stacapi-0.1.1-py3-none-any.whl (47.8 kB 查看哈希值)
关闭
titiler.stacapi-0.1.1.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 126c30503cc1772d62798e67188e16d033c07a7f7df49a53543091e65d44242c |
|
MD5 | 860c9703fa2bf9f9885f60bc736c01ae |
|
BLAKE2b-256 | 5b9d21b71b70cd172b153d5ae5fb6832a5db195ae94cc6e4aacf14e90d83d2c7 |
关闭
titiler.stacapi-0.1.1-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 4709a673a5b0b48254d2f579d3e961961df5890cc909035c5639938d1cd63055 |
|
MD5 | d5a23978856cd790ea496183636e7e27 |
|
BLAKE2b-256 | 492d7109c5c66f0c6367ba12462522d091cb1e9074db68ff9ba9f886ba0aefe9 |