geosolutions-it / ogc-testbed

Management repository for OGC testbed and other initiatives
0 stars 0 forks source link

Update tiles API to new resource layout #75

Closed aaime closed 4 years ago

aaime commented 5 years ago

From conversation on the list:

My only comment is aobut this URL:

http://maps.geo-solutions.it/geoserver/ogc/tiles/collections/vtp:AgricultureSrf?f=application/json Please take into account that the last (and very recent) decision was to move most of the stuff to another URL.


In practice this means:

add this link:

href: "http://maps.geo-solutions.it/geoserver/ogc/tiles/collections/vtp:AgricultureSrf/tiles rel: "tiles" type: "application/json" title: "tiles description"and remove most of the links that points to tiles and the rest of the tile specific stuff and move the vector tile links and the rest of stuff to: http://maps.geo-solutions.it/geoserver/ogc/tiles/collections/vtp:AgricultureSrf/tiles see the last spec [1] for details as well as the last Swagger HUB document [2].

In addition, consider that an additional URL should be present:

"http://maps.geo-solutions.it/geoserver/ogc/tiles/collections/vtp:AgricultureSrf/map/tiles for the tiles that are rendered (png, etc). It includes the rendered tiles links and, unfortunately, this forces you to replicate most of the information about the tileMatrixSetLinks and Limits. See see the last Swagger HUB document for details [3].

[1] https://htmlpreview.github.io/?https://github.com/opengeospatial/OGC-API-Map-Tiles/blob/master/standard/OAPI_MapsTiles.html [2] https://app.swaggerhub.com/apis/UAB-CREAF/ogc-api-tiles-opf-xmp-vt-more-1-collection/1.0.0#/Tiles%20metadata/describeTiles [3] https://app.swaggerhub.com/apis/UAB-CREAF/ogc-api-map-tiles-opf-xmp-mt-more-1-collection/1.0.0#/Map%20tiles%20metadata/describeMapTiles


aaime commented 5 years ago

Also check the other conversation about links and infos in the tile matrix set itself ... the API has moved quite a bit...

aaime commented 4 years ago

Fixed