Simple Filter Problems

I've been having some problems doing a simple Window Filter in Oracle Spatial. Here's the query I'm executing:
select * from dcdb
where mdsys.sdo_filter(
geoloc,mdsys.sdo_geometry(
3,NULL,NULL,mdsys.sdo_elem_info(1,3,3),
mdsys.sdo_ordinates(483740.50,7201372.69,485970.57,7203080.09)),
'querytype=window') = 'TRUE';
This should return all records within the specified UTM window. However, I get the following error:
ERROR at line 5:
ORA-00904: invalid column name
This indicates that the column-name 'mdsys.sdo_ordinates' is incorrect. How can this possibly be? Is there something I've missed during installation of the product? I note that the following error occurs when I type 'describe mdsys.sdo_geometry' in SQLPlus:
Name Null? Type
SDO_GTYPE NUMBER
SDO_SRID NUMBER
SDO_POINT SDO_POINT_TYPE
ERROR:
ORA-04043: object SDO_POINT_TYPE does not exist
Thanks in advance of any help you can provide me.
Jon
null

The types name for sdo_ordinates
field is sdo_ordinate_array
and the type name for the
sdo_elem_info
is sdo_elem_info_array.
You should use these type names in
the object constructors and not
the names of fields.
So the geometry constructor will be
like this:
mdsys.sdo_geometry(2003, NULL,NULL,
mdsys.sdo_elem_info_array(1,3,1),
mdsys.sdo_ordinate_array(x,y,...)))
siva
null

Similar Messages

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • JDeveloper IDE simple setting problem

    Hi,
    Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
    eg: when I write
    import java. it should prompt all the pakages.
    Thanks in advance.
    -Gopal
    null

    I am not sure I understand what you are requesting, but ...
    You can configure JDeveloper projects to include various libraries by default.
    This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
    You should define a library for your classes.
    You can import any of the packages / classes from all the libraries which your project includes.
    It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
    An easy way to import elements into JDeveloper is to type in something like:
    import java.
    // and then type in Ctrl Space
    and this launches the package browser, you can select packages or classes to import.
    You can also do this at the variable declaratiton point such as typing in:
    foo() {
    Frame x
    // Press Control Alt Space
    and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
    -John
    null

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • Hide Simple Filter

    Hi Experts
    I am looking for a option to hide simple filter for some of the users in enterprise. I tried modifying below rights.
    Interactive: General - Ability to hide / show toolbars
    Interactive: Reporting - Create and edit report filter
    I am still seeing the simple filter in Webi Reports.
    Please advice
    Re: Disable "Add Simple Report Filter" from WEBI XI3

    Prasath,
    I noticed in the post in your link, it mentioned making sure the developer of the report saves it with the filter area suppressed. Could that be the issue?
    Thanks

  • Alv grid filter problem

    Hi all,
    I have a problem when filtering data in alv (I use REUSE_ALV_GRID_DISPLAY FM). The problem is that data is truncated in the matchcode of the filter.
    I've seen several threads talking about this, but was not able to find the right solution for me... a lot of notes, and I think I shouldn't have to install all of them.. should I?
    I followed this thread
    ALV filter problem
    but do not know the note installed by the asker in the end...
    Could anybody help me?
    Best Regards

    Hi,
    Please apply OSS note 898852.
    Regards,
    Bharadwaj

  • Filter problem in apex 4.0 simple interactive form application

    I am using apex 4.0, in the interactive form, under the action button, select filter, filter type is column, has 3 drop downs
    column, opterator and expression,
    you click the drop down for expression, nothing happens, no error message, nothing
    please help,
    thanks,
    Doug

    I did what you said here is the bottom of the code i saw in foxfire debug
    </script>
    <script type="text/javascript">
    </script>
    <ul id="apexir_ACTIONSMENU" class="dhtmlSubMenu" style="position: absolute; top: 326px; left: 305px; display: none;" htmldb:listlevel="2">
    <li>
    </li>
    <li class="dhtmlMenuSep">
    </li>
    <li>
    </li>
    <li class="dhtmlSubMenuN" title="Rows Per Page">
    </li>
    <ul id="apexir_ROWS_PER_PAGE_MENU" class="dhtmlSubMenu" htmldb:listlevel="4" style="display: none;">
    </ul>
    <li class="dhtmlSubMenuN" title="Format">
    </li>
    <ul id="apexir_FORMAT_MENU" class="dhtmlSubMenu" htmldb:listlevel="4" style="display: none;">
    </ul>
    <li class="dhtmlMenuSep">
    </li>
    <li>
    </li>
    <li class="dhtmlMenuSep">
    </li>
    <li>
    </li>
    </ul>
    <div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>
    </body>
    </html>

  • Upload file - filter problem

    Hi all,
    I have a problem with upload file using JSF RI 1.1 + tomahawk.
    I think that the problem is in the web.inf filter definition because I get these warns:
    17:11:51,875 WARN Digester:127 - [ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)
    17:11:51,890 WARN Digester:127 - [ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)
    17:11:52,578 WARN ExtensionsFilter:34 - Please adjust your web.xml to use org.apache.myfaces.webapp.filter.ExtensionsFilter
    And also this error when I click in a button to go to the upload page:
    16:47:47,250 WARN ReducedHTMLParser:468 - Invalid HTML; bare lessthan sign found at line 127
    When I click in the button to go to the upload pages the first time i get this error ad with the second click I get the right page.
    It seems like he go to the filter the first time and then to the faces servlet the second, it is possible?
    this is the code of the web.xml:
    <filter>
            <filter-name>MyFacesExtensionsFilter</filter-name>
            <filter-class>
                org.apache.myfaces.component.html.util.ExtensionsFilter
            </filter-class>
            <init-param>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>10m</param-value>
            </init-param>
            <init-param>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
            </init-param>
        </filter>
        <filter-mapping>
            <filter-name>MyFacesExtensionsFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
        </filter-mapping>
        And this is the code of the page with upload:
    <h:form id="upload" enctype="multipart/form-data" >
                    <h:outputText value="Gimme an image: "/>
                    <t:inputFileUpload id="fileupload"
                    value="#{fileUploadBean.myFile}"
                    storage="file"
                    required="true"/>
                    <h:commandButton value="load it up" action="#{fileUploadBean.upload}" />
                </h:form>Anyone can help?
    Thanx very much!
    Message was edited by:
    -Frizzi-

    I don't have org.apache.myfaces.webapp.filter.ExtensionsFilter in my libraries, I only have org.apache.myfaces.component.html.util.ExtensionsFilter. I also tried to change it, but it still don't work...
    I tried to redo all the process, and now I can't even access the action method in my backing bean....
    I repost the the file that I use:
    This is the error that I get when I try to use the action method:
    16:24:11,203  WARN ReducedHTMLParser:468 - Invalid HTML; bare lessthan sign found at line 135
    16:24:11,203  WARN ReducedHTMLParser:468 - Invalid HTML; bare lessthan sign found at line 180 web.inf snippet:
    <filter>
            <filter-name>extensionsFilter</filter-name>
            <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
            <init-param>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
                <description>Set the size limit for uploaded files.
                    Format: 10 - 10 bytes
                            10k - 10 KB
                            10m - 10 MB
                            1g - 1 GB
                </description>
            </init-param>
        </filter>
        <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>*.shtml</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
        </filter-mapping>JSF page:
    <h:form id="upload" enctype="multipart/form-data" >
                    <h:outputText value="Gimme an image: "/>
                    <t:inputFileUpload id="fileupload"
                    value="#{fileUploadBean.myFile}"
                    storage="file"
                    required="true"/>
                    <h:commandButton value="load it up" action="#{fileUploadBean.upload}" />
                </h:form>BackingBean:
    public class FileUploadBean {
        private UploadedFile myFile;
        private static Logger log =Logger.getLogger(FileUploadBean.class);
       public String upload() {
            log.info("FileUploadBean.upload");
            try {
            log.info("fileupload_isfile?"+ getMyFile().getBytes());
            log.info("fileupload_path"+ getMyFile().getSize());
            log.info("fileupload_name" + getMyFile().getName());
            System.out.println("myFilename" +getMyFile().getName());
            catch (Exception e){
                log.info("Errore nell'upload");
            return "ok";
        }Please help... I don't know how to solve it. Coul anyone post me a simple WORKING example?
    Thanx a lot!!

  • DSP filter problem in modifying the Oscilloscope

    The hardware and software I am using are:
    LabVIEW: 5.1.1
    DAQ device: PCI-MIO-16XE-50
    VI programs: 2 Channel Oscilloscope(sample VI)
    I want to modify the function of the sample VI of 2 Channel Oscilloscope to simulate the AC-GND-DC function of Real Oscilloscope.
    I try it by using "Butterworth Filter" under
    Function-->Signal Processing-->Filters to cut the frequency at 0Hz for "AC" function (cut all DC).
    However, the output is not good as real Oscilloscope becasue the signal seen is not good and stable.
    I even use order 10 filter to do it. But the result is also the same.
    Any suggestions to my problem?

    The ac-coupling of an oscilloscope is not a filter a "0" Hz. It is normally just a simple capacitance that, with the 1MOhm input impedance of the oscilloscope, acts like a first order high-pass filter with a cut-off frequency of few hertz.
    Try to implement a highpass Butterworth filter of order 1 and with a low cut-off frequency of 10 Hz.
    You can then play with the cut-off frequency and see which value works best for you (remember to connect the right value to the sample frequency input of your filter). You can also try to increase the filter order to 2 (some measurement devices have input high-pass filters of order 2 or even 3).

  • Table filter problem

    Hi expert ,
                   I have the problem on filter , which means
                   while there is no entry on the table , if click enter the filter action it shows runtim errors like that
    Note
    The following error text was processed in the system RD1 : Value 1 is not a valid index; context node: COMPONENTCONTROLLER.1.BBU_ITEMS
    The error occurred on the application server BLR-RDEV-RD1_RD1_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_MAP=======CP
    Method: GET_NODE_STATE of program CL_WDR_TABLE_METHOD_HNDL======CP
    Method: IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER of program CL_WDR_TABLE_METHOD_HNDL======CP
    Method: ONACTIONBBU_FILTER of program /1BCWDY/EAIL5PBJSQ5EPLFELLCZ==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/EAIL5PBJSQ5EPLFELLCZ==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    What should i do avoiding this one can anyone let me know about this problem ?
    Thanks in advance
    Sankar.M

    Hi Sankar,
    Do you mean to say like you get a dump when you enter some value in the filter field & press on enter while there is no data in the table?
    If yes then give it a try in this manner. I haven't tried it out myself but its just a guess. You would have created an event handler for the FILTER event of your table. Say suppose your action handler method is ONACTIONON_FILTER then within this method you would be saying something like:
    METHOD onactionon_filter .
    " TABLE_CONTROL is TYPE REF TO IF_WD_TABLE_METHOD_HNDL
    " Within WDDOMODIFYVIEW I obtain & save the reference of my table into TABLE_CONTROL
      wd_this->table_control->apply_filter( ).
    ENDMETHOD.
    So instead of directly calling the apply_filter method first try to obtain the data being displayed in the table by using get_static_attributes_table method. Then check if the table is initial & call the apply_filter method only if the table is having some data.
    Regards,
    Uday

  • Filter problem with operating system in french

    Hello,
    There is a problem with the "Operating System - Windows" filter in the french version of ZCC.
    If you create a bundle and go into "Requirements" and add a filter with Operating system and you set it to "Version 6.1 - Windows 7 / Windows Server 2008 R2" you get this error
    "Vos modifications ne peuvent pas tre appliques pour les raisons suivantes :
    ErreurLa version doit tre sous la forme "x" "x.x.x.x". "
    "You changes cannot be applied for the following reason : formatting must be x to x.x.x.x"
    The format should be "6.1 - Windows 7 /Windows Server 2008 R2 Versions".
    The filter does work as intended with the english versions of ZCC. I have no problem with that but some of our admin does.
    PS : I am currently unable to open an SR because our licence has not been renewed yet. So i am reporting this here.
    Thank you!

    Originally Posted by GuillaumeBDEB
    Hi poplante, this bug is haunting Novell since version 11.0! Believe me on that. I'm the one who reported it. Here's the workaround.
    1.Go to Server machine.
    On Windows:
    Go to
    %ZENWORKS_HOME%\resources\properties\com\novell\ze nworks\core\web\internal\resources\CoreInternal_fr .proeprties
    On Linux:
    Go to
    /opt/novell/zenworks/resources/properties\com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.proeprties
    2.change the property value of windows.versions.6.1 from "Versions 6.1 Windows 7 / Windows Server 2008 R2" to "6.1 Versions Windows 7 / Windows Server 2008R2"
    3.Then Restart the server. The issue will be gone.
    By the way you will see this bug reappear with every new update of ZENworks including new service packs and monthly updates. So keep this workaround at hand just in case.
    Hope it helps!
    GuillaumeBDEB
    In 11.3 the value seems to be:
    windows.versions.6.1=Versions 6.1 - Windows 7 / Windows Server 2008 R2
    But should probably be set to:
    windows.versions.6.1=6.1 - Versions Windows 7 / Windows Server 2008 R2
    And the correct Linux path would be: /opt/novell/zenworks/resources/properties/com/novell/zenworks/core/web/internal/resources/CoreInternal_fr.properties.
    This bug would probably take them a minute or two to fix, sad to hear that it's been there since 11.
    Thomas

  • Table filter problem Jdeveloper 11.1.1.1.0

    Hi,
    I have problem with table filtering. When I filter table to get only one row I can not select this row to update child table (row is shown as selected).
    Is there some option to overcome this problem?
    Regards, Rok Kogovšek

    I have problem with table filtering. When I filter table to get only one row I can not select this row to update child table (row is shown as selected).Does your child table have the master table ID in its partialTriggers?

  • Simple button problem

    I am having a real problem creating a simple button - I have
    created a Flash file using Action script 2, and when I create a
    simple button - text with a rectangle as a background, (see
    http://www.elkhavenestate.com),
    and the over state is behaving in a bizarre fashion. This is my
    first time using CS3, so is there a new control that I'm
    missing?

    I take it that it's the Home button. It appears to have a
    selectable text field or something in it, which is causing the
    problem. Either change that to a static text field or set its
    selectable property to false. The other two buttons appear to be
    fine, so maybe you can just duplicate one of them and turn it into
    the Home button.
    If I picked the wrong button, let me know.

  • Filter problem in the report

    Experts,
    We have a problem with Filter on Costcenter taking very very long time . When we click on Filter button  on Cost center after executing a BW report, then a new window opens and nothing happens after that with a blank white screen in the filter window.  We have tried so many options to improve performance but only one thing worked out as a work around.
    I have deleted enteried in the master data table using TC SE14 and then reloaded master data. Then filter on this working now with in 1 min. But we have process chains running every day loading Master data .Once these process chains finish again when we filter on Cost center on the next day, now the problem still exists , takes long time to for filter window to open up. Is there any way to delete master data entries delete automatically. Any advice appreciated .
    Thanks

    Hi Kiran,
    Is that u are doing the master data full upload?
    Try to do delta loads.
    If it is the client specific. Create a process chain to delete the same master data contents. and schedule the process chain to run daily night or just before the master data loads happen, so that it will not affect the runtime. Else have to delete the same manually.
    Hope this helps u.
    regards,
    Kishore.

  • Report in P6 Optional not showing activities set by a simple filter

    it's hopefully a simple one.
    Created a report with an open project, looking at activites - rerpot shows all activities
    When i then add a filter to that report of Finish date = 1st October, I would expect to see all activities finish on that date.
    There are of course other ways of achieving this through differnet pages, but I'd like to know why this doesn't work, if anyone else knows..?

    Give your filter a range -- from 01 OCT 00:00 to 01 OCT 23:59.

Maybe you are looking for