You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Querying a LAYER works fine as an individual layer, but querying the same LAYER as soon as it was combined in a GROUP with other related layers, causes a 500 server error:
Call to a member function getProjection() on a non-object in \htdocs\php\select.php on line 215
This is happening with the buffered_select tool in GM 2.6.1.
Suggested approach for a fix from @klassenjs (not tested):
"Ideally, the PHP would check for groups and explode them into layers then act on the layers.
That would probably be implemented by checking both the name and group of each layer and including the layer if either match as it iterates through. Something like this :
I moved how layersToQuery array is built. Funny enough we have a loop that disabled all of the layers, so I moved the logic there since we were looping there anyway.
Querying a LAYER works fine as an individual layer, but querying the same LAYER as soon as it was combined in a GROUP with other related layers, causes a 500 server error:
Call to a member function getProjection() on a non-object in \htdocs\php\select.php on line 215
This is happening with the buffered_select tool in GM 2.6.1.
reported first here:
http://lists.osgeo.org/pipermail/mapserver-users/2012-September/073223.html
and discussed here:
http://osgeo-org.1560.x6.nabble.com/Geomoose-users-getProjection-error-select-php-td5058806.html
The text was updated successfully, but these errors were encountered: