[Geomoose-users] query.php problem
Jim Klassen
klassen.js at gmail.com
Wed Oct 17 10:22:14 PDT 2012
Thanks.
This looks like a good solution to me. I have created ticket #166 and
applied the patch in r926 in trunk. I'd appreciate it if others would
test this out because I don't tend to use the PHP stuff much.
On 10/17/2012 04:57 AM, Matej Mailing wrote:
> I have changed it this way and it works when there are no results and
> when there are results, without the need for the nextShape() call:
>
> for($i = 0; $i <
> $queryLayer->getNumResults(); $i++) {
> $shape =
> $queryLayer->getShape($queryLayer->getResult($i));
> if($projection) {
>
> $shape->project($projection, $LATLONG_PROJ);
> }
> $resultFeatures[] = $shape;
> $numResults += 1;
> }
>
> In my understanding there must be a loop to fill the $resultFeatures
> since in mode 'map' they are drawn from it.
>
> Regards,
> Matej
>
>
More information about the Geomoose-users
mailing list