Closed dr-shorthair closed 1 year ago
The convention existing since many years is that a version "0" refers to the latest version available, which seems to be the desired effect.
Version numbering as such appears important - how would we otherwise cope with EPSG changes where the original CRS number is retained by OGP? Ex: "Long" -> "Lon" in EPSG:4326.
If you really need the version number then use it. I'm just proposing to make it optional, so applications that do not need it don't have to fake it. (FWIW /0/
was always a kluge, to get around the ::
inherited from the URN standard.)
'The latest version available' assumes that 'versions' of definitions exist, which are different to each other enough to need a different URI, but somehow not different enough to change the last element of the URI. That does not apply to all applications.
In the definitions server we should aim to include (or entail) explicit prev/next/current links to versions.
on a side note I'm currently exploring mechanisms to reduce "old version clutter" from browse facilities :-)
I understand - there are many more interesting things than the pure version numbering captures.
What about adopting the old fact / rules distinction and have a semantic layer on top of the basic URIs? I recall anyway that at some time the community preferred URIs without interpretation of path components, just as opaque strings. So for bw compatibility the current state could remain, and a reasoning component could come on top of that, with the way more powerful reasoning mechanisms.
The OGC-NA approved this Motion on 2021-12-10.
"The OGC Naming Authority Sub-Committee approves the proposal to amend the OGC Name Type Specification - definitions - part 1 – basic name (OGC 09-048r5) policy document to make the version segment of the URIs optional. Use of the version number is still allowed. Upon approval of this motion, the Chair of the Sub-Committee will proceed to update the policy document ahead of submitting the revised document to the Technical Committee for approval."
The fix has been moved to the master branch.
An HTML version of the policy document will be generated once metanorma Issue 369 has been fixed.
Draft Policy revision sent to OGC-NA for review. This issue is addressed in Clause 5.2
The revised policy has been published.
I strongly recommend against having an explicit version-number in a URI identifier.
If a version is present, then it usually requires you to change all the URIs when you issue a new version, even for things that haven’t changed. That can really interfere and break things.
If a definition does change, then it is a new thing and should have a new identifier, which can be done in a better way than changing a version number.
In https://docs.opengeospatial.org/pol/09-048r5.html, update S6.2 to make the 'version' field optional.
6.2. Production rule for definition names
The basic form for an OGC name that identifies a definition shall be produced using the following rule:
"version" is optional. For un-versioned definitions: