[postgis-devel] Changing raster srid

Etienne B. Racine etiennebr at gmail.com
Tue Dec 21 13:35:01 PST 2010


Finally, I went for :

alter table my_raster drop constraint enforce_srid_rast;
update smallr set rast = st_setsrid(rast, 32186);
alter table my_raster add constraint enforce_srid_rast CHECK (st_srid(rast)
= 32186);

Could it be dangerous ? It seems that everything is fine, but just to be
sure it is a good solution.

Etienne
-- 
View this message in context: http://old.nabble.com/Changing-raster-srid-tp30499595p30509939.html
Sent from the PostGIS - Dev mailing list archive at Nabble.com.




More information about the postgis-devel mailing list