GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.43k stars 1.12k forks source link

Geonode Download filtered dataset, where filter is based on another layer #9856

Closed nagyrobir closed 2 years ago

nagyrobir commented 2 years ago

Expected Behavior

I have a point layer uploaded in Geonode, via the QGIS geonode plugin. I can view the dataset, everything works as expected. I have a polygon layer created through geonode with one polygon. Works as expected. When i try to filter the point layer by the polygon layer, the filtering works as expected. When i try to download the filtered dataset, i would expect to be able to download it, the same way as when i hand draw the polygon filter without using the polygon layer.

Actual Behavior

When i try to download the filtered dataset then i get the error message from the image attached. If i filter the point layer by a polygon that i hand draw, to be explicit, without the use of the polygon layer that i created manually,then i can export the filtered dataset without any problem

download_failed

Download all the points from the points layer, which intersect the polygon that i am drawing myself during the filtering -> Works! Download all the points from the points layer, which intersect the polygon that is in the polygon layer - > Does not work.

Steps to Reproduce the Problem

1.Get a point layer 2.Get a polygon layer 3.Intersect the point layer by the polygon layer

  1. Try to download the filtered dataset.

Specifications

marthamareal commented 2 years ago

This error is similar to the one raised when you try to export a map layer with the Layer filter option enabled. Steps to reproduce:

b3

NOTE: Export works fine if Layer filter is not enabled

giohappy commented 2 years ago

Issue moved to GeoNode/geonode-mapstore-client #1192 via Zenhub