[mapserver-users] Re: 5.6.1 Postgis problem

Sandeep Kumar Chauhan sandeepk.tech at gmail.com
Wed Jan 20 06:45:56 PST 2010


Hi Steve,

 Thanks for help, i changed my code according to your suggestion.

if (layer.queryByPoint(Map, point, (int)mapscript.MS_SINGLE, tolerance) ==
...
{
    resultCacheObj result = layer.getResults();
                    if (result.numresults > 0)
                    {
                        resultCacheMemberObj rrr = result.getResult(0);
                         shapeObj shape = new shapeObj((int)layer.type);
                         layer.resultsGetShape(shape, rrr.shapeindex,
rrr.tileindex);
                        ...
                        ...
                        ...
Now it is working fine. Again thanks for help

Thanks,
   -Sandeep 
-- 
View this message in context: http://n2.nabble.com/5-6-1-Postgis-problem-tp4392177p4426856.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list