-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deprecate default tilematrixset (#802)
* deprecate default tilematrixset * move deprecation of default_tms in BaseTilerFactory * update changelog
- Loading branch information
1 parent
9df1731
commit b24b6b5
Showing
25 changed files
with
434 additions
and
2,959 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,14 @@ The `/cog` routes are based on `titiler.core.factory.TilerFactory` but with `cog | |
| `GET` | `/cog/info.geojson` | GeoJSON | return dataset's basic info as a GeoJSON feature | ||
| `GET` | `/cog/statistics` | JSON | return dataset's statistics | ||
| `POST` | `/cog/statistics` | GeoJSON | return dataset's statistics for a GeoJSON | ||
| `GET` | `/cog/tiles[/{tileMatrixSetId}]/{z}/{x}/{y}[@{scale}x][.{format}]` | image/bin | create a web map tile image from a dataset | ||
| `GET` | `/cog[/{tileMatrixSetId}]/tilejson.json` | JSON | return a Mapbox TileJSON document | ||
| `GET` | `/cog[/{tileMatrixSetId}]/WMTSCapabilities.xml` | XML | return OGC WMTS Get Capabilities | ||
| `GET` | `/cog/tiles/{tileMatrixSetId}/{z}/{x}/{y}[@{scale}x][.{format}]` | image/bin | create a web map tile image from a dataset | ||
| `GET` | `/cog/{tileMatrixSetId}/tilejson.json` | JSON | return a Mapbox TileJSON document | ||
| `GET` | `/cog/{tileMatrixSetId}/WMTSCapabilities.xml` | XML | return OGC WMTS Get Capabilities | ||
| `GET` | `/cog/point/{lon},{lat}` | JSON | return pixel values from a dataset | ||
| `GET` | `/cog/preview[.{format}]` | image/bin | create a preview image from a dataset | ||
| `GET` | `/cog/bbox/{minx},{miny},{maxx},{maxy}[/{width}x{height}].{format}` | image/bin | create an image from part of a dataset | ||
| `POST` | `/cog/feature[/{width}x{height}][].{format}]` | image/bin | create an image from a GeoJSON feature | ||
| `GET` | `/cog[/{tileMatrixSetId}]/map` | HTML | simple map viewer | ||
| `POST` | `/cog/feature[/{width}x{height}][].{format}]` | image/bin | create an image from a GeoJSON feature | ||
| `GET` | `/cog/{tileMatrixSetId}/map` | HTML | simple map viewer | ||
| `GET` | `/cog/validate` | JSON | validate a COG and return dataset info (from `titiler.extensions.cogValidateExtension`) | ||
| `GET` | `/cog/viewer` | HTML | demo webpage (from `titiler.extensions.cogViewerExtension`) | ||
| `GET` | `/cog/stac` | GeoJSON | create STAC Items from a dataset (from `titiler.extensions.stacExtension`) | ||
|
@@ -30,10 +30,10 @@ The `/cog` routes are based on `titiler.core.factory.TilerFactory` but with `cog | |
|
||
### Tiles | ||
|
||
`:endpoint:/cog/tiles[/{tileMatrixSetId}]/{z}/{x}/{y}[@{scale}x][.{format}]` | ||
`:endpoint:/cog/tiles/{tileMatrixSetId}/{z}/{x}/{y}[@{scale}x][.{format}]` | ||
|
||
- PathParams: | ||
- **tileMatrixSetId** (str): TileMatrixSet name, default is `WebMercatorQuad`. **Optional** | ||
- **tileMatrixSetId** (str): TileMatrixSet name (e.g `WebMercatorQuad`) | ||
- **z** (int): TMS tile's zoom level. | ||
- **x** (int): TMS tile's column. | ||
- **y** (int): TMS tile's row. | ||
|
@@ -60,8 +60,8 @@ The `/cog` routes are based on `titiler.core.factory.TilerFactory` but with `cog | |
|
||
Example: | ||
|
||
- `https://myendpoint/cog/tiles/1/2/3?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/tiles/1/2/3.jpg?url=https://somewhere.com/mycog.tif&bidx=3&bidx=1&bidx2` | ||
- `https://myendpoint/cog/tiles/WebMercatorQuad/1/2/3?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/tiles/WebMercatorQuad/1/2/3.jpg?url=https://somewhere.com/mycog.tif&bidx=3&bidx=1&bidx2` | ||
- `https://myendpoint/cog/tiles/WorldCRS84Quad/1/2/[email protected]?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/tiles/WorldCRS84Quad/1/2/3?url=https://somewhere.com/mycog.tif&bidx=1&rescale=0,1000&colormap_name=cfastie` | ||
|
||
|
@@ -204,10 +204,10 @@ Example: | |
|
||
### TilesJSON | ||
|
||
`:endpoint:/cog[/{tileMatrixSetId}]/tilejson.json` tileJSON document | ||
`:endpoint:/cog/{tileMatrixSetId}/tilejson.json` tileJSON document | ||
|
||
- PathParams: | ||
- **tileMatrixSetId**: TileMatrixSet name, default is `WebMercatorQuad`. **Optional** | ||
- **tileMatrixSetId** (str): TileMatrixSet name (e.g `WebMercatorQuad`) | ||
|
||
- QueryParams: | ||
- **url** (str): Cloud Optimized GeoTIFF URL. **Required** | ||
|
@@ -233,17 +233,17 @@ Example: | |
|
||
Example: | ||
|
||
- `https://myendpoint/cog/tilejson.json?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/tilejson.json?url=https://somewhere.com/mycog.tif&tile_format=png` | ||
- `https://myendpoint/cog/WebMercatorQuad/tilejson.json?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/WebMercatorQuad/tilejson.json?url=https://somewhere.com/mycog.tif&tile_format=png` | ||
- `https://myendpoint/cog/WorldCRS84Quad/tilejson.json?url=https://somewhere.com/mycog.tif&tile_scale=2&bidx=1,2,3` | ||
|
||
|
||
### Map | ||
|
||
`:endpoint:/cog[/{tileMatrixSetId}]/map` Simple viewer | ||
`:endpoint:/cog/{tileMatrixSetId}/map` Simple viewer | ||
|
||
- PathParams: | ||
- **tileMatrixSetId**: TileMatrixSet name, default is `WebMercatorQuad`. **Optional** | ||
- **tileMatrixSetId** (str): TileMatrixSet name (e.g `WebMercatorQuad`) | ||
|
||
- QueryParams: | ||
- **url** (str): Cloud Optimized GeoTIFF URL. **Required** | ||
|
@@ -269,9 +269,9 @@ Example: | |
|
||
Example: | ||
|
||
- `https://myendpoint/cog/map?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/map?url=https://somewhere.com/mycog.tif&tile_format=png` | ||
- `https://myendpoint/cog/WebMercatorQuad/map?url=https://somewhere.com/mycog.tif&tile_scale=2&bidx=1,2,3` | ||
- `https://myendpoint/cog/WebMercatorQuad/map?url=https://somewhere.com/mycog.tif` | ||
- `https://myendpoint/cog/WebMercatorQuad/map?url=https://somewhere.com/mycog.tif&tile_format=png` | ||
- `https://myendpoint/cog/WorldCRS84Quad/map?url=https://somewhere.com/mycog.tif&tile_scale=2&bidx=1,2,3` | ||
|
||
|
||
### Bounds | ||
|
Oops, something went wrong.