titiler-core-2.0.0b2
2.0.0b2
2.0.0b1
2.0.0a2
2.0.0a1
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.1
0.23.0
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.10
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1a0
0.11.1
2.0.0b2
2.0.0b1
2.0.0a2
2.0.0a1
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0a2
0.6.0a1
0.6.0
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0a2
0.4.0a1
0.4.0a0
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.2
0.3.12
0.3.11
0.3.10
0.3.1
0.3.0
0.26.0
0.25.0
0.24.2
0.24.1
0.24.0
0.23.1
0.23.0
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.18.3
0.18.2
0.18.10
0.18.1
0.18.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1a0
0.11.1
0.11.0
0.10.2
0.10.1
0.10.0
توضیحات
A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | titiler-core-2.0.0b2 |
| نام | titiler-core |
| نسخه کتابخانه | 2.0.0b2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Vincent Sarago <vincent@developmentseed.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/titiler-core/ |
| مجوز | MIT |
## titiler.core
Core of Titiler's application. Contains blocks to create dynamic tile servers.
## Installation
```bash
python -m pip install -U pip
# From Pypi
python -m pip install titiler.core
# Or from sources
git clone https://github.com/developmentseed/titiler.git
cd titiler && python -m pip install -e src/titiler/core
```
## How To
```python
from fastapi import FastAPI
from titiler.core.factory import TilerFactory
# Create a FastAPI application
app = FastAPI(
description="A lightweight Cloud Optimized GeoTIFF tile server",
)
# Create a set of COG endpoints
cog = TilerFactory()
# Register the COG endpoints to the application
app.include_router(cog.router, tags=["Cloud Optimized GeoTIFF"])
```
## Package structure
```
titiler/
└── core/
├── tests/ - Tests suite
└── titiler/core/ - `core` namespace package
├── algorithm/
| ├── base.py - ABC Base Class for custom algorithms
| ├── dem.py - Elevation data related algorithms
| └── index.py - Simple band index algorithms
├── models/
| ├── response.py - Titiler's response models
| ├── mapbox.py - Mapbox TileJSON pydantic model
| └── OGC.py - Open GeoSpatial Consortium pydantic models (TileMatrixSets...)
├── resources/
| ├── enums.py - Titiler's enumerations (e.g MediaType)
| └── responses.py - Custom Starlette's responses
├── templates/
| ├── map.html - Simple Map viewer (built with leaflet)
| └── wmts.xml - OGC WMTS document template
├── dependencies.py - Titiler FastAPI's dependencies
├── errors.py - Errors handler factory
├── middleware.py - Starlette middlewares
├── factory.py - Dynamic tiler endpoints factories
├── routing.py - Custom APIRoute class
├── telemetry.py - OpenTelemetry tracing functions
└── utils.py - Titiler utility functions
```
نیازمندی
| مقدار | نام |
|---|---|
| - | fastapi>=0.108.0 |
| - | geojson-pydantic<3.0,>=1.1.2 |
| - | jinja2<4.0.0,>=2.11.2 |
| - | morecantile |
| - | numpy |
| - | pydantic~=2.0 |
| - | rasterio |
| - | rio-tiler<9.0,>=8.0 |
| - | simplejson |
| - | typing-extensions>=4.6.1 |
| xtr | opentelemetry-api; |
| xtr | opentelemetry-exporter-otlp; |
| xtr | opentelemetry-instrumentation-fastapi; |
| xtr | opentelemetry-instrumentation-logging; |
| xtr | opentelemetry-sdk; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl titiler-core-2.0.0b2:
pip install titiler-core-2.0.0b2.whl
نصب پکیج tar.gz titiler-core-2.0.0b2:
pip install titiler-core-2.0.0b2.tar.gz