[postgis-users] raster2pgsql, _add_raster_constraint_extent fails with "array size exceeds the maximum allowed"

2016-11-18 Thread Avernar
I was importing a very large raster set and after a day it failed with array size exceeds the maximum allowed when setting the extent constraint. I redid the import again by just doing the table create and then adding the data and then doing the final bunch of sql statements manually to avoid havi

Re: [postgis-users] Question on performance probably related to detoast and/or bboxes

2016-11-18 Thread Stephen Woodbridge
Hi Regina, On 11/18/2016 3:28 AM, Regina Obe wrote: Since you are doing 0.0, you might be better off using ST_Intersects So st_dwithin(pnt, a.geom, 0.0) change to: ST_Intersects(pnt,a.geom) Did this change recently? I was under the impression that st_dwithin was faster than st_intersects?

Re: [postgis-users] Restore a raster dump from PostGIS 2.1.0 to PostGIS 2.3.0

2016-11-18 Thread Giuseppe Broccolo
Hi Cedric, 2016-11-18 14:21 GMT+01:00 ced : > Hi all, > > I am upgrading PostgreSQL and PostGIS from 9.3/2.1 to 9.5/2.3. > > I perform the backup on the old server (9.3/2.1) like this using pg_dump. > > Then, on the new server (9.5/2.3), I restore the backup using pg_restore. > > Everything is co

[postgis-users] Restore a raster dump from PostGIS 2.1.0 to PostGIS 2.3.0

2016-11-18 Thread ced
Hi all, I am upgrading PostgreSQL and PostGIS from 9.3/2.1 to 9.5/2.3. I perform the backup on the old server (9.3/2.1) like this using pg_dump. Then, on the new server (9.5/2.3), I restore the backup using pg_restore. Everything is correctly restored, except just one raster table, a DEM, whic

Re: [postgis-users] Question on performance probably related to detoast and/or bboxes

2016-11-18 Thread Regina Obe
Since you are doing 0.0, you might be better off using ST_Intersects So st_dwithin(pnt, a.geom, 0.0) change to: ST_Intersects(pnt,a.geom) Or did you try that already? How many points does ST_NPoints return for your exclusion area? If a lot, then detoasting might be an issue and then you