-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
segfault with getfeatureinfo or wfs access on clustered layer! #5219
Comments
|
very probably a duplicate of #5205 |
|
Hi, |
|
@gsueur please provide a backtrace and reopen |
|
Hi gsueur, |
|
Hi, No segfault but... a GetFeature request returns this warning: Removes 'CLUSTER' and it normally works. |
|
You are right, I was to fast... |
|
Hello, we get similar segfault with a clustered layer with WMS-T. We will try to test the last master release. |
|
I confirm m431m remark. My yesterday's install was screwed up, the system was still using the older lib. But with a clean install of 7.0 branch, I don't segfault anymore but the request's result is not correct. Only one record is returned and mapserver complains about the lack of gid. |
|
The segfault reported in this ticket has been fixed, please open a new issue for this failure (and add @szekerest in cc) |
|
@szekerest The Processing Options “CLUSTER_GET_ALL_SHAPES” only works as KVP. So adding an equal sign plus anything does it (i.e. “=ON”, also =OFF works ;-) ) this should be documented. PROCESSING "CLUSTER_GET_ALL_SHAPES=ON" --> This does it finally - draw a clustered map and after featureinfo'ing such a clustered point list all underlying Features and their attributes. The Processing Options are not documented - it would be nice, if this could also be done. |
|
@ruhri please file a documentation ticket (in https://github.com/mapserver/docs/issues) describing all of the changes that you need, and I'll tackle them. The more detailed you make the ticket (with examples) the easier and faster it will be done. Thanks! |
GetMap against a service /layer with clustering works, GetFeatureInfo produces a segfault (tested locally on the server), WFS-Requests also produce segfaults...
Datasource is PostGIS, the layer looks similar to the example in http://mapserver.org/mapfile/cluster.html , but is simpler.
my MAPFILE (connection was xxx'ed):
Turning clustering off, featureinfo and wfs do work well.
MAPFILE-VARIANT (moving Featureinfo/WFS to another hidden grouped layer), it works too, :
The text was updated successfully, but these errors were encountered: