[Mapserver-users] more (known issue: no results with QueryByPoint (Mapserver 3.7 PHP mapscript))
Eric Bridger
eric at gomoos.org
Wed May 21 05:27:08 PDT 2003
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 :(
More information about the MapServer-users
mailing list