[Mapserver-users] more (known issue: no results with QueryByPoint (Mapserver 3.7 PHP mapscript))

Eric Bridger eric@gomoos.org
21 May 2003 12:27:08 +0000


On Wed, 2003-05-21 at 15:01, Michael Härtel wrote:

In the Unix tradition, QueryByPoint() returns zero on success. Now you
need to do something like: (sorry this is perl mapscript, not php)

 my $results = $layerObj->{resultcache};
 my $num_results = $results->{numresults};
 for my $i (0..$num_results-1){
    my $rslt = $layerObj->getResult($i);
 }
> 
> BUT: $query is an integer, that ALWAYS is "0"! i think $query should 
> return "MS_SUCCESS" (1) if some objects in the shape file were found but 
> it doesn't!
> 
> So i think my situation has not really changed :(
 


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users