[postgis-users] Load tiles on a raster table breaks alignment constraint

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Fri Mar 30 10:45:34 PDT 2012


> Am I doing something wrong? What is the correct way to load a raster table
> with existing tiles without breaking alignment constraint?

We should probably have a tolerance parameter in the ST_SameAlignment check...

I would suggest you just ST_SnapToGrid(raster) all your tiles and then try to reapply the alignment constraint.

http://postgis.refractions.net/documentation/manual-svn/RT_ST_SnapToGrid.html

Pierre


More information about the postgis-users mailing list