Created
March 23, 2017 05:41
-
-
Save codingmiao/f2cf0d262ad1cc51eab77fb0b1e4f7b8 to your computer and use it in GitHub Desktop.
oracle spatial表供geoserver使用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--http://gis.stackexchange.com/questions/103760/tif-tfw-to-geotiff | |
--http://stackoverflow.com/questions/32324726/how-to-get-projectionespg-number-from-fif-or-tfw-file | |
INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID) | |
VALUES ('V_POWER_CUT_NET_DFG_CABLE', 'SHAPE', | |
MDSYS.SDO_DIM_ARRAY | |
(MDSYS.SDO_DIM_ELEMENT('X', -180, 180, 0.000000050), | |
MDSYS.SDO_DIM_ELEMENT('Y', -180, 180, 0.000000050), | |
MDSYS.SDO_DIM_ELEMENT('Z', 0,0, 0.000000050) | |
), | |
4326); | |
Create index POWER_CUT_NET_G_SEGMENT_sidx on POWER_CUT_NET_G_SEGMENT(SHAPE) Indextype is mdsys.spatial_index |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment