[postgis-users] UPDATE a value using trigger and ST_Contains

Andy Colson andy at squeakycode.net
Thu Feb 21 18:53:13 PST 2013


>
>
>    select t1.gid from t1 where ST_Contains(t1.the_geom,ST_Centroid(NEW.the_geom)) info NEW."munic_id";


oops.  s/info/into/

-Andy



More information about the postgis-users mailing list