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
queryByIndex error using postgis layer #4076
Comments
Author: edmarmoretti $indxlayer = $layer->index; foreach ($shp_list as $indx) {$map->querybyindex($indxlayer,-1,$indx,MS_TRUE);} echo $layer->getNumResults(); //return 0 |
@sdlime would this be related to RFC65 changes (sorry for the double post)? |
@sdlime should the provided example work in 6.2 ? |
I don't have access to my home machine but it seems like a problem with gcc 4.2 on older versions of OSX and not MapServer itself. I'll try on my work box. The example script should work with 6.2. Steve |
I can test with CGI. This isn't a MapScript issue per se... |
I can confirm this is fixed in 6.2+ and added a test in msautotest/query/query.map and query_postgis.map. Closing... |
Reporter: edmarmoretti
Date: 2011/11/10 - 15:08
Trac URL: http://trac.osgeo.org/mapserver/ticket/4076
The "querybyindex" has a problem when using a "layer" on the basis of postgis.
Using the same data, but based on shapefile, "querybyindex" operates normally.
example:
$shp_list = array(1,2,3,4,5,6,7,8,9);//this is ok - example only
$indxlayer = $layer->index;
foreach ($shp_list as $indx)
{$map->querybyindex($indxlayer,-1,$indx,MS_TRUE);}
echo $layer->getNumResults();
//return 0
In version 5.6 of Mapserver everything works fine, but in version 6.0.1, not.
Please help me!
The text was updated successfully, but these errors were encountered: