the insertion of the spatial data error

Hi all

I have a problem when the spatial data is inserted. could someone help me please to solve this.

I created a table with spatial index.
INSERT INTO USER_SDO_GEOM_METADATA
            VALUES('SDO_CA_test', 'CA', SDO_DIM_ARRAY(
                 MDSYS.SDO_DIM_ELEMENT ('LON', 71.19545, 120.35101, 0.000005),
                 MDSYS.SDO_DIM_ELEMENT ('LAT', 12.1145, 26.58041, 0.000005)), 8687);
       
     
     CREATE INDEX IO_CA_test ON SDO_CAR_test(CA)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_COMMIT_INTERVAL=10000 SDO_RTR_PCTFREE = 0');
When I insert data from another spatail table that does not have a clue, I get an error.
insert into sdo_ca_test as select * from base_sdo;

ORA-29875 Failed in the ececution of the ODCINDEXINSERT routine

ORA-13354 incorrect offset in ELEM_INFO_ARRAY
ORA_06512 at MDSYS.SDO_INDEX_METHOD_101 line. 709
I think that there are some incorrect data that are not with my index defination.

How can I check these invalid data in base_sdo table. The base_sdo table has no index.

Rgds
SAZ

Published by: Saaz Ena on December 21, 2009 18:16

You can try SDO_GEOM. VALIDATE_GEOMETRY_WITH_CONTEXT
or SDO_GEOM. VALIDATE_LAYER_WITH_CONTEXT? for example

Select * from base_sdo where
SDO_GEOM. VALIDATE_GEOMETRY_WITH_CONTEXT (a.CA, 0,000005). = "TRUE";

Tags: Database

Similar Questions

  • Cannot install the code dates error 0 x 641 and erro code 0x8007F070 on windows xp

    I have windows xp and can not install one up-the error code 0 x 641 and 0x8007F070 are just two of the codes that keep appearing.

    Thank you

    Lorna

    Hi LornaAggett,

    Since it's on a server system it would be preferable that you asked your question here: http://social.technet.microsoft.com/Forums/en-us/winserverwsus/threads

  • REST error response, the BODY data include

    I use the REST Web Service to build an API for a few screws

    I want to do the following:

    1. If an error occurs, then change the answer as it is '500' or some non-OK answer.
    2. Include error information in the return data (error code, etc.)

    I have 1 above by composing the response Code of HTTP Set VI.  However, when I do this I am not able to return data (the body is empty).

    Is there a way to return data while also affecting the response code to a non-OK response?

    If this isn't the case, then I must always return '200 OK', even if the errors occur and enter an error for each transaction data structure.

    To close the loop on this one.  If anyone is interested in the follow-up to this request for Corrective Action, the number is 400778.

    A work around for this problem is to use the output mode of flow rather than mode output Terminal.  This will allow you to write a response and set the code.

    KiraT

  • Export to 'insert' spatial data

    I use a database of the R1 11 g sqldeveloper - 1.1.3.with. I try to get the instructions for inserting a table that I loaded the Shapefile (including the SDO_GEOMETRY).

    I get inert statements without any space as given below:
    Insert in YOU (TRID, GEOM) values (100,'MDSYS.) SDO_GEOMETRY');

    I use this method: make a right click on the table of the "tree of the Explorer of connections", select export data, and insert...

    Y at - it another way to export the spatial data to insert sql.

    Wells 1.1.3 is quite old, try upgrading to the latest version.

  • Stale data error solved only by selecting "use update batching".

    Hello

    I'm having a problem after you create a page to update in the OPS.  The page works that when I select update, batch processing in my OE.  The problem with this is that my page uses a column type of the BLOB that gray on the possibility of using batch update.  I have tried everything I can think as well as on all possible subjects of research on the internet for this problem.  Can't seem to understand.  It has become very frustrating as to why I can only update the table by selecting the batch update.  Does anyone know how to fix this?

    Thank you

    The f

    I solved this problem.  The reason why I was getting stale data error was due to a custom table that get damaged when adding primary key through SQL Developer rather than do this coding, I created.  After that I recreated the stale data error table stopped display.  Hope this helps people in the future.  Remember to encode the creation of the table instead of creating through SQL Developer.

  • Error occurred when the XML data is inserted in the table.

    Hello

    I'm trying to load the xml data into the table of following code.but get below error

    Error on line 1
    ORA-31011: XML parsing failed
    ORA-19202: an error has occurred in the processing of XML
    LPX-00222: error received from the SAX callback function
    ORA-06512: at "SYS." DBMS_XMLSTORE', line 78
    ORA-06512: at line 21

    DECLARE
     
      xmldoc   clob;
      insCtx   DBMS_XMLStore.ctxType;
      dname    varchar2(20) := 'MDIR';
      rows  number;
     
     BEGIN
     
        xmldoc := dbms_xslprocessor.read2clob(dname, 'try_xm3.xml');
        insCtx := DBMS_XMLStore.newContext('try1');
     dbms_output.put_line('1');
        DBMS_XMLStore.setRowTag(insCtx, 'cajas');
     rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
     
     commit;
      dbms_output.put_line('INSERT DONE '||TO_CHAR(rows));
     
      DBMS_XMLStore.closeContext(insCtx);
     
     END;
    <?xml version="1.0" encoding="utf-8"?>
    <cajas xmlns="PBcion.Caja" fec="2011-03-02T14:20:14" codDeleg="093">
      <caj codPrev="80001223" fechaInicio="2011-03-02" fec="2011-09-02" couta="01" idPerio="1" caj="32"></caj>
     </cajas>
    can you please look at this?
    I m using oracle 10g
    insert
      into try1
      with t as (
                 select xmltype('') x from dual
                )
      select  codPrev,
              fechaInicio,
              fec,
              couta,
              idPerio,
              caj
        from  t,
              xmltable(
                       '/'
                       passing x
                       columns
                         codPrev number path '@codPrev',
                         fechaInicio varchar2(25) path '@fechaInicio',
                         fec varchar2(25) path '@fec',
                         couta number path '@couta',
                         idPerio number path '@idPerio',
                         caj number path '@caj'
                      )
    /
    
    1 row created.
    
    SQL>  select  *
      2    from  try1
      3  /
    
       CODPREV FECHAINICIO               FEC                            COUTA    IDPERIO        CAJ
    ---------- ------------------------- ------------------------- ---------- ---------- ----------
      80001223 2011-03-02                2011-09-02                         1          1         32
    
    SQL> 
    

    SY.

  • 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... >)

  • 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

  • 2 blocks from the database data insert into the same base table?

    Hello
    I have the C_NEW canvas. On this canvas, elements of 3 blocks are usable by the user.

    1 block NEW_HEAD: 3 Articles say X 1, X 2, X 3
    2 block NEW: record multi say Y1 thru Y10 text fields. Also a scroll bar.
    3 block NEW_ACTION: 6 buttons say B1 to B6 (one of them is N_OK which matches the element in question)

    two NEW, NEW_HEAD blocks are blocks of db and have the same basic so-called BT table when users click on the N_OK (after filling the data in the NEW_HEAD and then NEW block in that order), I need the data between the two the NEW, NEW_HEAD to enter the BT. currently only the NEW data goes to BT. in the BT table fields that correspond to the fields X 1, X 2, X 3 in the NEW_HEAD remains null after clicking on the N_OK button. I put commit_form in the N_OK code, since the blocks are blocks of db (as suggested by the people, it is easier to issue a commit_form that a lot more work in writing my own SQL).

    How can I achieve this?

    Thank you
    Chiru

    There is therefore no N_LC_DMG_ALLOW column in the table, that the block is the result. You must set the property "Section of the database" not for all the elements that are not of the columns in your database table.

    And when an error occurs, then the full treatment stops, so its clear that there is no inserted record.

  • If I sell my iPhone 6, indicating the error 53, for parts, should I worry about the person buying it have some sort of access to the personal data registered on this phone?

    If I sell my iPhone 6, indicating the error 53, for parts, should I worry about the person buying it have some sort of access to the personal data registered on this phone?

    Hello error 53 matched a UN failure to the home button you had to replace the screen or the home button alone or outside apple store so if you replace the button man of origin and you restored the iPhone error will be fixed but if you sell the buyer has no access to the data of the iPhone

  • How can insert different types of data in the table?

    Hello
    How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.

    example:
    index0 car 10 green

    car red 11 index1
    Index2 car Blue 12

    where green car red and blue car as string and 10, 11 and 12 in the numeric form.
    then I extracted 10, 11 and 12 a digital table

    and, the green car, red car, blue car in a string array

    Help!

    Use 'Analysis of the chain' as in the picture as an attachment.  This will extract the number and color that you can add tables later.

  • Error: 0xc000012f and the KERNEL DATA PAGE FAULT

    My son has a laptop of game.  Since last week, he experienced extreme problems.  A constant if the following errors: 0xc000012f and the KERNEL DATA PAGE FAULT.  Although I'm not technologically savvy, I tried the obvious in running virus scan and visiting different communities for troubleshooting tips.  When you run the antivirus (paid service) analysis, the system hangs and the system restarts.  I attended ASUS website in the hope of getting more advice than to have to provide access to the laptop of my son to a technician who gave me some insurance for the better part of 45 minutes that he help and troubleshooting problems.  He highlighted a very detailed chart of downtown action (reliable?), which looked pretty serious.  Suffice it to say, the conversation ended when he asked a one-time fixed fee of $200.  When I refused, he went to stop everything.  I would simply like to take any action that will further damage the laptop of my son. I paid $3K for this system.  Is someone can you please help me solve these problems?  I was going to buy a registry cleaner but was informed in an online community chat room not to do so that these products are not reliable.  Thank you all in advance for your review and taking the time to help me.

    Original title: need assistance immediately please.

     We need the log files themselves (called a DMP files) because they contain the only record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.


    Please follow our instructions to find and download the files, we need to help you fix your computer. They can be found here

    If you have any questions regarding the procedure, please ask


    I find the files DMP prayed and tried their zip.  I received the following: file not found or no read permission.

    I took it to a repair shop for yesterday I had to argue that these issues were well beyond my skill level.  The owner of the store insisted that the 'hard drive' was "fried".  It was agreed to replace the necessary parts (gave me a "Crucial - M4 Solid State Drive - 128 GB), this is the info on the box, to replace my 750Go son.  He said that, even if was less "room" it would "fly".  The original price was $ 200 and climbing!  Give me the question my faith in humanity at this time.  Is not relevant to the prey on someones lack of knowledge.  You and the other hand, all those who try to make a difference... who are trying to help is welcomed.  I wish offered troubleshooting would come to maturity.  Nonetheless, I humbly thank you for your support and follow-up in this case.

    I took it to a repair shop for yesterday I had to argue that these issues were well beyond my skill level.  The owner of the store insisted that the "hard drive"was"French fries".»  It was agreed to replace the necessary parts (gave me a "Crucial - M4 Solid State Drive - 128 GB - INFORMATION ON LISTED), to replace my 750Go son.  He said that even if it was less "room" it would "fly".  The original quoite was $ 200 and climbing! Give me the question my faith in humanity at this time.  Seems very inappropriate to prey on someones lcak of knowledge.  You on the other hand and those who try to make a difference... who are trying to help, should be commended.  I wish offered troubleshooting would come to maturity.  Nonetheless, I humbly thank you for your support and follow-up in this case.

  • Error: Could not find the locale data files. Please reinstall when you try to open Facebook.

    Original title: locale data file errors... How can I fix it?

    can't the facebook home page and when I search the

    "Cannot find the locale data files. Please reinstall"pop box.

    Hi kjkin,

    1 did you change on your computer before this problem?

    2 are you able to access other Web sites correctly?

    3. what browser do you use?

    If you are using Internet Explorer, follow these methods & check if the problem persists:


    Method 1

    You can follow this link & check if the problem occurs:

    Can't access some Web sites in Internet Explorer


    Method 2

    You can also follow this link:

    How to delete the contents of the temporary Internet files folder?


    Reference:
    Internet Explorer does not start or stops responding

    Hope the helps of information.

  • When I turn on the computer of mymy and it gives me request error indicating that "the required data was not put into memory due to an error of e state / of"0xc000009c".»

    Original title: IO error

    OK so I turn on my computer and it gives me request error indicating that "the required data was not put into memory due to an error of e state / of"0xc000009c".»

    I run an xp windows 2003-04. My computer does not start completely and if I click on debug or put end to the program there just restarts the computer. How can I solve this problem? and is it possible that I can update my software?

    You say that you can not even start in Safe Mode, so method 1 will not help you, method 2 will not help you and 3 method will not help you.

    I start in the XP Recovery Console and first run a chkdsk/r on the afflicted system, but since we don't know anything about your system, we will need more information.

    It is a shame that in the forums MS Answers, the first response to a new question is (or should be) a request for more information...  You are 5 days in your problem, and so for him it seems that you are not getting anywhere.  If the thread goes inactive for more than a few days, the response of the Microsoft Support Engineer will become the 'response' automatically because it has links to the KB articles.

    Since the Microsoft Answers forum does not have any kind of information system request when a new question is asked, we know absolutely nothing about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Your system have IDE or SATA disks?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a working CD/DVD (internal or external) drive?

    You have a genuine XP installation CD bootable, which is the same Service as your installed Service Pack (this is not the same as any recovery CD provided with your system)?

    If the system works, what do you think might have changed since the last time it did not work properly?

  • My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    The problem is, Chkdsk will not fix this, and I can't access the file. This opens up a world of problems when I need to fix this error, so I can upgrade to Windows 7. Help, please!

    I just ran the scan again. He said of the errors found, but could not be repaired.

    This problem actually has nothing to do with internet explorer. It's the cookies folder that is corrupt in the Windows folder in roaming. The error file is in conjunction with the programs, that I try to run (AIM, Skype, so forth). Trying to enter the folder it says it's corrupt. I don't know what is the root of the problems or how to solve this problem, but these measures have not helped so far. Regarding the repair, I will try that next.

    http://Tinypic.com/view.php?pic=14mw4ly&s=4

    Here is a picture. This is the error of the lower right

    It's what the tool SFC to see system files corrupted and try to repair the system files.
    SFC could not fix it.

    Looks like you will need to do this:

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    Read the info on the link above.

    Good luck with it.

    Let us know how you go with it.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for

  • HP Pavilion DV6 3122TX: updated the BIOS F.29 don't switch HP Pavilion DV6 3122TX Ati graphics card

    Hello I have HP Pavilion DV6 3122TX and recently I was updating my drivers and software from the HP Web site for my laptop. Everything was done smoothly. As I updated my BIOS, I noticed that I was not able to switch between ATI Radeon 5650 and Intel

  • Contacts API - add to the action item "App."

    I am currently working on an application that is based on a list of customers, like opening the app. The application works perfectly, but I was wondering if it is possible to use the contacts API to invoke my application? I mean, when you open an ema

  • Performance - ram, gfx

    I have a card Z97X-SLI Gigabyte mother, cpu Intel 4790 K stock settings. Decently powerful.Windows birthday 10 +.The OS disc is SSD, but additional disks are HARD drive in windows storage spaces (usually between 2 discs or more - so no wonder)8 GB ra

  • I need help, adding text to the jpeg file

    I need to add a name to a jpeg file for a product that I do with the file... when I go to the text tool and enter the name, it is not displayed. I need to unlock the layer-how can I do this? I have knowledge of basic photoshop btw.  Thank you!!

  • mobility of stand-alone license

    HelloKind of a strange question here. Can I uninstall my Lightroom 6.0 license multiple platform of my Mac and reinstall it on the laptop of my father? Will I have problems? I could then uninstall it from my dad's laptop computer and reinstall on ano