[postgis-users] ST_Intersect(raster, raster)

Bborie Park bkpark at ucdavis.edu
Thu Oct 13 07:49:54 PDT 2011


On Thu, Oct 13, 2011 at 7:27 AM, Joan <wamaithajoan at gmail.com> wrote:
> Hello,
>
> When I run the following query I get the error below. Anyone knows a
> solution?
> select ST_Intersects(forest.rast, dem.rast) from forest join dem on 1=1
> limit 1;
>
> ERROR: function st_intersects(raster, raster) is not unique
> LINE 1: select ST_Intersects(forest.rast, dem.rast) from forest join...
> ^
> HINT: Could not choose a best candidate function. You might need to add
> explicit type casts.
>
> ********** Error **********
>
> ERROR: function st_intersects(raster, raster) is not unique
> SQL state: 42725
> Hint: Could not choose a best candidate function. You might need to add
> explicit type casts.
> Character: 8
>

Another thought.  How old is your version of PostGIS?  ST_Intersects
only got added to PostGIS trunk in r7884 about three weeks ago.

-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list