[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Get ST_Value results from a tiled raster without	all of the NULL results
From:       Pierre Racine <Pierre.Racine () sbf ! ulaval ! ca>
Date:       2012-06-29 19:13:31
Message-ID: 87A96661E65C5541AB4D20721C2DD7F8CFBB620556 () EXCH-MBX-A ! ulaval ! ca
[Download RAW message or body]

> SELECT ST_Value(rast, ST_PointFromText('POINT(-59 -1)', 4326)) FROM
> modis.test

Did you try adding:

WHERE ST_Intersects(rast, ST_PointFromText('POINT(-59 -1)', 4326))

Pierre
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic