[postgis-users] New to PostGIS question.

Eric Sepich sepotovich at gmail.com
Sun Jun 26 17:00:40 PDT 2011


I exported a .shp full of polygons to my PostGIS enabled database. I think
the data is in WKB (Well known binary format) but I am not sure yet.
Attached is a screenshot. I need to write a query to return the first shape
in the table and I need to be able to get the coordinates of the shape into
an array. My language will be PHP to start out with. I have been reading the
documentation but I really don't understand enough yet to really get
started. Does anyone know readily how to do something like this?

Thank you,
Eric S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110626/530af867/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 130312 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110626/530af867/attachment.png>


More information about the postgis-users mailing list