Error starting at line 1 in command:select OBJECTID from airway_segments where SDO_Filter(shape, SDO_Geometry(2003, 4326, null, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(-180,-90, 180, 90))) = 'TRUE'Error report:SQL Error: ORA-13226: interface not supported without a spatial indexORA-06512: at "MDSYS.MD", line 1723ORA-06512: at "MDSYS.MDERR", line 8ORA-06512: at "MDSYS.SDO_3GL", line 1193ORA-06512: at "MDSYS.SDO_3GL", line 132113226. 00000 - "interface not supported without a spatial index"*Cause: The geometry table does not have a spatial index.*Action: Verify that the geometry table referenced in the spatial operator has a spatial index on it.
select ID from FEED.TESTLAYER where SDO_Filter(shape, SDO_Geometry(2003, 4326, null, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(-180,-90, 180, 90))) = 'TRUE';
select ObjectID from testview where SDO_Filter(shape, SDO_Geometry(2003, 4326, null, SDO_ELEM_INFO_ARRAY(1,1003,3), SDO_ORDINATE_ARRAY(-180,-90, 180, 90))) = 'TRUE'; .... ------------------------------------------------------------------------------------------------------ | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ------------------------------------------------------------------------------------------------------ | 0 | SELECT STATEMENT | | 1 | 3848 | 3 (0)| 00:00:01 | | 1 | TABLE ACCESS BY INDEX ROWID| SDO_8307_2D_POINTS | 1 | 3848 | 3 (0)| 00:00:01 | |* 2 | DOMAIN INDEX | SDO_8307_2D_POINT_INDX | | | | | ------------------------------------------------------------------------------------------------------ Predicate Information (identified by operation id): --------------------------------------------------- 2 - access("MDSYS"."SDO_FILTER"("SHAPE","MDSYS"."SDO_GEOMETRY"(2003,4326,NULL,"SDO_ELEM_INF O_ARRAY"(1,1003,3),"SDO_ORDINATE_ARRAY"((-180),(-90),180,90)))='TRUE')
sdelayer -o describe -l TESTLAYER,SHAPE -u feed ArcSDE 9.3.1 for Oracle11g Build 2784 Tue Oct 27 10:51:14 2009 Layer Administration Utility ----------------------------------------------------- ---------------------------------------------------------------- Table Owner : FEED Table Name : TESTLAYER Spatial Column : SHAPE Layer id : 146 Entities : np+ Layer Type : In-Line Spatial Type I/O Mode : NORMAL Autolocking : Disabled Precision : High User Privileges : SELECT Layer Configuration: DEFAULTS
sdelayer -o describe_long -l TESTLAYER,SHAPE -u feed ArcSDE 9.3.1 for Oracle11g Build 2784 Tue Oct 27 10:51:14 2009 Layer Administration Utility ----------------------------------------------------- Layer Description ....: <None> Table Owner ..........: FEED Table Name ...........: TESTLAYER Spatial Column .......: SHAPE Layer Id .............: 146 SRID .................: 24 Minimum Shape Id .....: 1 Offset ...............: falsex: -500.000000 falsey: -500.000000 System Units .........: 8000000000000.000000 Z Offset..............: 0.000000 Z Units ..............: 1.000000 Measure Offset .......: <None> Measure Units ........: <None> XY Cluster Tolerance .: 0.0000000002 Spatial Index ........: parameter: SPIDX_RTREE exist: Yes array form: -2,0,0 Layer Envelope .......: minx: -180.00000, miny: -90.00000 maxx: 180.00000, maxy: 90.00000 Entities .............: np+ Layer Type ...........: In-Line Spatial Type Creation Date ........: Fri May 21 08:14:16 2010 I/O Mode .............: NORMAL Autolocking ..........: Disabled Precision.............: High User Privileges ......: SELECT Coordinate System ....: GEOGCS["WGS 84",DATUM["World Geodetic System 1984 [EPSG ID 6326]",SPHEROID["WGS 84 [EPSG ID 7030]",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Decimal Degree",0.01745329251994328]] Layer Configuration ..: DEFAULTS
sdelayer -o stats -l TESTLAYER,SHAPE -u feed ArcSDE 9.3.1 for Oracle11g Build 2784 Tue Oct 27 10:51:14 2009 Layer Administration Utility ----------------------------------------------------- The requested operation is not supported.
sdelayer -o feature_info -l TESTLAYER,SHAPE -u feed -p `decode $FEED` ArcSDE 9.3.1 for Oracle11g Build 2784 Tue Oct 27 10:51:14 2009 Layer Administration Utility ----------------------------------------------------- Row Id,FID,Entity Type,Annotation,Cad Data,Number of Points,Number of Parts,Number of Subparts,Self-Touching Rings,Minimum Precision 1,1,P,F,F,1,1,0,F,High 2,2,P,F,F,1,1,0,F,High 3,3,P,F,F,1,1,0,F,High 4,4,P,F,F,1,1,0,F,High 5,5,P,F,F,1,1,0,F,High 6,6,P,F,F,1,1,0,F,High 7,7,P,F,F,1,1,0,F,High 8,8,P,F,F,1,1,0,F,High 9,9,P,F,F,1,1,0,F,High 10,10,P,F,F,1,1,0,F,High 11,11,P,F,F,1,1,0,F,High 12,12,P,F,F,1,1,0,F,High 13,13,P,F,F,1,1,0,F,High 14,14,P,F,F,1,1,0,F,High 15,15,P,F,F,1,1,0,F,High 16,16,P,F,F,1,1,0,F,High 17,17,P,F,F,1,1,0,F,High 18,18,P,F,F,1,1,0,F,High 19,19,P,F,F,1,1,0,F,High 20,20,P,F,F,1,1,0,F,High 21,21,P,F,F,1,1,0,F,High 22,22,P,F,F,1,1,0,F,High 23,23,P,F,F,1,1,0,F,High 24,24,P,F,F,1,1,0,F,High 25,25,P,F,F,1,1,0,F,High 26,26,P,F,F,1,1,0,F,High Total rows examined: 26 Total invalid shapes: 0
sdelayer -o load_only_io -l mytab,geometry -u user -p pass sdelayer -o normal_io -l mytab,geometry -u user -p pass
You should always specify coordinate reference parameters, either with '-x/-m/-z/-P' or byusing '-R' with the registration ID of a layer in the same coordsys.
Starting with 9.3.1, the -t option is required ('-t sdo_geometry').
The user-set registered rowid column must map to an INTEGER [e.g., NUMBER(38) or NUMBER(6)-NUMBER(10)]
Did you really mean to register the layer as multi-point ('-e np+') or did you mean multi-partpolygon ('-e na+')?
sdelayer -o register -l TESTSHAPE,SHAPE -e np+ -C ID,USER -u feed -P HIGH -g NONE Enter Database User password: ArcSDE 9.3.1 for Oracle11g Build 2784 Tue Oct 27 10:51:14 2009 Layer Administration Utility ----------------------------------------------------- Error: Underlying DBMS error (-51). Error: Cannot Create Layer. ORA-01720: grant option does not exist for 'TESTSHAPE.MESSAGE_TEXT'
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.