[postgis-users] Rast index : Could not get raster's convex hull

Bborie Park bkpark at ucdavis.edu
Wed Nov 28 17:20:21 PST 2012


Hey Hugues,

What is your output for

SELECT postgis_full_version()

-bborie

On 11/26/2012 08:01 AM, Francois Hugues wrote:
> Hello,
> 
> Here is an error I don't understand when I want to index som tiles from
> a raster table :
> ERROR:  RASTER_convex_hull: Could not get raster's convex hull
> 
> Here is the query which does not work: 
> create index slopes_alpes_rast on rasters.slopes_alpes using
> gist(st_convexhull(rast));
> 
> Here are queries that does work without any error :
> 
> 1. simple select give me a geometry for all of my tiles and no one is
> null:
> 
> select rid, st_convexhull(rast) from rasters.slopes_alpes
> 
> 2. simple select + index on newly created table :
> 
> create table rasters.tmp_index_gist as select rid, st_convexhull(rast)
> geom from rasters.slopes_alpes
> create index tmp_idx on rasters.tmp_index_gist using gist(geom)
> 
> It's weird, isn't it ? Any idea of what's happening ? Where do I make a
> mistake or what is wrong with my data ?
> 
> Hugues.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> 

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


More information about the postgis-users mailing list