# HG changeset patch # User Andre Heinecke # Date 1363798725 -3600 # Node ID 555a99dff84927bccffe988942b29f5ee7c31824 # Parent d086ce6c13d381bb94624c26cf4662c4a7f6a45d Jetties are two dimensional diff -r d086ce6c13d3 -r 555a99dff849 flys-backend/doc/schema/oracle-spatial.sql --- 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;