[postgis-users] ST_Value

maduako ikechukwu iykemadu84 at gmail.com
Tue Oct 25 09:39:22 PDT 2011


Hi guys
 I tried to extract the elavation value of a particular location on the SRTM
data i loaded on my database
using the following command
SELECT ST_Value(rast,ST_Point(-106.2,38.6)) AS Elevation
 From srtm;

but it only brought out a long  elevation column with no value shown.
What could be the issue?

Also If i try to issue a command like this :

SELECT ST_Value(rast) AS Elevation
 From srtm
 Where rid = 1304;

Error message. "function st_value(raster) does not exist"

Cheers!

-- 
Iyke Maduako

Masters in Geospatial Technologies
Institute for Geoinformatics,IfGI
University of Muenster Germany
Phone: +4915129048460
Alternative Email:iykefirstclass at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111025/5f9fd23f/attachment.html>


More information about the postgis-users mailing list