SPATIAL_RELATE DOES NOT WORK ON VIEW ?

Hi
The following statement does not work correct - it claims that there are no spatial indexes. The view is very complex (including union all). The view is put into user_sdo_geom_metadata.
Whats wrong ?
SELECT GEOM FROM MISE_A_JOURPFP3 WHERE FID=70491;
This returns
GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1005, 11, 1, 2, 1, 3, 2, 2, 7, 2, 1, 13, 2, 2, 17, 2, 1, 27, 2, 2, 31, 2, 1, 103, 2, 2, 107, 2, 1, 111, 2, 2, 115, 2, 1, 119, 2005, 10, 119, 2, 1, 125, 2, 2, 129, 2, 1, 131, 2, 2, 135, 2, 1, 163, 2, 2, 167, 2, 1, 169, 2, 2, 173, 2, 1, 177, 2, 2, 183, 2005, 3, 183, 2, 1, 191, 2, 2, 195, 2, 1), SDO_ORDINATE_ARRAY(575526,016, 184396,522, 575522,171, 184370,728, 575522,191, 184370,674, 575522,247, 184370,662, 575678,571, 184417,747, 575774,588, 184446,858, 575869,409, 184475,451, 575869,442, 184475,474, 575869,452, 184475,513, 575866,134, 184514,875, 575863,237, 184550,71, 575863,237, 184550,712, 575863,236, 184550,715, 575855,625, 184597,93, 575855,603, 184597,968, 575855,56, 184597,98, 575817,694, 184594,079, 575817,693, 184594,079, 575779,647, 184589,561, 575779,644, 184589,56, 575779,642, 184589,56, 575760,713, 184585,669, 575760,711, 184585,668, 575760,709, 184585,668, 575742,776, 184580,811, 575742,774, 184580,81, 575711,463, 184571,042, 575681,849, 1845
61,823, 575681,848, 184561,823, 575653,299, 184552,366, 575653,299, 184552,366, 575624,364, 184542,482, 575624,362, 184542,481, 575608,52, 184536,628, 575608,518, 184536,627, 575608,516, 184536,626, 575594,546, 184530,149, 575594,544, 184530,149, 575594,542, 184530,148, 575580,796, 184522,588, 575580,794, 184522,586, 575580,792, 184522,585, 575568,694, 184514,569, 575568,692, 184514,568, 575568,69, 184514,566, 575557,75, 184506,036, 575557,748, 184506,035, 575557,747, 184506,033, 575547,93, 184497,069, 575547,928, 184497,068, 575547,927, 184497,067, 575540,772, 184489,753, 575540,755, 184489,711, 575540,773, 184489,668, 575541,753, 184488,693, 575539,485, 184486,399, 575539,474, 184486,384, 575539,469, 184486,366, 575526,016, 184396,522, 575456,142, 184567,991, 575581,098, 184603,851, 575663,938, 184627,624, 575753,329, 184653,277, 575753,375, 184653,271, 575753,404, 184653,236, 575770,26, 184594,501, 575770,254, 184594,454, 575770,216, 184594,426, 575759,18, 184591,871, 575741,055, 184586,909, 575709,707, 18
4577,166, 575680,93, 184568,419, 575679,878, 184568,099, 575651,254, 184558,428, 575622,3, 184548,627, 575606,091, 184542,531, 575599,557, 184539,564, 575591,605, 184535,955, 575577,419, 184528,038, 575564,828, 184519,711, 575553,658, 184510,986, 575543,325, 184501,439, 575543,313, 184501,43, 575543,299, 184501,425, 575479,972, 184484,946, 575479,927, 184484,952, 575479,899, 184484,987, 575465,302, 184535,853, 575456,101, 184567,916, 575456,107, 184567,962, 575456,142, 184567,991, 575490,379, 184553,269, 575487,99, 184561,46, 575516,025, 184569,447, 575519,283, 184558,023, 575495,012, 184551,068, 575494,977, 184551,039, 575494,971, 184550,993, 575495,03, 184550,79, 575494,928, 184550,761, 575490,379, 184553,269))
This select fails:
Select /*+ ordered */ A.fid from MISE_A_JOURPFP3 A, MISE_A_JOURPFP3 B where B.FID= 70491 AND mdsys.sdo_relate(B.geom, A.GEOM ,'mask = anyinteract querytype=window') = 'TRUE' ;
output:
Select /*+ ordered */ A.fid from MISE_A_JOURPFP3 A, MISE_A_JOURPFP3 B where B.FID= 70491 AND mdsys.sdo_relate(B.geom, A.GEOM ,'mask = anyinteract querytype=window') = 'TRUE'
FEHLER in Zeile 1:
ORA-13226: Oberfläche ohne räumlicher Index nicht unterstützt
ORA-06512: in "MDSYS.MD", Zeile 1723
ORA-06512: in "MDSYS.MDERR", Zeile 8
ORA-06512: in "MDSYS.SDO_3GL", Zeile 58
DB is 9.2.0.5 on Windows XP

This might be related to bug 3561140 - we are working with the appropriate folks in Oracle to try to resolve it. If you can post your view definition then we can try to ensure this is fixed at the same time (a small test case would be appreciated).

Similar Messages

  • Search help does not work when view context is mapped to comp context

    Hello,
    I am trying to display search help for an input field of a view. The context to which the input field is bound is a node with an attribute. I have specified Dictionary Search help for the attribute. Now when I execute the application, I am able to get the search help in the screen.
    But, I  need to map this  view context node to its comp controller context. When I do the mapping, the search help does not appear when executed.
    It would be a great help if someone can point out an answer to this.
    Thanks,
    Maya

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • SELECT does not work in View

    I have a select that runs well alone, but when i want to create a view with this select, i get the error "ORA-00933: SQL command not properly ended".
    The select is of form
    select
    col1 as "one",
    null as "two",
    UNIONALL
    select
    abc as "one",
    def as "two",
    order by "one", "two"
    the select alone works as expected. i also enclosed the select in "select * from ( ... )" and moved the order by outside. but it still has this error.
    if i leave out the order by, the view creation works. but why? the select itself also works with the order by ...?

    1) In Oracle 8 you could not use NULL as a column. You have to put to_char(null) or to_number(null). But in 9i you can use null without translation function. Also you can use ORDER BY, in 9i, in a view.
    I did all what you said, on my 9i database, and it worked properly. So, I do not "obtain" that error.
    2) Try to create the view without using double quote for aliases, even though it is correct what you've done.
    3) Maybe is a stupid advice, but I dare:
    Are you sure you haven't a comma(or something like this) before the order by clause. The explanation for this message error, in Oracle 8, is:
    "ORA-00933: SQL command not properly ended
    Cause: The SQL statement ends with an inappropriate clause. For example, an ORDER BY clause may have been included in a CREATE VIEW or INSERT statement.ORDER BY cannot be used to create an ordered view or to insert in
    a certain order. Also, an improper SQL ending occurs if IN clause is used with only one argument (IN(X), for example). An IN clause must have two or more
    arguments.
    Action: Correct the syntax by removing the inappropriate clauses. It may be possible to duplicate the removed clause with another SQL statement. For example, to order the rows of a view, do so when querying the view and not
    when creating it. This error can also occur in SQL*Forms applications if a continuation line is indented. Check for indented lines and delete these spaces."
    4) You can try to report bugs on metalink at the patches section.
    Eugen

  • Print icon on toolbar does not work

    Recently bought new computer running W7
    Use acrobat to print postage labels on royal mail site
    Have latest version of acrobat and when screen comes up showing label to be printed the 'floating' toobar appears but clicking on print icon has no effect
    I am forced to used 'CTRL P' and then 'enter'
    Occasionaly CTRL P gives me another toolbar at the top of the window which also has a print icon, this does nothing either
    Can anyone suggest what is going wrong, should I go back to an earlier acrobat that worked fine on my old XP PC ?
    Thanks
    Graham

    Thank you
    Yes you are correct using a PDF in browser to print post labels.
    Running Windows 7, Internet explorer 9, Acrobat Reader Version 10.0
    CTRL P brings up dialog box OK and I can print from there.
    Cannot comment if problem happens outside of browser as it is home
    computer and do not have need to view PDF's offline but will find thsi
    out if important.
    Graham
    >--Original Message--
    >From: [email protected]
    >Date: 23/02/2012 13:18
    >To: "flat-pack"<[email protected]>
    >Subj: Print icon on toolbar does not work
    >HitenderPrakash [http://forums.adobe.com/people/HitenderPrakash
    created the discussion
    >"Re: Print icon on toolbar does not work"
    >To view the discussion, visit: http://forums.adobe.com/message/4224450#4224450

  • Help viewer does not work after update to 10.4.4

    Since updating to 10.4.4 my Help viewer does not work, and all of the troubleshooting fixes suggested in other threads have not had any success in resolving this. I've noted that when I go to Users>Library>Documentation>Help there is no mac.help file - can someone tell me if that means that I've lost the file altogether and need to reinstall it? I get to the first screen of the viewer, but the links from there don't work. Thanks for any help that you can provide!

    Thanks for your suggestion. I downloaded OnyX and ran the cleaning function. After restarting, I opened Help and once again the first screen appeared fine. But again most of the links did not work, though those under the "What's New" heading did work. I might add that I had previously tried a variety of suggestions posted in another thread, which included deleting from the caches folder in Home>Library several files such as com.apple.helpui and help.plist in the Preferences folder. (As noted in my previous post this evening, I also created another user but that also did not have any effect.) Any other ideas? Thanks

  • I get this error when I go to imovie, I have instalerat on via appstore, but it does not work. The QuickTime components necessary to view, edit, import and export various types of films are not installed. The components included in the iMovie installer. R

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

  • TS1381 My left arrow does not work on my macbook pro(model A1226).  I have reset nvram, performed a safe boot, pulled the cache to desktop, replaced .globalpreference.plist, test all other keys with keyboard view (all others work)  - HELP!!

    My left arrow does not work on my macbook pro(model A1226).
    I have reset nvram, performed a safe boot, pulled the cache to desktop, replaced .globalpreference.plist, & tested all other keys with "keyboard viewer" (all other keys work except for the arrow). 
    In addition, I have gone thru all the recommended checks with universal access and have booted from snow leopard dvd and the left arrow still does not work. 
    I have tried using the left arrow key in all of applications I use such as: excel, ms word, address book, calendar, iphoto, terminal, & highlighting an icon and using the arrows to move to another selected icon.
    Here is the kicker!  In addition, I purchased a logitech solar bluetooth keyboard and the arrows work fine with my ipad but do not work when paired with the macbook pro. All other keys work fine on the macbook pro using the bluetooth keyboard.
    I believe this says that the problem is not in my macbook pro keyboard. So where can it be?
    Can anyone think of any other rabbit holes I can search?
    thanks and regards
    vats3

    I would also like to add that I've reverted the two cd drive and hard drive mods I did and the laptop is back to factory hardware and there is 0 corrosion or mold visible.

  • In Hyperion Planning, smart view does not work

    In Hyperion Planning, when viewing the form , the link icon to Smart View (to view the data in Smart View) at the top of the screen does not work.
    When I clicked on smart view icon on the top of the screen, Excel opened but there were no connection showed in excel and not able to forms in smart view.
    Please assist ASAP. Any one can pls help me on this issue.

    Can any one pls help me ASAP with this issue?

  • Thumbnail view for Library copied from Asset Library does not work

    Hello ,
    I created list definition based on Assed Library (I copied files from \15\TEMPLATE\FEATURES\AssetLibrary\AssetLibrary ) - I reused schema.xml and other files.
    Then I added my new custom content type.
    The problem is following:  thumbnail view does not work now ( "/AssetLibraryDemo/Forms/Thumbnails.aspx" )
    I don't have any javascript errors and any specific error in ULS log.
    Can you give me advice, why thumbnail view has stopped working?

    I need to use "List teplates" gallery functionality for this task.

  • Popups: Navigation from view to window does not work

    Hi,
    I open a second window as popup. This window has 2 views embedded, displaying view1 first. On some actions I would like to navigate to view2.
    Defining an outbound plug on view1 and an inbound plug on view2, connecting them and firing the outbound withith the onaction works absolutely fine.
    However, for some reasons I would like to avoid a direct navigation, but would like to navigate from view1 to the popupo window and from there to view2 (or maybe another view, ofcourse also embedded in the same popup window). Unfortunately I fail on this scenario - I can fire the view-to-window plug, but the destination on the window side (handle in method) is never reached.
    Since the same concept works fine on non-popup windows I wonder whether a navigation from view to embedded window does not work for popups?
    Any idea?

    Hi Yashpal,
    no, just one window.
    The first link is view1 -> window, the second window -> view2.
    I.e., I fire in the view the outbound plug, which is connected with its window.
    In the window I fire an outbound plug, which is connected to view2.
    In theory this should work - for non-popup windows I do not have any problem at all, however, for popup windows the navigation from view1 to the window is not processed.
    In the meantime I played a little bit further: Instead of firing a navigation from view1, I now fire an event defined in the component contoller, on which an event method is registered within the window. Doing so, I reach the window, which I didn't reach via the navigation link. Once in the window, firing to view2 works just fine ...
    Hope the issue is a bit clearer now. Also I found a solution, I am surprised that the simpler way via navigation does not work.

  • Quicklook does not work with WMV files and quick look no longer maintains resized views when viewing from a folder using the up/down arrows

    Quicklook does not work with WMV files and quick look no longer maintains resized views when viewing from a folder using the up/down arrows. Any fixes?

    Same problem here...

  • Open a view twice does not work

    Hello,
    I have a problem with bsp-views:
    I open a new window via the JavaScript command
    <script type="text/javascript" language="javascript">
      open( "<%= controller->mv_srch_url%>",
            "searchTask", "resizable=no, scrollbars=no,
             status=yes, menubar=no, width=320, height=522,
             top=50, left=50" );
    </script>
    If I close this window via the 'X' on the upper right corner of the window and want to open the popup again it doesn't work. This JavaScript command passes correctly but no window is opened.
    If I close the popup via a button where a submit is made to the calling (parent) document and open it again, everything works fine.
    Now I have two questions:
    1. Does anybody have an idea why the popup cannot be opened again?
    2. If not, I would like to make a submit if the popup is closed by the 'X'. I tried this in my bsp-view:
    <script language="javascript">
            function do_submit(){
            var theForm = window.opener.document.getElementById("theForm");
               theForm.submit();}
            window.onUnload = do_submit
    </script>
    but it did not work.
    I would be very grateful for any help.
    Best regards,
    Ralph
    Message was edited by: Ralph Rillig
    Catching the 'X' does not work, but opening the popup twice is working. I used the following coding:
    open( "<%= controller->mv_srch_url%>",
            "searchTask<%=sy-uzeit>", "resizable=no, scrollbars=no,
             status=yes, menubar=no, width=320, height=522,
             top=50, left=50" );

    Ralph
    try the following...
    1) create a new parameter or variable named callPopup (type CHAR01) with a default value 'N'.
    2) then in your view put the following;
    <% IF callPopup = 'S'. callPopup = 'N'. %>
    <script type="text/javascript" language="javascript">
    open( "<%= controller->mv_srch_url%>",
    "searchTask", "resizable=no, scrollbars=no,
    status=yes, menubar=no, width=320, height=522,
    top=50, left=50" );
    </script>
    <% ENDIF. %>
    3) Then when the user press the button to search (or the event to call the popup) just put the value of this variable to 'S'.
    Try it...
    Ariel

  • Two-side View as Preference does not work

    Two Side View ist set as Preference (Edit-Preferences-Page Display - Page Layout- Two-up) but does not work when opening a File. Has to be set manually every time (View-Page Display) - any suggestions? Acrobat Reader 11.0.3

    Klaus, I beg to differ: Any capable graphics app. should succeed in opening them, but the files themselves should open in the app. the user has assigned to them—usually the one whose icon they carry—and only in that app. Computers are supposed to do as they're told.
    First off, assure yourself that all your maintenance is up to date: MacJanitor, or Onyx or … the like and permissions repair have helped me w/ this sort of issue.
    The other sorta helpful note is that apparently there's more than one flavour of some file types like .pdfs, JPEGs and such. The helpful advice I got was to be prepared to "Change all" a few times w/ common types before Finder would finally get my drift. With Apple in the mixed up midst of file recognition by type and creator codes (old style) and by extension (their style) as well as by meta data (new style) it's a wonder anything opens, and no surprise that the Finder's 'sytsem' hiccoughs disappointingly often.

  • I bought PSE 12 yesterday at it does not work !!!  I get an application error when i attempt to view any photo

    I downloaded PSE 12 yesterday and it does not work. i get an application error when I attempt to view any photo

    Are using Apple's camera connection kit with the SD reader that came with the kit, or are you using a third-party kit ? Also what type of card are you using : SD, SDHC, SDXC ?
    The message doesn't relate to the battery level of the iPad. Only a relatively small amount of power is supplied to the iPad's dock (it used to be higher), so a lot of other card readers can't be used with the kit because they require more power in order to operate.

  • Why when viewing Hotmail the "Close Ad" does not work?? Unfortunately Tested OK with I.E.

    Why when viewing Hotmails for example the inbox there is a "Close Ad" clickable feature that allows the inbox to go full screen.
    If used the "Close Ad" does not work and there following error is recorded :
    support.mozilla.com : server does not support RFC 5746, see CVE-2009-3555
    I tried it with the Unfortunately Tested OK with I.E.

    Bjorn,
    Can you please tell me what versions of OC4J and JDK you're using, as well as what o/s?
    Thanks,
    -Lee

Maybe you are looking for

  • Motion 4: open and close a group with key shortcut?

    Mo4: Layers window: any shortcut to twirl down (and/or up) all the layers in a group? Or layers in layers? The manual says arrow keys move from group to group,layer to layer and that works... also says that L & R keys open and close selected group/la

  • Copy of original project (NWDS)

    Hi, I’m trying to do some work in the NWDS, and I’m having a problem. I’m need to do some changes to one of our Adobe Forms applications, but I didn’t want to work on the live version, so I tried making a copy that I can work on. But it’s not deployi

  • Mail merge

    I have created ( using Acrobat 9 pro extended) a pdf form that I can partially complete from data that I hold with the rest of the data being completed by the recipient as an interactive pdf form sent by email. I can pick up my data (Excel 2007 sprea

  • Checkbox event in REUSE_ALV_GRID_DISPLAY

    Hi, I have a report using REUSE_ALV_GRID_DISPLAY that a check box.. In the ALV have two quantity fields that have values not equal. then while user click on the checkbox i need to give message that quantity is not equal. I need to give message once u

  • Unresponsive Widgets

    Hi, I've got an issue with my widgets in the notification center. I can add new ones (like Weather or PCalc) but they are unresponsive, i.e. they do show but that's basically all they do. For weather, it shows me the temperature for my location, but