-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"FeatureType Grid Widget" returns empty geometries when a spatial filter is set #852
Comments
Bug report created for MapStore geosolutions-it/MapStore2#7893 |
Upstream PR has been mertged. |
@marthamareal to be tested |
I have tested this with master.demo and development.demo. But both are failing. see images below |
@DavidQuartz can you please inspect the WPS request and verify that the MapStore fix is actually there? |
@giohappy I confirm that the fix is actually there. I made a quick test with the same datasets as @marthamareal on master and dev instances and both were successul. Seeing from the error @marthamareal is getting, it's not related to the initial GML error. I suspect it may be related to this issue on mapstore about failing exports which should currently be under investigation on the server side. |
@marthamareal can you confirm it's happening only for download formats except CSV? This is what the issue reported by @DavidQuartz says. |
Yes that's correct. It only succeeds on CSV format |
After clearing my browser |
Apparently, this depends on the version of Geoserver. MS is using GS 2.20 SNAPSHOT while GN is still on 2.19 SNAPSHOT. |
@afabiani commented on Thu Dec 02 2021
Expected Behavior
When trying to download a dataset with a spatial filter applied like shown her below, I'd expect the process correctly generating the output file
Actual Behavior
The
Download Process
fails with anEmpty Geometries Null Pointer Exception
errorSteps to Reproduce the Problem
Specifications
@luorlandini commented on Fri Dec 03 2021
after some investigation, the problem seems to be on the geoserver side
this is the request done to geoserver:
url: https://localhost:8081/geoserver/ows?service=WPS&version=1.0.0&REQUEST=Execute&access_token=8K6lZPHv1Vx7poFaxgM8uDE9b0mhgw
payload:
this is the response about that request:
mapstore send wps:Data, unless the ogc filter is not valid for geoserver, the problem seems to be on that side
@giohappy commented on Fri Feb 04 2022
Notice that when the same polygon is set a ROI input to the WPS process, everything works fine.
Attributes filters are also working fine.
The text was updated successfully, but these errors were encountered: