-
Notifications
You must be signed in to change notification settings - Fork 3
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
crs-compound: Support compound CRS including ISO-8601/Gregorian #29
Comments
On 2021-09-14 the OGC-NA discussed the
This issue is therefore being transferred to the GitHub repo of the Architecture DWG. |
I don't think that this has been assessed properly by OGC-NA. crs-compound is the only way to properly define multi-dimensional CRSs that are not predefined (which is a common case, due to the exponential number of possible combinations). With the same argument BTW OGC-NA must deprecate the WMS AUTO CRSs - they likewise are not identifying CRSs. As this so much ignores common sense, is it motivated politically? |
of course not!!
not at all. Coverages are using time coordinates since many years because the resolver DOES know time CRSs. |
The way forward would be to support an array of CRSes to compound instead for the
The problem is that we are missing a simple proper CRS for Gregorian time. There are serveral issue with the use of the AnsiDate and UnixTime ones. There was some initial discussion at a recent Members Meeting in the Temporal DWG ( see opengeospatial/NamingAuthority#101 ), I am not sure what the latest status is ( @chris-little ? :) ) |
The issue is not whether crs-compound is useful or not. The issue is whether crs-compound falls within the scope of the work allowed by the OGC-NA Charter. The OGC-NA considered this and arrived at the decision documented in Issue opengeospatial/NamingAuthority#93 (comment) that crs-compound falls out of scope of the remit specified in the Charter. So the question then becomes whether a resource that is outside of the scope of the OGC-NA's Charter can be offered through http://www.opengis.net/def . This question is probably answered by the fact that OGC Coverage Implementation Schema with Corrigendum (OGC 09-146r8) references the crs-compound service, so the TC has authorised the crs-compound service to be offered through http://www.opengis.net/def . So there is justification for not changing the URL. So the next question is, considering the current Charters, which working group/sub-committee should have control over the crs-compound service? I will arrange a joint Architecture DWG and OGC-NA telecon after the December 2021 OGC Member Meeting to discuss this question. |
@pebau @ghobona See also opengeospatial/coverage-implementation-schema#7 and opengeospatial/NamingAuthority#119 (comment) for discussion of how An array of CRSes (or multiple CRS tags in XML) to be compounded serves the exact same purpose in a way much easier for clients to understand
I think efforts should focus on finding the proper solution going forward (i.e. what needs to be done with CIS and GML so that multiple CRSes to be compounded can be specified for |
@jerstlouis just in brief, too busy currently: there are a few wrong points above, and some points are already given by the current resolver practice. Also, not sure we want to impose JSON now everywhere, including situations that have no real need for it. I remember XML trying that years back, and we may not want to repeat the headaches. |
@pebau When you have a chance, it would be good to know what is wrong with the points above. The idea is not to impose JSON everywhere at all: any other encoding would also be able to provide multiple CRSes to be compounded, including XML/GML. |
@jerstlouis As an aside, the view of the Temporal DWG, for a long time, has been that "a Calendar is not a temporal CRS is not a Calendar". E.g. |
@chris-little The problem I think with all these nuances is that there is a lack of clarity & consistency, and us poor implementers are left with nothing that works in practice.
And here we have the uom / trs confusion. |
@jerstlouis Does this help: |
@chris-little Thanks. I would love to say that it does :) Do the bottom boxes derive from the upper ones? To try to make sense of this: Is it that bottom ISO 19111 box that would be referenced by |
@jerstlouis You could use the ISO8601 notation to describe a proper Temporal CRS i.e. only one UoM (say milliseconds, or years) but the notation strictly would not let you specify a duration of more than 60ish seconds, or more than 30 ish days. There was an attempt several years ago to try to decouple the ISO8601 notation from the Gregorian semantics, and extend it to cover some TCRSs, like the WMS1.3 notation for intervals/layers, but it didn't get anywhere. I think this area could be a useful, but not easy task, for the Temporal DWG in the future providing ISO is amenable too. I am not sure how the diagram should be interpreted in detail, as I just stole it from the DGGS people. There are no multiplicity indicators etc on the diagram. And I repeat my mantra: |
@chris-little The slight problem with that mantra, is that while in theory those are in fact different concepts, in practice the OGC API specifications require a proper temporal reference system supporting a calendar-based notation for date+time :) I think even if multiple numbers are used (year, month, day, hour, minute, second, milliseconds...) to express a position on the temporal axis, it is still technically a "single coordinate" / "single unit", as it points to a single point in time, just like "Unix seconds since Jan 1, 1970". This is not really different than decimal degres vs. degree/minutes/seconds, except for the extra complexity of dealing with months, leap years & leap seconds. As long as a fixed set of rules is established as to how to interpret such elements of the temporal coordinate (e.g. from an ISO 8601 notation string), then I hope such a "ISO 8601 / proleptic Gregorian calendar / UTC time scale TRS" should be a proper TRS where the natural notation is ISO 8601, rather than some other arbitrary concept like UnixTime seconds since 1970. |
@jerstlouis The problem is And even Apple could not code the correct algorithm for leap days in 2012. So "a fixed set of rules" is another work item for the Temporal DWG? |
The fixed rules can simply cite "leap seconds as decided by the relevant authority".
From https://en.wikipedia.org/wiki/ISO_8601 it says
I am not sure how accurate that is -- as long as an agreement is made as to how it works, then things can be well defined, and hopefully following the ISO 8601 best practices.
This mostly seems like a documentation / "implementors beware" aspect.
It really should be possible to define a TRS based on the most accurate current timekeeping practices, plus standardize one way to handle older dates.
It should at least be possible to specify it right, even if it is not so straightforward to code.
Well, yes, I imagine that this would make up the essence of this general purpose TRS! :) |
Currently, Common and Features reference http://www.opengis.net/def/uom/ISO-8601/0/Gregorian as the temporal reference system.
However, that does not resolve with http://www.opengis.net/def/crs-compound as can be seen e.g. with:
http://www.opengis.net/def/crs-compound?1=http://www.opengis.net/def/crs/EPSG/0/4326&2=http://www.opengis.net/def/uom/ISO-8601/0/Gregorian
This is preventing to define spatio-temoral reference systems that would be commonly used with OGC API - Coverages.
This may be because that definition is currently mistakenly defined as a unit of measurement rather than a CRS or TRS.
Related to opengeospatial/NamingAuthority#101
The text was updated successfully, but these errors were encountered: