developmentseed / developmentseed/titiler

add `/map` prefix to tiles endpoint

Open
#1,126 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.2k
Forks
254
Avg merge
1d 16h
Merged PRs (30d)
9

Description

right now we have tiles endpoints in form of `/tiles/{tileMatrixSetId}/{z}/{x}/{y}` which is compliant with OGC Tileset specification.

we could also comply with `dataset-tileset` and `tilesets-map` conformance by adding `/map` prefix to the /tiles endpoints

```
# now
../tiles
../tiles/{tileMatrixSetId}
../tiles/{tileMatrixSetId}/{z}/{x}/{y}[@{scale}x][.{format}]
/tileMatrixSets
/tileMatrixSets/{tileMatrixSetId}

ConformsTo:
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-list
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/oas30

# after
../map/tiles
../map/tiles/{tileMatrixSetId}
../map/tiles/{tileMatrixSetId}/{z}/{x}/{y}[@{scale}x][.{format}]
/tileMatrixSets
/tileMatrixSets/{tileMatrixSetId}

ConformsTo:
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-list
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/dataset-tilesets
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-map
- http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/oas30
```

ref: https://docs.ogc.org/is/20-057/20-057.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.