Mercurial > dive4elements > river
changeset 5354:555a99dff849
Jetties are two dimensional
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 20 Mar 2013 17:58:45 +0100 |
parents | d086ce6c13d3 |
children | 480d2f1f61cc |
files | flys-backend/doc/schema/oracle-spatial.sql |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/doc/schema/oracle-spatial.sql Wed Mar 20 17:55:53 2013 +0100 +++ b/flys-backend/doc/schema/oracle-spatial.sql Wed Mar 20 17:58:45 2013 +0100 @@ -394,7 +394,7 @@ km NUMBER(7,3), z NUMBER(38,12) ); -INSERT INTO USER_SDO_GEOM_METADATA VALUES ('jetties', 'GEOM', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',3282450,3912240,0.001),MDSYS.SDO_DIM_ELEMENT('Y',5248260,6100130,0.001),MDSYS.SDO_DIM_ELEMENT('Z',-100000,100000,0.002)), 31467); +INSERT INTO USER_SDO_GEOM_METADATA VALUES ('jetties', 'GEOM', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',3282450,3912240,0.001),MDSYS.SDO_DIM_ELEMENT('Y',5248260,6100130,0.001)), 31467); CREATE OR REPLACE TRIGGER jetties_trigger BEFORE INSERT ON jetties FOR EACH ROW BEGIN SELECT JETTIES_ID_SEQ.nextval INTO :new.id FROM dual;