Use setQueryParameters to find all the geometries in a predefine FOI theme

Hi,
I am trying to select the geometries of a theme by an area. I use the MVRectangle tool to draw a rubber band polygon on a map. When finish drawing the polygon, a function is invoke to set the rubber band poly geometry to the setQueryParameter to highlight the selection. code as below:
function highlight()
highlightTheme = new MVThemeBasedFOI('highlight_theme','mvdemo.customer_select');
highlightTheme.setQueryParameters(rectangleTool.getRectangle());
mapviewer.addThemeBasedFOI(highlightTheme)
My question is what query condition I use to make it happen?
This is what I tried but no luck
(mdsys.sdo_relate (a.location,
mdsys.sdo_geometry (2003, 8307, null,
mdsys.sdo_elem_info_array (1, 1003, 3),
:1),
'mask=ANYINTERACT')= 'TRUE')
Thanks in advance for any help!

Try this:
create a theme SELECT_ANYINTERACT with the following query condition: (sdo_relate(location, :select_region, 'mask=anyinteract')='TRUE')
and add this to your .js
highlightTheme = new MVThemeBasedFOI('highlightTheme', 'xxx.select_anyinteract');
highlightTheme.setQueryParameters(geom);
Wijnand
Message was edited by:
wijnand

Similar Messages

  • How to find all the parts used from stock for 1 machine

    Dear Sap community,
    I'm trying to find all the spare components that are used for 1 specific machine.
    If I look in the work orders under components it only gives the components that are orderd.
    But I would like to find the components that come out of stock. I asked the stockkeeper and he said he writes it all in the work orders but we can't find it back.
    It would be nice to just find it on the work order but it would be easier if I could just choose a machine and then find all the spare parts used from stock.
    So my question is can I find all the spare parts used for 1 machine or just find the spare parts in the work order?
    Thank you for any help you can provide in this situation,
    Michael Claes

    Hi,
    In addition to puneet's information:
    Training and Event Mgmt  infotypes:
        Prices (Infotype 1021)
        Availability Indicators (Infotype 1023)
        Capacity (Infotype 1024)
        Depreciation Meter/Validity (Infotype 1025)
        Business Event Info (Infotype 1026)
        Site-Dependent Additional Info (Infotype 1027)
        Address (Infotype 1028)
        Business Event Type Info (Infotype 1029)
        Procedure (Infotype 1030)
        Mail Address (Infotype 1032)
        Name Format (Infotype 1034)
        Schedule (Infotype 1035)
        Costs (Infotype 1036)
        Billing/Allocation Info (Infotype 1037)
        Business Event Blocks (Infotype 1041)
        Schedule Model (Infotype 1042)
        Demand (Infotype 1060)
        Web Link (Infotype 1061)
        Knowledge Link (Infotype 1062)
        Business Event Group Info (Infotype 1063)
    Thanks,
    Anil.G

  • I need help in finding all the new fontsin iPad 2 using iOS  5

    I need help in finding all the new fonts in ipad 2 using ios 5

    You cannot change the email font. You can make it bold, italics and underline the type, but Helvetica is your only choice in the mail app.
    In the notes app you have 3 choice Noteworthy, Helvetica and Marker Felt. The font can be changed in Settings>Notes>Font.
    You can only use fonts that are built into the app that you are using at the time. You cannot pick and choose fonts from a list of all of the fonts that may be on the iPad but only from the list of fonts that the app allows.

  • How can we find all the available  user-exits in sap without using SMOD?.

    How can we find all the available  user-exits in sap without using SMOD?.

    Hi,
    Please check this links for user exits list.
    http://www.planetsap.com/Userexit_List.htm
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/ab038.htm
    Regards,
    Ferry Lianto

  • Is it possible to find all the documents for a serial number ?

    Hi all,
    I'm using materials with serial numbers in complaints.
    Is it possible to find all the documents for this serial number ?
    Is it possible to check if this serial number is allready in use in any document ?

    Hi Mengelkemier,
    I think you're posting in the wrong forum.  This forum is intended to be used to discuss virtualizing Exchange Server on the the vSphere platform.  The question you're asking seems to be a mobile device specific question.
    You would probably get better visibility posting on a forum dedicated to your particular device.  And for what it's worth, some devices will let you sync all of your email and others will only let you sync a certain amount.  It's dependent on the device you're using.
    Good luck in finding your answer.
    Matt

  • Why can't iTunes find all the album artwork?

    Why can't iTunes find all the album artwork?

    That would fall under Browsing History. Firefox > History -> Show All History
    Firefox doesn't use Temporary Internet Files for anything except Windows Media files.
    Type '''about:cache''' in the URL bar and hit Enter. <br />
    Disk cache device = List Cache entries

  • Finding all the Purhcase Order if we have the Material Number

    Hi Gurus,
    In 2009, we set up the Purchase Orders for particular material with standard cost, now in 2010 the vendor has changed the standard cost of the material,however in our books we did not change the standard cost in the PO.
    Now we want to change the standard cost in all the purchase orders at once. is there any way to find all the purchase orders against any particular material, so that we can update the Purchase order.Actually we are not aware how many purchase orders have been created for such material.
    Thanks

    Dear,
    Use transaction ME2N and find the purchase order for particular material or material group..
    Regards,
    Chintan Joshi

  • Function Module for finding all the users in an org unit?

    Hi,
    is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit.
    Looking for a quick response.
    Regards,
    Neha

    Please use the function module BBP_OM_STRUC_GET_USER_FROM_ORG.  You have to pass the Org Ids in the parameter START_OBJECTS. Then USER_TAB will give you all the users.
    Note:
    OTYPE = 'O'.
    OBJID = <Org Id say 50002323>.
    Regards
    Kathirvel
    Edited by: Kathirvel Balakrishnan on Sep 24, 2008 2:25 PM

  • How to find all the methods in oops

    Hi all,
    is there any way to find all the methods of all class in a single screen j(ust like using t.code se37 we can find all the fm created)
    sathish

    Hi,
    1.Go to the class builder(SE24).
    2.Type the class name[eg..cl_gui_alv_grid]
    3.You will see a tab called methods.Click that.In that,you can view all the methods.Place the cursor in a method and click parameter tab.You can find the parameters for the method.
    Kindly reward points by clicking the star on the left of reply,if it helps.

  • Program or a Report name to find all the objects in a query?

    Dear People,
    Could anyone help me in finding out the program or a report name thorugh which I can find all the objects related to a particular query?
    Thanks in Advance!
    Regards,
    Vinoth V

    Hi,
    RSRQ_QUERYDEFINITION is a program to give all details about query if you executed it in SE38.
    And similarly tcode RSRT1 and RSRT used to execute the queries.
    Tcode RSRREPDIR to know the Query execution time and details.
    Hope helps out,
    Thanks-RK

  • Query to find all the view name and their size in GB

    Hi,
    What is the query to find all the view name and their size in GB.I am aware of joining all_views and user_segments but this is not serving the purpose.is there any table i need to join to get the desired result
    Thanks

    You could of course be thinking of views as they are stored in other RDBMS' as some of them actually create the view as a table on the database with a copy of the data in it and maintain that data as the base tables are updated.
    As already mentioned, Oracle just stores the SQL of the View and executes that SQL when the view is queried.
    Alternatively, Oracle also has "materialized views" which are created as snapshots of the data and will have a size. This data is updated (refreshed) based on the parameters used when creating the materialized view which means that it will either be, commonly, when a commit is issued or when a refresh is explicitly requested (refresh on demand).

  • I want to find all the invoices where condition type ABCD is Missing??????

    Dear friends,
    for invoices which table i will find the basic price value (Amount) with condition type and Invoice number
    e.g. Pr00 value and the invoice numbers
    Or
    Question
    1) I want to find all the invoices where condition type ABCD is used ?????????
    2) I want to find all the invoices where condition type ABCD is Missing???????
    Regards
    Hanumant

    Hi,
    It is a reverse process.
    Goto the T.Code "SE16".
    Enter the table name as "KONV".Pass the Condition type as "ABCD".
    Get the Values from the field "Doc. Condition".
    Pass those values into VBRK table to get the Invoice Numbers which will give you all the invoices which are using the condition type "ABCD".
    Regards,
    Krishna.

  • How to find all the objects by Module.

    Hey all,
    Can any one please help me in finding all the objects by Module.
    I need to have all the objects(like app engines, records, fields, file layouts, etc,.) in AP, AM, GL, BI, AR.
    thank you,
    Bye.

    You can use the OwnerID field as a starting point. The reason why i say that is because there are some objects that cross-over between more than one module.
    http://www.CompShack.com

  • I have saved a large number of cd on an extermal drive via my laptop. I have now moved my external drive to my desk to but I tunes does not find all the CD i have saved on the external drive

    I have saved a large number of cd on an external drive via my laptop. I have now moved my external drive to my desk to but I tunes does not find all the CD i have saved on the external drive

    Depending on which email client software you use
    the files should be in 'your home folder' library, esp.
    if you use Mail application.... ~/Library/Mail
    Since you don't specify what mail application,
    that would most be associated with the file.
    I notice there are some items to the right of your post
    where it says "more like this' so that may be worth a
    look to see if similar issues were answered. Also, the
    Help viewer in your system is a searchable database.
    Seems that google also brings up fair information, too.
    Do you have a complete bootable clone of your entire
    Mac system on an externally enclosed hard disk drive?
    Good luck & happy computing!

  • Finding all the running instances of JVM

    We have to write a tool to upgrade an existing installation of our Java based application. For that we need to determine whether our java application is running.
    1. One way which I don't find that clean is listing all the processes on the machine and then find my application.
    2. Other option is using jps, but it is part of JDK and not jre, so that rules it out.
    Does java provide anything inbuilt to find all the running jvm on the host(something like jps)
    Thanks,
    Sumit

    We have to write a tool to upgrade an existing installation of our Java based application. For that we need to determine whether our java application is running.
    1. One way which I don't find that clean is listing all the processes on the machine and then find my application.
    2. Other option is using jps, but it is part of JDK and not jre, so that rules it out.
    Does java provide anything inbuilt to find all the running jvm on the host(something like jps)
    Thanks,
    Sumit

Maybe you are looking for

  • Cannot print a pdf off my mac 10.6.x. I can print all other files Epson printer  'Cancelling'

    Cannot print any pdf from my mac to Epson printer I can print all other files except pdf Using the most updated Adobe Reader XI Using the latest driver for the printer from Epson Using a USB cable Whats up?

  • JPEG in DV50 sequence quality issues in FCP5

    I had been working on graphics in DV50 in 4.5. the graphics were JPEGs that were 150 by 786 and I would crop them and place them over video and other layers of graphics. The type was sharp and there was no problems. When I did the same thin in FCP5 t

  • PDF printer can't find distiller

    Hello all, I am having a PDF printing issue on one machine. I am getting the error "PDF printer can't find distiller" although it is grayed-out in the Adobe Acrobat folder. I have uninstalled and reinstalled Acrobat 9 twice.

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in m

  • Could not start/run  64-bit JVM on solaris

    Hi, Basically I wanted to increase the heap size of java on solaris to 4GB . some where I read ,2GB is the max limit for 32-bit JVM, Hence I used 64-bit setting to start JVM, I added "-d64" option. after this ,when I tried to start weblogic (which ca