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

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Wed Nov 28 17:07:21 PST 2012


Hugues,

This is definitely a strange problem. Maybe Bborie have an idea?

Pierre

> -----Original Message-----
> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
> bounces at lists.osgeo.org] On Behalf Of Francois Hugues
> Sent: Monday, November 26, 2012 11:01 AM
> To: PostGIS Users Discussion
> Subject: [postgis-users] Rast index : Could not get raster's convex hull
> 
> 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


More information about the postgis-users mailing list