[Mapserver-users] Why the result of getresult(0) gives the value me of shapeindex -1
    jose.quintal at cfe.gob.mx 
    jose.quintal at cfe.gob.mx
       
    Wed May 28 15:31:16 PDT 2003
    
    
  
if ($queryresult == MS_SUCCESS)
     {
       $results = $layerObj->resultcache;
       $num_results = $layerObj->getNumResults();
  //   we only expect one result.
       $rslt = $layerObj->getResult(0);
   //    this is an index into the point lookup table.
     $record = $rslt->{shapeindex};
     echo "record: " . $record;
       $point_name = $point_lookup[$record];
        echo "Encontrado " .  $point_name;
    }
Thanks
José Antonio Quintal Castillo
Sistemas
Tel 9243128  O  9243136
    
    
More information about the MapServer-users
mailing list