[postgis-users] Getshape from PostGIS error

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Nov 9 04:33:47 PST 2006


On Mon, 2006-11-06 at 23:22 -0500, Krishnaa Sridharan wrote:
> Hi all, Iam trying to use getshape() using php mapscript but getting a
> fata error like this  "Call to a member function on a non-object
> in.... "
>  
> $oresult = $rid->getResult(0);
> 
> $orid->open("");
> 
> $Shape = $orid->getShape($result->titleindex,$result->shapeindex);
> 
> $Extents = $Shape->bounds; 
> 
> $Shape->free("");
> 
> $orid=close("");
> 
>  
> 
> can some one help me with this. Or can some one sujest a way to get
> shape info from the results so that i can display it?
> 
> Thanks


Hi Krishnaa,

This is probably a mapserver rather than a PostGIS question - try
posting your mail to the mapserver-users mailing list instead. You can
find more information about subscribing to the mapserver mailing list at
http://mapserver.gis.umn.edu.


HTH,

Mark.





More information about the postgis-users mailing list