Comments (4)
That's a really good question. It's not GeoJSON and I don't know if the standard says what the schema should be.
It would obviously be trivial to make it GeoJSON, but we should prioritise aligning with the standard.
Another option is having another outputFormat
option that is something like application:geojson
that returns proper GeoJSON, perhaps?
from datacube-ows.
The standard says very little:
The server shall return a response according to the requested INFO_FORMAT if the request is valid, or issue a
service exception otherwise. The nature of the response is at the discretion of the service provider, but it shall
pertain to the feature(s) nearest to (I,J).
i.e. any valid json document pertaining to "the feature(s) nearest to (I, J)" is compliant. (Given that we serve raster, non feature-based data, the interpretation of this part of the standard is even hazier.)
Current implementation reflects the behaviour of GSKY and changing risks breaking Terria integrations. I'll have a think and discuss with the Terria team, but nothing is likely to change in the short term.
from datacube-ows.
{
type: "FeatureCollection",
features: [
{
type: "Feature",
properties: {
x: 12726459.461369,
y: -3007797.063022,
time: "2016-10-31T23:59:59.000Z",
bands: {
LOW_swir1: 0.3680692,
LOW_nir: 0.22360356,
LOW_green: 0.07778366
}
}
}
]
}
from datacube-ows.
Very similar syntax to OWS, except OWS is much more verbose/informative and uses lat/lon coordinates.
from datacube-ows.
Related Issues (20)
- incomplete ows deployment env config in documentation
- aster getmap not loading
- [doc] style api error due to multi-dates
- IllegalArgumentException: Points of LinearRing do not form a closed linestring
- Unable to enable caching of GetMap/GetTile requests HOT 1
- Unhelpful metric labels for lambda layers
- Default behaviour when masking data not available. HOT 2
- How to add a polygon as a clip parameter for WMS and WCS layer HOT 2
- OWS config needs to be updated to move year, month and day time resolutions to summary HOT 1
- Prometheus Metrics - Noise From Prometheus Probes HOT 1
- The use of datacube-ows-update is poorly documented HOT 10
- New Feature: date display mapping HOT 6
- WMS does not show raster data hosted on private AWS S3 HOT 8
- some dependencies are too out-of-date for python3.10
- docker-compose failing for 1.8.35 HOT 2
- Setting the value of $PYDEV_DEBUG HOT 1
- Pluggable JWT validator to blueprints HOT 2
- Timezone issue in feat info HOT 4
- Feature request: expose dataset metadata fields in Feature Info HOT 4
- Change reference in error/help string
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 datacube-ows.