Thanks Andreas, I will give that a go.

 

 

Date: Thu, 09 Feb 2012 17:21:15 +0100

From: Andreas Neumann <[email protected]>

Subject: Re: [Qgis-user] postgis / PHP

To: <[email protected]>

Message-ID: <[email protected]>

Content-Type: text/plain; charset=UTF-8; format=flowed

 

Hi,

 

You can use the Postgis commands "ST_AsText()" and "ST_GeomFromText()" 

 for this purpose. If you want to extract x/y you can use

ST_AsText(ST_X(the_geom)) AS x.

 

Hope this helps? It is really easy - not complicated at all.

 

Andreas

 

 

 

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to