Skip to content

Commit

Permalink
Merge branch 'ab/initial-changes-for-mspc' of github.com:developments…
Browse files Browse the repository at this point in the history
…eed/titiler-ms-pc-stacapi into ab/initial-changes-for-mspc
  • Loading branch information
abarciauskas-bgse committed May 22, 2024
2 parents 001059c + 96af83e commit b53de47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
26 changes: 0 additions & 26 deletions docs/src/endpoints/collections_endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
| ------ | ---------------------------------------------------------------------------------|-----------------------------------------|--------------
| `GET` | `/collections/{collection_id}/tiles/{TileMatrixSetId}/{z}/{x}/{y}[@{scale}x][.{format}]` | image/bin | Create a web map tile image for a collection and a tile index
| `GET` | `/collections/{collection_id}/{TileMatrixSetId}/tilejson.json` | JSON ([TileJSON][tilejson_model]) | Return a Mapbox TileJSON document
| `GET` | `/collections/{collection_id}/{TileMatrixSetId}/WMTSCapabilities.xml` | XML | return OGC WMTS Get Capabilities
| `GET` | `/collections/{collection_id}/{TileMatrixSetId}/map` | HTML | simple map viewer

### Tiles
Expand Down Expand Up @@ -106,29 +105,4 @@ Example:
- `https://myendpoint/collections/my-collection/WebMercatorQuad/tilejson.json?assets=B01&tile_format=png`
- `https://myendpoint/collections/my-collection/WorldCRS84Quad/tilejson.json?assets=B01&tile_scale=2`


### WMTS

`:endpoint:/collections/{collection_id}/{TileMatrixSetId}/WMTSCapabilities.xml`

- PathParams:
- **collection_id**: STAC Collection Identifier.
- **TileMatrixSetId**: TileMatrixSet name (e.g `WebMercatorQuad`).

- QueryParams:
- **tile_format**: Output image format, default is set to PNG.
- **tile_scale**: Tile size scale, default is set to 1 (256x256). OPTIONAL
- **minzoom**: Overwrite default minzoom. OPTIONAL
- **maxzoom**: Overwrite default maxzoom. OPTIONAL

!!! important
additional query-parameters will be forwarded to the `tile` URL. If no `defaults` mosaic metadata, **assets** OR **expression** will be required

Example:

- `https://myendpoint/collections/my-collection/WebMercatorQuad/WMTSCapabilities.xml?assets=B01`
- `https://myendpoint/collections/my-collection/WebMercatorQuad/WMTSCapabilities.xml?assets=B01&tile_format=png`
- `https://myendpoint/collections/my-collection/WorldCRS84Quad/WMTSCapabilities.xml?assets=B01&tile_scale=2`


[tilejson_model]: https://github.com/developmentseed/titiler/blob/2335048a407f17127099cbbc6c14e1328852d619/src/titiler/core/titiler/core/models/mapbox.py#L16-L38
1 change: 0 additions & 1 deletion docs/src/endpoints/items_endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ The `Item` endpoints are created using TiTiler's [MultiBaseTilerFactory](https:/
| `POST` | `/collections/{collection_id}/items/{item_id}/statistics` | GeoJSON ([Statistics][multistats_geojson_model]) | return assets statistics for a GeoJSON (merged)
| `GET` | `/collections/{collection_id}/items/{item_id}/tiles[/{TileMatrixSetId}]/{z}/{x}/{y}[@{scale}x][.{format}]` | image/bin | create a web map tile image from assets
| `GET` | `/collections/{collection_id}/items/{item_id}[/{TileMatrixSetId}]/tilejson.json` | JSON ([TileJSON][tilejson_model]) | return a Mapbox TileJSON document
| `GET` | `/collections/{collection_id}/items/{item_id}[/{TileMatrixSetId}]/WMTSCapabilities.xml` | XML | return OGC WMTS Get Capabilities
| `GET` | `/collections/{collection_id}/items/{item_id}[/{TileMatrixSetId}]/map` | HTML | simple map viewer
| `GET` | `/collections/{collection_id}/items/{item_id}/point/{lon},{lat}` | JSON ([Point][multipoint_model]) | return pixel values from assets
| `GET` | `/collections/{collection_id}/items/{item_id}/preview[.{format}]` | image/bin | create a preview image from assets
Expand Down

0 comments on commit b53de47

Please sign in to comment.