Comments (4)
This is a limitation of Postgis. Postgis requires a numeric SRID which is more or less equivalent to an EPSG code, and does not understand WKT. The materialised view reprojects the extent from the native CRS to EPSG:4326 for the search index within the database, using Postgis SQL functions, so there's really no way around this with the current implementation. You could create a new SRID for the CRS in Postgis (which would involve translating from WKT to proj4text) but you would also need to set the CRS to "EPSG:<new_srid>" which would break everything outside of Postgis, so that's not very helpful.
Note that this is not a new regression in 1.8.39 - this issue will affect all OWS versions since the materialised view approach was first adopted.
The new postgis index driver in datacube-core 1.9.x should facilitate a solution (as the projection from the native CRS to the search index CRS(s) is done in Python at indexing time), but OWS support for this new driver is still a few months off.
from datacube-ows.
OK. Thank you, @SpacemanPaul. We'll look into some work-arounds.
Could we turn off materialised views for selected products? For our case the MODIS Land sinusoidal products are not in the ows-config; they're just having their materialised views created as part of the whole datacube, I assume.
from datacube-ows.
That sounds doable. I'm planning to start work on some major cleanups of and updates to OWS shortly, so I should be able to get a workaround into the next release.
from datacube-ows.
Related Issues (20)
- XML error results are returned with 200 status code HOT 11
- [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 11
- 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.