[postgis-users] Getshape from PostGIS error

Krishnaa Sridharan kichis at gmail.com
Mon Nov 6 20:22:02 PST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061106/e387b96f/attachment.html>


More information about the postgis-users mailing list