Cannot create the spatial index

It's a little bit of the puzzle for me this one, I made this little time on different system and I do not understand why it's here

Oracle 11.1.0.7 Windows 64-bit

We have simple following table:

CREATE TABLE DASHBOARD. DSGEOEXCEPTION
(
GEOIDE NUMBER NOT NULL,
ZORDER INTEGER DEFAULT 0 NOT NULL.
HOUSENO VARCHAR2 (100),
STREET VARCHAR2 (100),
VARCHAR2 (100) SUBURBAN,.
CITY VARCHAR2 (100),
COUNTY OF VARCHAR2 (100),
DESCRIPTION VARCHAR2 (200),
MDSYS FORM. SDO_GEOMETRY
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
NOMONITORING;

ALTER TABLE DASH. (ADD) DSGEOEXCEPTION
CONSTRAINT DSGEOEXCEPTION_PK
KEY ELEMENTARY SCHOOL
(GEOIDE)) ;



Insert values (user_sdo_geom_metadata)
"DASHBOARD. DSGEOEXCEPTION',.
"FORM."
MDSYS. () SDO_DIM_ARRAY
MDSYS. SDO_DIM_ELEMENT ('LONGITUDE',-180, 180, 0.00005),
MDSYS. SDO_DIM_ELEMENT ('LATITUDE',-90, 90, 0.00005)
),
8307);

until then, everything is good.

I run the two sql suite to ensure that everything is fine

Select * from USER_SDO_GEOM_METADATA;
Dashboard. DSGEOEXCEPTION, shape, ((LONGITUDE,-180, 180, 5E-5), (LATITUDE, -90, 90, 5th-5),), 8307
select * from mdsys.sdo_geom_metadata_table
DASHBOARD, dashboard. DSGEOEXCEPTION, shape, ((LONGITUDE,-180, 180, 5E-5), (LATITUDE, -90, 90, 5th-5),), 8307
select * from ALL_SDO_GEOM_METADATA;


first 2 return one row as planned last returns nothing

creating the index

CREATE INDEXES DASH. DSGEOEXCEPTION_SIDX ON DASHBOARD. DSGEOEXCEPTION
(FORM)
INDEXTYPE IS MDSYS. SPATIAL_INDEX
NOPARALLEL;

or

CREATE INDEXES DASH. DSGEOEXCEPTION_SIDX ON DASHBOARD. DSGEOEXCEPTION
(FORM)
INDEXTYPE IS MDSYS. SPATIAL_INDEX;


fails with the error:

ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
ORA-13203: cannot read the notice USER_SDO_GEOM_METADATA
ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10



According to one of the posts, I run this

ALTER session set current_schema = MDSYS;
@$ORACLE_HOME/md/admin/prvtgmd.plb

but no difference I can always create index


Any suggestions?

Please, try the following:

Insert values (user_sdo_geom_metadata)
"DSGEOEXCEPTION,"
"FORM."
MDSYS. () SDO_DIM_ARRAY
MDSYS. SDO_DIM_ELEMENT ('LONGITUDE',-180, 180, 0.00005),
MDSYS. SDO_DIM_ELEMENT ('LATITUDE',-90, 90, 0.00005)
),
8307);

Tags: Database

Similar Questions

  • Data Modeler - cannot create a spatial index

    Good day, colleagues!

    I have a version 584 of the Modeler of Dala.

    Here is her quote Guide of Modeler of Oracle SQL Developer data:

    "Properties of spatial definition 3.82.
    ...
    Benchmark ID: Value Oracle Spatial SRID. ...
    + Create Spatial Index: Determines if a spatial index is created. +
    Name of the spatial Index: name of the spatial index.
    ..."

    I have a SDO_GEOMETRY column in my table and want to create the spatial index.

    The problem is that there is no option "Create Spatial Index" in my space definition properties window. There is only 'The Spatial Index name' option. When I am creating the spatial index manually, I can't, because the option 'Space' for index creation is not active. I checked the table option 'Save as space Table', but it also did not help.

    So, I have no way to create a spatial index. How can I do?

    Hello usamytch,

    create spatial index is confusing. We will improve it in future releases. Here are the steps:
    (1) creation of index - no need to add columns
    (2) create the spatial column definition ('space properties' in the dialog table)
    (3) in the definition of the spatial column, you can select the size of the spatial column, coordinate ID system, and you can select one of the existing indexes to be used as a space.
    (4) after this index appear as space and you can define the spatial properties in the index dialog box
    (5) you must check 'Save as space Table' in order to get meta-space data generated by DDL

    There are additional space properties, that you can set in the physical model.

    Philippe

  • Error creating the Spatial Index for SRID 8307 on newly hardened database

    Oracle 11g Rel2, Windows 2003 platform

    Help, please...

    Meeting with error message:
    ERROR on line 1:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-13249: internal error in the Spatial index: [mdidxrbd]
    ORA-13249: geodetic initialization error turn
    ORA-13249: SRID 8307 does not exist in the table MDSYS.CS_SRS
    ORA-29400: data cartridge error
    ORA-04063: package body 'MDSYS. SDO_CS"contains errors
    ORA-06512: at the 'MDSYS. SDO_INDEX_METHOD_10I', line 10

    After running the command

    INSERT INTO USER_SDO_GEOM_METADATA VALUES
    ("PointGeometry",
    "pointGeom,"
    MDSYS.sdo_dim_array (mdsys.sdo_dim_element ('Longitude',-180, 180, 1),
    mdsys.sdo_dim_element('Latitude',-90,90,1)),
    8307
    );

    CREATE the INDEX IDX_POINTGEOMETRY on PointGeometry (pointGeom) indextype is mdsys.spatial_index parameters('LAYER_GTYPE=POINT');

    When I ask mdsys.sdo_cs I see that there are actually SRID 8307. This index was created in this schema without problem. The problem only arises once the hardened customer database and we tried to recreate the schema (and index).

    Probably not coincidentally, I also get error:
    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE
    ORA-04063: package body "CTXSYS. DRIXMD' has errors
    ORA-06508: PL/SQL: called program unit is not found: 'CTXSYS. DRIXMD ".
    ORA-06512: at "CTXSYS. DRUE", line 145
    ORA-06512: at "CTXSYS. TEXTINDEXMETHODS', line 366
    ORA-04063: package body "CTXSYS. DRIXMD' has errors
    ORA-06508: PL/SQL: called program unit is not found: 'CTXSYS. DRIXMD ".

    When attempting to create and index Oracle Text context.

    Your help is greatly appreciated.

    Then, that's the problem.

    MDSYS user now has not run, and select privileges on the dbms_lob package.

    You must grant privileges on this package in MDSYS.

    Note that you can run into other issues of privilege package like this, so you must correct all by the granting of the
    required privileges for MDSYS.

    Siva

  • How to find duplicate keys found when error ORA-01452: cannot CREATE a UNIQUE INDEX.

    Hi gurus,

    I fall for this stupid error

    "cannot CREATE a UNIQUE INDEX; duplicate keys found.


    It is that the Unique Index key is composed of multiple columns

    CREATE A UNIQUE KEY001AUTORISATIONS_APPORT ON TFT_AUTORISATIONS_APPORT INDEX

    (AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION)

    TABLESPACE KEYS_TFT NOPARALLEL NOLOGGING

    Now,.

    My question is, how to find duplicates keys blocking Index creation?

    Thanks if you can help

    Run this query to display the list of the duplicates already existing.

    Select AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION, count (1) as cnt

    of TFT_AUTORISATIONS_APPORT

    Group

    AUT_APPORTEUR, AUT_AGENCE, AUT_PRODUIT, AUT_OPTION, AUT_TARIF, AUT_DATE_AUTORISATION

    view count (1) > 1

    Concerning

    NJ

  • bypassing the spatial index

    Hello

    Could someone please answer questions? :

    I was reading the book 'Pro Oracle Spatial' and it has the following about phase two of filtering when using space operators:

    «In some cases, however, the optimizer to decide to bypass the spatial index.» She then calls the secondary filter (i.e., the function of geometry engine) directly on the rows in the table. (This can happen for various reasons... »

    My questions:

    (1) where can I find more information on the "variety of patterns" when this happens?

    (2) is it possible to force Oracle Spatial not use filter primary and go directly to the secondary filter? The reason why I want to do this is that I'm doing my own prior filtering that corresponds to the primary filter and I have a condition of additional query (with spatial condition), which allows to select only those that are previously filtered.

    (3) or is there another Oracle Spatial function exactly like SDO_ANYINTERACT, but applies only the secondary filter (and therefore does not require an spatial index)?

    Any help is greatly appreciated.

    Upendra

    (1) for example, select * tab where c1 = 1 and sdo_anyinteract (...) = "TRUE";

    If "c1 = 1" is very selective, say only a single line or for very little is returned.

    sdo_anyinteract (...) cannot pass through the spatial index.

    (2) you can always use the / * + full * / reference as:

    Select / * + full (a) * / * from tab where sdo_anyinteract (...) = "TRUE";

    (3) SDO_GEOM. RELATE() seems to be what you are looking for.

  • Error in the spatial index

    Hello world

    I created a spatial index on a table, but I get the error message:

    ORA-13033: sdo_geometry sdo_elem_info_array data not available

    How can I write a SQL command to delete these unavailable records?

    Hello

    you will find an example with a similar error. Simply, you can validate spatial data, to find the invalid records:

    DROP   TABLE sdo_test;
    
    CREATE TABLE sdo_test (
      nr      NUMBER,
      GEOM     MDSYS.SDO_GEOMETRY);
    
    COMMIT;
    
    --correct
    INSERT INTO sdo_test VALUES (1,
      SDO_GEOMETRY(3302, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1),
        SDO_ORDINATE_ARRAY(-87.899771, 42.000853, 0, -87.899109, 42.000847, 54.8504622)));
    
    --correct
    INSERT INTO sdo_test VALUES (2,
      SDO_GEOMETRY(3302, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1),
        SDO_ORDINATE_ARRAY(-87.917489, 41.992077, 0, -87.917063, 41.99174, 51.4503307)));
    
    --empty SDO_ELEM_INFO_ARRAY
    INSERT INTO sdo_test VALUES (3,
      SDO_GEOMETRY(3302, 8307, NULL,  SDO_ELEM_INFO_ARRAY(),
        SDO_ORDINATE_ARRAY(-87.925704, 41.965994, 0, -87.925705, 41.965445, 60.9789892)));
    
    DELETE FROM USER_SDO_GEOM_METADATA
      WHERE TABLE_NAME = 'SDO_TEST' AND COLUMN_NAME = 'GEOM' ;
    
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
      VALUES ('SDO_TEST', 'GEOM',
        MDSYS.SDO_DIM_ARRAY
          (MDSYS.SDO_DIM_ELEMENT('X', -87.925705, -87.8991090, 0.001),
           MDSYS.SDO_DIM_ELEMENT('Y',  41.965445,  41.9654450, 0.001),
           MDSYS.SDO_DIM_ELEMENT('M',    0.00000,  60.9789892, 0.001)
         ),8307);
    
    --DROP   INDEX sdo_test_geom_spix;
    
    --ORA ERROR 13033
    CREATE INDEX sdo_test_geom_spix
              ON sdo_test(geom)
       INDEXTYPE IS MDSYS.SPATIAL_INDEX
    PARAMETERS('sdo_indx_dims=2');
    
    --find the invalid record
    SELECT nr, SDO_GEOM.VALIDATE_GEOMETRY(geom,0.001) val
      FROM sdo_test; 
    
    nr     val
    -----------------------
    1    TRUE
    2    TRUE
    3    13033
    

    Oops - where is the preview in the new design?

    Found while waiting for the syntax highlighting (-> switch to the Advanced Editor, paste your code, mark it, click on the > button (insert), select syntax highlighting, choose style... >)

  • Satellite C55-A-1JL - 10 Windows sound driver - cannot create the instance of the APO

    Hello.

    I have Toshiba Satellite C55 - A (PSCGAE).

    Yesterday, I've updated my Windows 8.1 to Windows 10 and install the drivers.

    Version 1.2.41.0 of his Studio of DTS (32/64 bit).

    When I try to open this application I have error: cannot create the instance APO.

    What should I do?

    You need to update the audio driver (I guess that your device uses IDT HD audio card)
    But double check in Device Manager, then expand the section audio controllers, video and game to find out what kind of sound card you have.

    DTS Studio seems to be already aware...

    So I advise you to go to the Device Manager and uninstall its drivers Associates
    After reboot new, Windows 10 must check updates automatically... in case that it does not happen, you can try to manually start the update of the Device Manager.

  • says device cannot create the folder

    have been on a cruise and tried to use their computer to download some photos but wouldn't work - now my camera says * cannot create the folder *-my computer can't see also photos even though my computer says there is only 3 GB of space left on a 16 GB of my camera card is an EOS 60 d - my card a San disk Ultra 30 Mb 10 16 GB

    It seems that the SD card is damaged. But it might be possible to recover the files. There are a lot of tips online on how to do it. You could start here... http://www.PCAdvisor.co.UK/how-to/storage/3481659/how-get-files-off-corrupt-SD-card/

    Good luck, I know how much vacation photos can mean.

  • Cannot create the folder on the storage device

    My flash player works well, but lately, I can't create a folder: it simply indicates: cannot create the folder?

    My flash player works well, but lately, I can't create a folder: it simply indicates: cannot create the folder?

    =====================================
    The dialog box you received usually indicates that there
    are too many files copied to the root directory of the
    flash drive.

    The solution is to remove one or more pictures and
    create new empty folders in their place... then move
    all the photos in the files... problem solved.

  • KB2628259 doesn't install, cannot create the directory or file. Anyone know of a solution?

    KB2628259 doesn't install, cannot create the directory or file. Anyone know of a solution?

    Hi dakota25,

    ·         Did you do changes on the computer before the show?

    ·         You are able to install other updates successfully?

    ·         You get the error message?

    Follow these methods.

    Method 1: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: You can also manually install updates (KB number) by downloading from the Microsoft Download Center.

    http://www.Microsoft.com/downloads/en/default.aspx

    Method 4: Follow the steps in the article.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    You cannot install some programs or updates

    http://support.Microsoft.com/kb/822798

  • Error message: cannot create the folder C:\Documents and Settings\Marlon\Local Application BVRP Software\NetWaiting\MoHlog.txt Settings\

    I recently had a problem with the virus 'Restore Windows'. I was able to get rid of it with Malwarebytes antivirus scanner, but when I turn on my computer I get this error message.
    Cannot create the folder C:\Documents and Settings\ of Settings\Marlon\Local Application BVRP Software\NetWaiting\MoHlog.txt

    I'm no expert, but I feel that my C drive disappeared, or at least has been hidden. My documents, pictures and music files are all empty. My programs (start > all programs) have been removed and deleted the shortcuts on the desktop. When I go to my computer, my personal and shared document files are not accessible. Under the description it says that they are hidden. My local disk (c) is also empty, but there is still very little space which suggests that programs and files have not been deleted.
    Is it possible to recover my files?
    Thank you

    Hello

    MoHlog.txt file is related to the software of modem on the computer, you can uninstall and reinsta it check if it works.

    Also scan your computer for any infection by virus still present on the computer using any scanner online.

    You can also try the system restore to the point before that the computer has been infected by the virus and check if it helps.

    Good luck!

  • Empty Device Manager and for error message "cannot create the enumerated device root need to install Parallels paravirtualization pilot".

    Original title: Device Manager empty

    I have Windows XP Service Pack 3 installed in a Bootcamp partition on my Intel iMac. I can detect and install new hardware such as USB keys. However, the Device Manager window is blank - how can I get the window to display the devices connected to the computer? I am also unable to install Parallels tools when I use Bootcamp as a virtual machine. The error message "cannot create the 'root-enumerated device' necessary to install Parallels Paravirualization driver.

    Hey Harcjk,

    For your first question, go through this article.

    None of the items appear in the device list manager when you open
    http://support.Microsoft.com/kb/311504

    For the second question, here are some suggestions:

    Method 1: Uninstall & install Parallels tools

     

    NOTE: we highly recommend you make a backup of the virtual machine before you continue.

    a. start your virtual machine and cancel the installation of Parallels Tools Wizard.

    b. Click Start--> Panel--> Add / Remove programs and remove the Parallels tools in the list of applications.

    c. restart Windows.

    d. install the Parallels tools by clicking on the Virtual Machine--> install the Parallels Tools.

    Method 2: Uninstall antivirus software

    If the problem persists, try the following:

    Temporarily uninstall all the antivirus software to the virtual machine and repeat steps of the "Uninstall & install Parallels Tools" section above.

    Note: Don't forget to install the back antivirus software, once the problem is resolved.

     

    Method 3: Uninstall, clean & install Parallels tools

     

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following windows Help article.

     

    How to back up and restore the registry in Windows XP

    http://support.Microsoft.com/kb/322756

    a. If the problem persists, try the following:

    b. start Windows.

    c. go to "Start" > "Control Panel" > "Add/Remove Programs" and uninstall theParallels Tools if it is present.

    d. go to 'my computer' > 'C' drive > "Program Files" > "Parallels" folder and delete the "Parallels Tools" folder, if present.

    e. click the Windows 'Start' menu-> 'run' and type 'regedit'. Click OK.

    f. in the registry editor, go to "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Parallels" and delete the heading "Parallels Tools" and go to "My Computer\HKEY_CURRENT_USER\SOFTWARE\Parallels" and remove the 'Tools' section.

    g. restart Windows.

    h. now install Parallels tools in the 'VM' menu on the Parallels Desktop menu bar, while Windows is running.

    I hope this helps.

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot create the C:\WINDOWS\system32\drivers\drive.sys file

    Cannot create the file 'C:\WINDOWS\system32\drivers\drive.sys '. The process cannot access the file because it is being used by another process.

    I get this error message all the time on my desk. No matter what I do, internet research, watch videos, listen to music, work offline, it does not apply to just be online. I really want to know how to solve this problem, I searched everywhere I could, and I can't find again no anwer. Please reply and if you want more information, then I'll be happy to provide.
    Thanks for your time.

    Hello

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the above article.

    It will be useful.

  • Cannot create the Image of the system or system, unknown error repair disc: 0x80004005.

    Original title: cannot create the Image of the system or system repair disc

    I just bought a new Windows 7 computer. I tried to create a system repair disc, but still receive the error msg - error (0x80004005) unspecified. I tried - and lost - several DVDs in the process. Also, not able to create a System Image disc. The computer says that I have to format the drive and when I click OK, it goes through the movement, then gives me an error msg that the Format has failed. (In addition, it does me not the possibility not to format the drive.)  Very frustrating...

    Hi iamkira,

    This problem can be caused by a conflict with other programs installed on your computer, usually antivirus software. Follow the steps described in this document to create the drive in a clean boot state.

    Let us know if that helps.

  • Windows cannot create the network map. Responses of the other devices on the network are delayed or on the network, there is a router incapatible

    Original title: no network card
    I installed a NETGEAR N300 Wireless USB Adapter on my computer which is a desk top Dell 64-bit running Windows 7 Edition Home Premium. There are five computers on my network. Two of the others use the same model of NETGEAR wireless USB adapt. I removed the Ethernet cable after the installation of the wireless adapter. I can say that the new wireless adapter works fine. When I tried to map the network I got the same message that appears in some of these problems: "Windows cannot create the network map. Responses of the other devices on the network are delayed or there is a router on the network incapatible". I have restarted this computer in SafeMode as suggested in the above problems. I tried other things like disabling the wired connection has always existed for the cable. No effect. Then I tried mapping the network on the other computers. All failed with the same message. All the other four computers are 32-bit. Three of these computers are also running Windows 7 Home Premium. They are the best desktop computers. The other computer is a Windows 7 Starter netbook running. It is the 32-bit computer, always using a cable. That will be replaced with the same wireless adapter model NETGEAR. Anyone know how to fix this or is this a bug? It would be nice of the network software of Windows 7 has worked as it is supposed to. TO.

    I went the last wired wireless computer and the problem disappeared. The five computers can view the map now without any problems.

Maybe you are looking for

  • Need BIOS for Satellite A100-773

    Hey,. I need a new BIOS for Windows 7 32 bit. I can't start my OS by DVD Thank you

  • Microsoft iashost.exe / real service (program) or not?

    found this service running on the computer when I went to windows defender to see what programs were running in the background and how many of them moments schost can work under windows vista?

  • Very slow to start my computer even more slow start the Internet browser

    It takes a long time to start my computer and then an error box opens upward that States: To run this application you must first install one of the following versions of the .NET Framework. V 4.0.30319 contact your application Publisher for instructi

  • No. 4 / LTE after android update 6

    Once again a problem after the android update. This time from 5.1 to 6 android update Yesterday I received a pop up that a system update was available.  Installed with PC companion and checked the phone and settings. Everything seems to work, but the

  • Force indicator update

    My application uses an indicator of demand (OS 7.0), but even though I can see that the value is correctly set, the account again on the icon does not update. The initial value is set correctly by using this: protected public static void setIndicator