geonode
geonode copied to clipboard
Filter Dataset by another layer throws error
Expected Behavior
Filtering Dataset A (i.e. Points) by Dataset B (Targetlayer, i.e. Polygons) works and only the Points which intersect/lay within the Polygons are shown.
Actual Behavior
Trying to Filter a dataset by another layer in the map throws an error instead of filtering the data to represent:
I tried all three options, none is working as expected.
I tested in our instance as well as with the stable demo geonode (different data, but same situation):
https://stable.demo.geonode.org/catalogue/#/map/8445
The Error seems to be related to the number of objects/nodes (high number of vertices) of a dataset. I could filter my pointlayer with a simple polygon layer (just some squares), but if I use i.e. a layer with 2nd level administrative boundaries of a country it will throw the above error.
If this is an issue which can be resolved with some adjustments in Geoserver, please tell me.
Steps to Reproduce the Problem
- Create a map with a point layer and a polygon layer
- filter the point layer to show only data within the polygon layer
- The error should arrive
Specifications
- GeoNode version: 4.1.3
- Installation type (vanilla, geonode-project): geonode-project
- Installation method (manual, docker): docker
- Platform: Ubuntu 20.04
- Additional details: Bug could be related to the problem, that clipping a dataset to current extent for download is failing