[Geomoose-users] query.php problem

Brian Fischer bfischer at houstoneng.com
Wed Oct 17 14:17:37 PDT 2012


Bob, looks like only query.php was revised.  See http://trac.osgeo.org/geomoose/changeset/926/geomoose2/trunk/htdocs 

Brian Fischer, CFM
Principal | GIS Project Manager 
Houston Engineering, Inc.
O 763.493.4522 | D 763.493.6664 | M 763.229.2734


-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Wednesday, October 17, 2012 12:35 PM
To: Jim Klassen; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] query.php problem

Does this patch appear in query.php only, or are other code files affected?  
Just want to know if I can simply replace that one file.

-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Jim Klassen
Sent: Wednesday, October 17, 2012 1:22 PM
To: Matej Mailing
Cc: GeoMOOSE Users List
Subject: Re: [Geomoose-users] query.php problem

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
>
>
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users


More information about the Geomoose-users mailing list