[postgis-users] error in extent command

temiz temiz at deprem.gov.tr
Mon May 21 13:16:54 PDT 2007


I created spatial db as:

bzk2=# select addgeometrycolumn('exp1','geom',32767,'GEOMETRY',2);

then I wanted to insert  this value to spatial db. But I received this 
message:

update exp1 set geom=(select extent(wkb_geometry) from shey6  where 
shey6.cat=2);
ERROR:  new row for relation "exp1" violates check constraint 
"enforce_srid_geom"

what can I do ?

regards


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the postgis-users mailing list