-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
identifier syntax for OAPI Common #19
Comments
Teleconference 20190503: Likely a topic for OGC API Common or even OpenAPI. Use international IRIs (RFC 3987). Comply to RFC 6570 "URI Template". There seems to be no coverage specific restrictions needed. |
The only real restriction I can think of is that path elements cannot include the ":" character. So qualified names cannot be used as commonly formatted :. Unless we want to specify how to work around this limitation, then I think @Schpidi suggestion to specify compliance with RFC 3987 and 5670 are the best option. |
For inspiration, OData (OGC SensorThings API) specifies for identifiers when used in URLs:
|
How about using the text below, taken from OGC API - Features" ? "This document does not restrict the lexical space of URIs used in the API beyond the requirements of the HTTP and URI Syntax IETF RFCs. If URIs include reserved characters that are delimiters in the URI subcomponent, these have to be percent-encoded. See Clause 2 of RFC 3986 for details." http://docs.opengeospatial.org/is/17-069r3/17-069r3.html#_http_uris |
percent-encoding of slashes in the path-part of a URL is problematic. Tomcat simply doesn't allow it, many other systems have problems with it too. Essentially, the Features text ends up being "slashes are not allowed in identifiers", so it would be better to explicitly state that... |
In the_ WCS SWG teleconference it was decided to recommend using hyphens to encode colons as used in qualified names to OGC NA and ask for feedback. |
Please note this comment opengeospatial/NamingAuthority#55 (comment) |
20200708: As stated in opengeospatial/NamingAuthority#55 this would be out of scope of OGC-NA and best addressed by OGC API standards themselves which would probably make it an OGC API - Common issue. |
This issue has been re-assigned to API-Common Issue 153. |
in several places we use identifiers (such as coverages, collections). We should define admissible names and their representation, such as: char set, encoding, entities for escaping special characters, etc.
The text was updated successfully, but these errors were encountered: