跳转到主要内容

将titiler连接到STAC API。

项目描述

titiler-stacapi

连接titiler到STAC API

Test Coverage License


文档: 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集合。

贡献与发展

查看CONTRIBUTING.md

许可证

查看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 查看哈希值)

上传时间 Python 3

由以下机构支持