opengeospatial / ogcapi-styles

A Web API that enables map servers, clients as well as visual style editors, to manage and fetch styles.
https://ogcapi.ogc.org/styles
Other
10 stars 5 forks source link

Proposal to use "rel" : "style" rather than style sheet, with ?f= or Accept-Encoding selecting sheet through media type, and results in an actual style resource #2

Closed jerstlouis closed 3 years ago

jerstlouis commented 4 years ago

Implementation example @ http://maps.ecere.com/geoapi/collections/vtp/Daraa2/styles?f=json

http://maps.ecere.com/geoapi/collections/vtp/Daraa2/styles/newNight

is an actual style resource with multiple style sheets (one per supported encoding).

jeffharrison commented 4 years ago

Thanks Jerome!

Best Regards, Jeff

jeffharrison commented 3 years ago

This Issue has been "overcome by events". SWG recommended closing on 20 Apr.

jerstlouis commented 3 years ago

We have adopted the stylesheet rel to link to the actual style sheet representation (e.g. SLD/SE, MapboxGL, CMSS) in our implementation. (Updated end-point: http://maps.ecere.com/ogcapi/collections/Daraa/styles?f=json)

This still allows to have one single style resource supporting multiple encodings selected through content negotiation. No longer sure whether there ever was an issue (that was fixed) or not.