I can't not use spatial operator and index .

Dear all,
I create following spatial tales and spatial index.
create table LHelix(
PDB_IDcode           varchar(8) not null,
chainID varchar(2),
Hnum number not null,
anum varchar(6),
Hgeo MDSYS.SDO_GEOMETRY,
primary key(PDB_IDcode,chainId,hnum,anum))
insert into user_sdo_geom_metadata values(
'LHELIX','HGEO',
mdsys.sdo_dim_array(
mdsys.sdo_dim_element('X',-400,400,0.05),
mdsys.sdo_dim_element('Y',-400,400,0.05),
mdsys.sdo_dim_element('Z',-400,400,0.05)),0);
create index LhI on Lhelix(hgeo) indextype is MDSYS.spatial_index
PARAMETERS ('SDO_level=12 sdo_numtiles=100 sdo_maxlevel= 32')
After that, I perfomed following query.
select distinct l1.pdb_idcode, l2.pdb_idcode,l1.hnum, l2.hnum
from lhelix l1, lhelix l2
where mdsys.sdo_relate(l1.hgeo, l2.hgeo, 'mask=ANYINTERACT querytype=Window')='TRUE' and
l1.pdb_idcode != l2.pdb_idcode and l2.pdb_idcode='1wja';
When I did this query, I got the results.
But Now when I try query, I have following errors.
ORA-29902: ODCIIndexStart() ·çƾÀ» ¼öÇà½Ã ¿À·ù°¡ »ý°å½À´Ï´Ù
ORA-13208: ³»ºÎ ¿À·ù°¡ [window SRID does not match layer SRID] ¿¬»êÀÚ¸¦
Æò°¡Çϴµ¥ »ý°å½À´Ï´Ù
ORA-06512: "MDSYS.SDO_INDEX_METHOD", ÁÙ 84¿¡¼
ORA-06512: ÁÙ 1¿¡¼
Dose anybody know how can I handle this problems?
I am so in hurry!!!
Please help me!!!
Thanks!!
sung

I would suggest two things:
1) Do not use 0 for the SRID in the user_sdo_geom_metadata entry. There is no 0 SRID value. Look at the sdo_srid value in your geometries, and if it is NULL, specify NULL. If there is a value, match it in the user_sdo_geom_metadata entry.

Similar Messages

  • New drive -  can i not use on mac and windows?

    A year ago i bought a usb 2 wd external drive which i formatted on windows so that i could use it on both mac and osx - No probs.
    I now have a seagate 750gb firewire 400 drive (thats formatted to NT) i want to do the same as i did with the usb2 0 ie format on windows so that i can use on mac and xp.
    In the seagate manual it says that swapping data between windows and osx is BAD and YOU WILL LOSE DATA if you do this (it says i need madrive - but what if i want to get data of a college drive, or someone who doesnt want macdrive installed?)- is this manual statement true? i havent lost any data between my usb2 drive in the year ive had it!
    Also, formatting the seagate drive to ms-dos file system on mac - this makes it mac only doesnt it?

    Hi,
    I do the same with my two WD externals.
    You would need MacDrive if you want to use the NTFS (NT filse system) with the Seagate.
    But if you choose FAT32 (that's what OSX calls MS-DOS) you don't need any kind of extra software to access (read/write) it from both Mac and PC.
    One minor issue with FAT32 (MS-DOS) is, that the file size of a single file is limited to 4GB.
    Regards
    Stefan

  • Can I print web pages from firefox using adobe pro 9 (Not using PDF download) and if so how

    Can I print web pages from Firefox 3.6.12 using adobe pro 9 (not using PDF Download) and if so how.

    {Ctrl + P} - do you have a PDF Printer listed in the Printer - Name drop-down?

  • How I can delete my account from Itunes Store? [I am not using it anymore and will not]]

    How I can delete my account from Itunes Store? [I am not using it anymore and will not]

    Just stop using it and remove your payment info.
    There is no need to do more.

  • My document.numbers can not be opened how can i recover the version from yesterday i was not using time machine and it was not in icloud. is there an app i can buy that might help

    my document.numbers can not be opened how can i recover the version from yesterday? i was not using time machine and it was not in icloud. is there an app i can buy that might help

    Thanks Andy,
    I wish I could have told my sister about this as she could not open my homepage back before my new iWeb site. She now can open my site without the yet in case denial window does appear = I thank you.
    I think my iWeb site works as Noone has said otherwise from any platform etc...
    Alex L
    I do agree that should not have to be a consideration for any users so i agree that it would be great if Apple could allow simplicity to run seemlessly.
    I have had this problem since Homepage, and here is
    what has worked for me. I send out the link, and
    then for PC users I send the link with "<" after the address (without quotation
    marks. e.g., <http://site.com>).
    I also put a note that if that doesn't work, to just
    copy and paste the link into a browser. With that I
    have only had 1 person say they still can't open.
    Everyone else gets it to work.
    It's a lot to do and seems like a hassle, but you get
    used to it.
    Hope this helps!
    Andy Martini
    PS - APPLE! When are you going to fix this??! It
    seems like such a small thing yet you guys have been
    stumped for YEARS on this!

  • Ask : Trigger using spatial operation

    Hi all...
    I have two tables called OBYEK_PAJAK and AREAL_KEBUN, created using following statement :
    CREATE TABLE obyek_pajak (
    nop VARCHAR2(9) NOT NULL,
    npwp_wp VARCHAR2(15) NULL,
    kel_op VARCHAR2(100) NULL,
    kec_op VARCHAR2(100) NULL,
    luas_areal_op NUMBER NULL,
    tgl_ijin_op DATE NULL,
    mi_style VARCHAR2(254) NULL,
    mi_prinx NUMBER(11,0) NOT NULL,
    geoloc SDO_GEOMETRY NULL,
    kd_kppbb CHAR(2) NULL
    CREATE TABLE areal_kebun (
    id_areal_kebun NUMBER NOT NULL,
    nop VARCHAR2(9) NOT NULL,
    luas_areal_kebun NUMBER NULL,
    tahun_tanam VARCHAR2(4) NULL,
    mi_style VARCHAR2(254) NULL,
    mi_prinx NUMBER(11,0) NOT NULL,
    geoloc SDO_GEOMETRY NULL,
    kd_areal_kebun VARCHAR2(2) NULL,
    kd_tanaman VARCHAR2(2) NULL
    both of them have spatial column called geoloc. Column NOP in table AREAL_KEBUN references to column NOP in table OBYEK_PAJAK (so AREAL_KEBUN as a child and OBYEK_PAJAK as a parent)...
    I'm using Mapinfo to insert spatial column and others column manually using (i) menu in mapinfo and they're done their job.
    Now I'm trying to fill column NOP of AREAL_KEBUN table automatically using trigger when I've finish i.e. draw a polygon IN OBYEK_PAJAK boundary...in the other words I would like to fill my NOP column in AREAL_KEBUN using spatial operation to get NOP value from OBYEK_PAJAK table were related spatially with inserted polygon in AREAL_KEBUN.
    I'm trying to create my fool trigger and it not work...here is it :
    CREATE OR REPLACE TRIGGER fill_nop_kebun before insert on areal_kebun
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    BEGIN
    DECLARE var_nop VARCHAR2(9)
    SELECT a.nop into var_nop from obyek_pajak a, areal_kebun where sdo_anyinteract(a.geoloc,:new.geoloc)='TRUE';
    INSERT INTO areal_kebun(:new.nop) VALUES (var_nop);
    end;
    Anybody has solution for this?? Please help me ASAP and thank for help!
    sorry about my poor english....
    Regard
    Adhi

    Hi Adhi,
    I have changed FILL_NOP_KEBUN trigger little bit, and now it is working. Changed trigger looks like:
    CREATE OR REPLACE TRIGGER FILL_NOP_KEBUN
    BEFORE INSERT
    ON AREAL_KEBUN
    REFERENCING NEW AS new
    FOR EACH ROW
    DECLARE
    var_nop varchar2(9);
    BEGIN
    SELECT a.nop into var_nop from obyek_pajak a where sdo_anyinteract(a.geoloc,:new.geoloc)='TRUE';
    :new.nop := var_nop;
    END;
    I have tested it on my machine - if new geometry interacts with geometry stored in OBYEK_PAJAK, then appropriate nop value from OBYEK_PAJAK table is inserted into AREAL_KEBUN.
    Regards,
    Andrejus

  • AE CS5 not using all memory and cpu

    I am using After Effects CS5, wondering why the rendering is not using my CPU and memory full. It`s using only 15 % of memory and sometimes up to 50 % of CPU. What can I do to make it use better my hardware.
    The current rendering is chroma key using Keylight.
    I understand it can`t use all the hardware, but why only 15 %, because everybody is talking that you need a lot of RAM for AE.
    CPU: Intel Core i7 920 - overclocked to 3.4 GHz
    MEMORY: 6 GB DDR3
    GRAPHIC: nVidia GTX 285

    Not all rendering operations will max out all RAM and all CPUs (processor cores). Some rendering operations are I/O intensive; some are memory-intensive; some are CPU-intensive. If, for example, I/O is the bottleneck, then you won't see either CPU or RAM usage maxed.
    Also, the goal isn't to see that 100% of the CPU and 100% of of RAM is being used. The goal is faster rendering (and other operations). Sometimes greatest performance is achieved when there's "headroom" left over for other activity. See this page.
    Are you using Render Multiple Frames Simultaneously multiprocessing? That is one feature that really benefits from having a lot of RAM. The 6GB of RAM that you have in your system is not enough to make effective use of that feature. See this page.
    Here's a page that collects information about how to optimize for performance.

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • Trying to save files on "PC" side of Mac, using a FreeAgent external harddrive.  I get the error message E:/not accessible or something similar.  Can I not use an external harddrive, if not, what is the best way to back up PC side of a Mac

    Trying to save files on "PC" side of Mac, using a FreeAgent external harddrive.  I get the error message E:/not accessible  access denied.  Can I not use an external harddrive, if not, what is the best way to back up PC side of a Mac

    Apple has really crappy NTFS read-only that does not always work. And it is probably a licensing issue.
    Paragon Software is constantly being updated and supported with their NTFS for Mac OS X - they also have an HFS+ driver for Windows that works - Apple's HFS+ read-only driver for Boot Camp / Windows does not.
    I keep seeing problems and lack of support for MacFUSE, that could change.
    http://www.bing.com/search?q=ntfs+for+mac

  • How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    Once you have signed up, you could - in theory - choose "other version" under the icon on the CC website and install CS6, but I'm not sure if that works for this special offer or only for "full" CC. Anyway, it seems simple enough to upgrade to Win 7 or Win 8 and perhaps you were planning on starting fresh, anyway...
    Mylenium

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

  • I can't not use face time it's said not available

    i can't not use face time on macbook it's said not available

    If it's not in the App Store, it's not available to you and there is nothing you can do about it.

  • I have just upgraded my account why can i not use it, it keeps redirecting me

    I have just upgraded my account why can i not use it, it keeps redirecting me

    Hi;
    You upgraded your FormsCentral account?  Can you explain what you mean that you cannot use it, what is happening, when and where are you being redirected?  Did you use the same email address for the upgrade as you used to sign into this forum?  We see a lot of cases where users sign into FormsCentral with one email address but then use a different during the upgrade process.  Check and see if you have another email you might have used for the upgrade.
    Thanks,
    Josh

  • Why can I not use a secon screen with PSE12, as it was possible up to PSE10?

    Why can I not use a secon screen with PSE12, as it was possible up to PSE10?

    Go to the editor preferences>general and turn on Allow Floating Documents in Expert Mode and see if that helps.

  • Mpower// if i use 2 ssds in port 1&2 in riad 0 can i not use hdd in sata ports 3

    mpower// if i use 2 ssds in port 1&2 in riad 0 can i not use hdd in sata ports 3 4 5 6 as my hdd wont work
    does not show up in bios or windows// help help

    Isn't this your 2nd post on this? Did you intel rapid storage (raid controller)? Are you able to see the drives in there? Did you set them up as simple drives or w/er you want?
    Did you check in disk manager and assign a drive letter?
    The directions for how to do this are in your manual towards the end.
    The As Media controller ports 7&8 are SATA III, that is what I use for my storage HDD.

Maybe you are looking for

  • How to use a global variable for reading a query resultset in JDBC lookup?

    Hi Friends, Using JDBC lookup, I am trying to read from a table Emp1 using a user defined function. In PI 7.0, this function returns values of a single column only even if you fire a " Select * " query. I am planning to use a global variable(array) t

  • Flash components in  VC

    We upgraded to EHP1 SP6 to get the flash component working in VC. I uploaded the BO flash meters I found in a PDF  (/people/amir.mimran/blog/2009/09/11/flash-components-for-visual-composer-70--flexibility-is-the-name-of-the-game) I can add them to th

  • Does changing the RSS excerpt length of blog entries really work?

    Hello, Due to various problems[1] with the RSS feed contents that iWeb produces for blog entries I would like to limit each excerpt in the RSS feed to a small portion of the blog entry to encourage readers to visit the full post on my website. The iW

  • Strange behaviour of transformation

    Hi experts, I have a transformation between two cubes. Here I have written some field routines. Every thing is fine, when I activate, the transformation is getting activated. When I switch the transformation to display mode after activation a pop up

  • How do I right click on a document and email with outlook?

    Right now I right click, and under share it offers only airdrop or messages. There is no email option. I would rather not have to open a seperate email window and then drag and drop the document. This seems so tedious. Any suggestions?