opengeospatial / ogcapi-common

OGC API - Common provides those elements shared by most or all of the OGC API standards to ensure consistency across the family.
https://ogcapi.ogc.org/common
Other
45 stars 14 forks source link

Avoid proliferation of links in resources #296

Open aaime opened 2 years ago

aaime commented 2 years ago

When linking to a related resource, some implementations provide a full set of links, targeting every supported representation of the target resource. This can cause the size of documents to grow significantly.

Possible approaches:

The second approach is based on the assumption that the client will just provide a list of supported/preferred formats in the Accept header. In case the client actually wants to find out which representations are supported, then:

It is to be noted that Commons currently provides no indication about the usage of those two methods, while OGC API Features recommends implementing HEAD.

cmheazel commented 2 years ago

This is the sort of information we try to capture in the Users Guide. That suggests two actions: 1) Add a section to the Users Guide and populate it 2) Add a reference to that content in the Common Part 2 standard.