Comments (5)
Shouldn't be big or problematic change. Adjust the parameter handlers and mappers to accept values with offsets but handle everything in UTC inside hakunapi.
Somehow I'm thinking Core 1.0 was only supposed to support UTC timestamps, but I can't find anything that would say so.
from hakunapi.
Maybe it is this ticket opengeospatial/ogcapi-features#483
from hakunapi.
Talked about this on Hakunapi development meeting: to better comply with standard (fix on UTC timestamps) and avoid comparison issues (between timezones) also Hakunapi should only allow UTC timestamps.
So considering rejecting this. Or is there some particular use case where timestamps with offsets would be required?
from hakunapi.
Reading comments above and standard spec again..
As @komima originally commented the standard OGC API - Features - Part 1: Core allows also timestamps with offsets as it's specified only by this clause:
Parameter datetime: The syntax of date-time is specified by
RFC 3339, 5.6
Also OGC API - Common - Part 2: Geospatial Data DRAFT (https://docs.ogc.org/DRAFTS/20-024.html) specifies the same.
Restricting timestamp to UTC maybe (?) related to CQL queries as noted above?
So according to OGC API Features : Core 1 and commons part 2 draft this seem to be a bug in Hakunapi (even if it would be more explicit using just those UTC timestamps), but maybe fixing this is not priority 1 if there are not specific use cases for using timestamps other than UTC in datetime parameter?
from hakunapi.
Yes, it is written into the OGC API Common that the syntax of date-time is specified by RFC 3339 and so there is a bug in Hakunapi
. That leads into a strange situation: it should be possible to use datetime with the timezone in query, but for making the same query with CQL2 the time must be converted into UTC. I would say that it least it would be a best practice to stay with UTC all the time.
from hakunapi.
Related Issues (20)
- Change all occurrances of "Powered by hakuna" into ...hakunapi
- Support for containerized deployment and cloud service hosting HOT 6
- Axis order of response coordinates does not follow the requested CRS axis order HOT 4
- Allow source modules to perform CRS transformations
- Fix the name of the link: describedBy -> describedby
- Fix Open API document generated by Hakunapi and used by demo service HOT 4
- Support for publishing programmable application schemas of feature objects and codelists provided by OGC API Features service HOT 1
- Coordinate reference systems that differ only by axis order do not work HOT 2
- Ensure bbox queries work correctly when bbox spanning the antimeridian
- source-postgis: Add support for Unix Domain Sockets
- Query result parsing fails, but /items still return empty HTTP 200 result HOT 2
- Feature request: Add a generic configurable usage monitor/telemetry for operations GetCollectionItems, GetCollectionItemById
- Add support for Link headers
- Support for GeoPackage data source with documentation and sample code
- Support for Tomcat 10 and Jakarta HOT 2
- Support for Oracle data store
- Add option to configure HTML template external dependencies HOT 1
- Support for PostgreSQL uuid arrays
- HTML output format minor bugs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hakunapi.