Predefined FOI Theme on a workspace table

Hello,
we want to know if it's possibile to build a Predefined FOI Theme on a workspace table.
We have tried to make Jdbc themes on the workspace table but they are too slow;
If it's not possible how we can get better performance on a Jdbc theme based.
thanks
Nella

Hi Nella,
currently predefined FOI themes do not support the workspace parameters. Please, give more details of how are you building your JDBC theme, and maybe post some logging information with the processing of your theme.
Thanks.
Joao

Similar Messages

  • 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

  • FOI theme (Oracle Maps) rendering very slow

    I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
    I think that fetching the same marker for each feature is not nessary.
    Is there a way (undocumented feature or patch) to avoid this from happening?
    Thanks in advance,
    Jeroen

    Hi,
    Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
    thanks,
    Branislav

  • Floating photos in 11 any one know how I can keep them in the workspace like elements 6

    floating photos in Elements11, does any one know how I can keep them in the workspace like elements 6 really annoying when looking under photoshop and seeing the photo blocks my desktop or something simular or even blocks the  tools bar opions  at the bottom, which also seems far to big any help in mmaking that smaller or putting it at the top like elements 6 .. ( think I may just go back tho that 6 )

    Hi Barbara B 
    Yes I have the photos floating but they float everywhere   but not with the workspace  If I  move the work area and the photo stays where it was blocking all under it  and as I said the photos tend to over lap into other parts as well when I move it in the work space   Yes i know as clear as Mud 
    Tim

  • Refreshing predefined FOI in 11g

    I am working on Mapviewer 11g on Jdeveloper 11g using ADF. I managed to display the base map and predefined theme FOI. I am now trying to just refresh the theme based FOI (predefinedTheme1) on user clicking the 'Refresh Now' command button, How do I do it?. I am attaching the JSPX file with the code.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <script type="text/javascript">
    <![CDATA[
    var mapview;
    baseURL = "http://"+document.location.host+"/mapviewer";
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    alert(baseURL);
    function refreshFoi()
    var themebasedfoi1 = mapview.getThemeBasedFOI('themebasedfoi1');
    var themebasedfoi2 = mapview.getThemeBasedFOI('themebasedfoi2');
    var themebasedfoi3 = mapview.getThemeBasedFOI('themebasedfoi3');
    var themebasedfoi4 = mapview.getThemeBasedFOI('themebasedfoi4');
    themebasedfoi1.refresh();
    themebasedfoi2.refresh();
    themebasedfoi3.refresh();
    themebasedfoi4.refresh();
    function autoRefresh()
    if ((document.getElementById('foiVisible').checked) && (document.getElementById('refreshAuto').checked))
    refreshFoi();
    ]]>
    </script>
    <af:messages/>
    <af:form>
    <af:panelWindow closeIconVisible="false"
    title="Oracle Maps in JDeveloper 11g" id="pw1">
    <dvt:mapToolbar mapId="map"/>
    <dvt:map id="map" startingX="-100.04" mapServerConfigId="mapConfig1"
    baseMapName="MVDEMO.DEMO_MAP" mapZoom="0"
    startingY="40" unit="METERS"
    inlineStyle="width:100%; height:600px;"
    partialTriggers="::cb1">
    <dvt:predefinedTheme id="predefinedTheme1"
    themeName="MVDEMO.CUSTOMERS"/>
    </dvt:map>
    </af:panelWindow>
    <af:selectBooleanCheckbox
    label="Show Locations" id="foiVisible"/>
    <af:selectBooleanCheckbox
    label="Auto Refresh" id="refreshAuto"/>
    <af:commandButton text="Refresh Now" id="cb1" action="refreshFoi()"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks

    Hello!
    And why you create new MVMapView ?
    (mapview = new MVMapView(document.getElementById("map"), baseURL);)
    If you use dvt:map the variable "map" alredy is in javascript page scope.
    This is AdfDhtmlGeoMap object.
    This code find the current map instance:
    if (map) {
    var mapview = map.getMVMapView();
    You may use Firebug in FF to check this.
    If you use dvt:map jsp page contains _AdfDhtmlGeoMap-SHEPHERD-PS1-9296.js.
    It includes AdfDhtmlGeoMap prototype and other mapviewer object such MVMapView, MVSdoGeometry, MVMenu etc.

  • Complex predefined JDBC Theme with stacked styles ?

    Is it possible to have a predefined Complex JDBC Theme and use stacked styles ?
    complex JDBC themes use the features element of the theme to store a sql statement. I have tried adding other styles but it seems mapviewer only uses the first style rule.
    Just want to check if there are workarounds to this or if I'm missing something.
    I can always add extra predefined themes but I'm worried about the performance hit of querying the same table multiple times just to get different styles applied to the same data.

    Predefined themes with full SQL query defined use just one styling rule (the first one).
    If you are able to define query conditions for your theme, then you may have a couple of options:
    1) define several styling rules, each one with its query condition and styles.
    2) define one rule with query condition and an advanced rendering rules. On the advanced rendering
    rules section you can define several styles to be applied on your theme data.
    Joao

  • Adding multiple FOI themes with MapViewer with jdbc_query

    Hi,
    I'd like to add two themes to a map with the Javascript Mapviewer.
    When I use mapview.addThemeBasedFOI(theme); only the theme that finished loading first will display. Is it possible to add multiple themes or am I doing something wrong?
    The second thing I tried was using a jdbc_query theme. My javascript looks like this:
               var baseURL = "http://" + document.location.host + "/mapviewer";
                // Create an MVMapView instance to display the map
                var mapview = new MVMapView(document.getElementById("map"), baseURL);
                // Add a base map layer as background.
                mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
                // Add a theme-based FOI layer
                var theme = '<themes><theme name="JDBC_THEME2" >' +
                            '<jdbc_query asis="true" spatial_column="location" jdbc_srid="8307" ' +
                            'render_style="C.RB13_6" datasource="mvdemo">' +
                            '<![CDATA[select sdo_geom.sdo_buffer(A.location,1,0.005,' +
                            '\'unit=mile arc_tolerance=0.005\') location ' +
                            ' from customers A where sales<=100]]>' +
                            '</jdbc_query></theme><theme name="JDBC_THEME" >' +
                            '<jdbc_query asis="true" spatial_column="location" jdbc_srid="8307" ' +
                            'render_style="C.RED" datasource="mvdemo">' +
                            'select sdo_geom.sdo_buffer(A.location,1,0.005,' +
                            '\'unit=mile arc_tolerance=0.005\') location ' +
                            ' from customers A where sales>100' +
                            '</jdbc_query></theme></themes>' ;
                console.log(theme);
                buffertheme = new MVThemeBasedFOI('buffertheme', theme);
                mapview.addThemeBasedFOI(buffertheme);
                // Set the initial map center and zoom level
                mapview.setCenter(MVSdoGeometry.createPoint(-122.45, 37.7706, 8307));
                mapview.setZoomLevel(4);
                // Add a navigation panel on the right side of the map
                mapview.addNavigationPanel('east');
                // Add a scale bar
                mapview.addScaleBar();
                // Display the map.
                mapview.display();I used the examples from page 222 and 225 from the Mapviewer manual (mapviewer_10131_ug.pdf) and it uses the MVDEMO schema.
    The xml for the themes:
    <themes>
        <theme name="JDBC_THEME2">
            <jdbc_query asis="true" spatial_column="location" jdbc_srid="8307" render_style="C.RB13_6" datasource="mvdemo">
                <![CDATA[select sdo_geom.sdo_buffer(A.location,1,0.005,'unit=mile arc_tolerance=0.005') location from customers A where sales<=100]]></jdbc_query>
        </theme>
        <theme name="JDBC_THEME">
            <jdbc_query asis="true" spatial_column="location" jdbc_srid="8307" render_style="C.RED" datasource="mvdemo">
                select sdo_geom.sdo_buffer(A.location,1,0.005,'unit=mile arc_tolerance=0.005') location from customers A
                where sales>100
            </jdbc_query>
        </theme>
    </themes>In this example I want to display 2 different colors, one for sales>100 and one for sales<=100. Again, only the first color is displaying. I searched for some examples and found <map_request> xml files where multiple themes are allowed, is it also allowed with the Javascript Mapviewer?
    Thanks for you help!
    Jeroen

    Hi
    Are you trying to concatenating or adding it ? i mean you said adding year measure1measure2
    year is character type so i guess that you want to display like 2011 45000 isnt it
    then use concatenation or try to change the measure value to dimension to keep side by side
    Hope this helps u

  • Using portal theme in web dynpro tables

    We are currently running EP6 (NW04).  Is there a way to make our java web dynpro table ui elements use the portal theme?  All tables appear blue unless they are checked as readonly in which case they are white. 
    I see there is a TableCellDesign ui element, but that is not available until NW04s and we are not there yet.
    Please assist. (and thank you!)
    Jeff Karls

    hi
    You are right about NW04s portal theme editor and we are able to change colour
    the tablecelleditor ui. But as far as i remember i was able to change properties like selected cell colour, non selected cell colour and mulitselected cell colour.
    However if you are not able to change it in EP 6.0 (NW04) then use the webdynpro themes. I suppose you will be able to do everything there.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d2b1d790-0201-0010-25b7-d1fb059a8ad9">How to edit webdynpro themes</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/1e/535d420447e054e10000000a155106/frameset.htm">Setting the theme in Visual admin</a>
    Hope it helps.
    regards
    LNV

  • How to count the per group-entries and put them in the new table

    Hello Guru,
    I want to sort the table cdhdr.
    for example :
      SELECT objectclas objectid changenr   *******
      INTO TABLE cdhdr_data
      FROM cdhdr
      WHERE ( ********) AND
            objectclas = i_objectclas
    The problem that I need to order the table by objectclas and objectid.
    Let say objectclas is always MATERIAL.
    Let's assume our key is changenr. May be our key will change to "objectclas objectid".
    So, my problem that I need to get the number of the same "objectid" with different "changenr".
    And also I need to put the count number of each object id with different changenr in the table cdhdr_data.
    For example
    objectclas        objectid       changenr      count
    MATERIAL      00***001      1                   3
    MATERIAL      00***001      4                   3
    MATERIAL      00***001      7                   3
    MATERIAL      00***005      2                   2
    MATERIAL      00***005      6                   2
    MATERIAL      00***003      5                   2
    MATERIAL      00***003      3                   2
    So later I'm going to use it.
    LOOP AT cdhdr_data FROM sy-tabix TO ( sy-tabix + cdhdr_dat ( sy-tabix ) + count - 1 )
    some optimized cdpos processing
    IF entry found.
    *don't loose time
    *change the boundery
    sy-tabix = count
    ENDIF.
    ENDLOOP.
    Best Regards,
    Kais

    Hi Marcin,
    Thanks for replying.
    I'm having a trouble.
    Let say I got an error on insert into ****.
    It says me that the object (i_)cdhdr_data is not known.
    Why, should I avoid to put objectclas = i_objectclas there.
    I need to have MATERIAL OR DOKUMENT.
    I can't just put 10000entries like that.
    I'm also sceptic about how much this operation will cost.
    Because I need to proceed the data with cdpos.
    And This's why I'm doing that.
    Later with this implementation I'm gone use LOOP AT *** FROM sy-tabix TO ****.
    If I use my method, it will cost lower than inserting, changing, ...
    I rather ignore the objectid and don't make any processing.
    But with your solution I can say its rapidly.
    Let assume there's n entries in cdhdr and m entries per n in cdpos.
    So my algorithm will select n entries and will follow n*m entries but some of them will be proceeded an other not.
    in cdhdr :
    for n entries : n * 1 selecting
    in cdpos :
    always : n*m comparing,
    processing between : n1 - nm
    With you algorithm we will do :
    in cdhdr :
    for n entries : n* (1 selection + 1 modifing + 1 appending) <=> each operation cost O(1)
    in cdpos :
    for comparing between : n1 - nm
    processing between : n1 - nm
    Let see the middle value :
    your case :
    in cdhdr  we have : n * O(3) ~ n * O(1) ~ O(n)
    in cdpos :
    O(c(nm)/2) + O(p(nm))2) ~ O((cp)((nm)/2)) ~ O(d(nm))  d= (cp)/2 ~ p/2
    we know that O(c*n) ~ O (n) ; c ist a constant
    c : comparing cost
    p : processing cost
    p >> c
    my case :
    in cdhdr  we have : n * O(1) ~ O(n)
    in cdpos :
    O(c(nm)) + O(p((nm)/2)) ~ ? maybe O(d(nm)) d = c + (p/2) ~ p/2
    c : comparing cost
    p : processing cost
    p >> c
    Ok, this in theorie, but in reality I've no idea.
    Is there a mathematician there ?
    Regards,
    Kais
    FORM get_cdhdr_data_modified_1
      USING
        i_from_date TYPE dats
        i_from_time TYPE terf
        i_to_date TYPE dats
        i_to_time TYPE terf
        i_objectclas TYPE j_objnr
      CHANGING
        cdhdr_data TYPE SORTED TABLE.
    types: begin of t_cdhdr_data,
                objectclas type cdhdr-objectclas,
                objectid type cdhdr-objectid,
                changenr type cdhdr-changenr,
                count type i,
          end of t_cdhdr_data.
      DATA : i_cdhdr_data type table of t_cdhdr_data with key objectclas objectid changenr with header line.
      DATA: st_index LIKE sy-tabix, count TYPE i.
      SELECT objectclas objectid changenr
      INTO TABLE i_cdhdr_data
      FROM cdhdr
      WHERE ( ( udate GT i_from_date AND udate LT i_to_date ) OR
              ( udate EQ i_from_date AND udate NE i_to_date AND utime GE i_from_time ) OR
              ( udate EQ i_to_date AND ( udate NE i_from_date OR utime GE i_from_time ) AND utime LE i_to_time )
            ) AND
            objectclas = i_objectclas.
      INSERT INTO i_cdhdr_data FROM i_cdhdr_data.
    ENDSELECT.
    LOOP AT i_cdhdr_data.
      AT NEW objectid.
        "remember start position
        st_index = sy-tabix.
      endat
      at end of objectid.
      count = sy-tabix - st_index + 1. "count accual position
      cdhrd_data-count = count. "now you have how many entries are in each objectid
      MODIFY TABLE i_cdhdr_data FROM i_cdhdr_data.
    ENDAT.
    ENDLOOP.

  • How can I take data from multiple pages documents and put them into a numbers table?

    I produce invoices in pages, with dates, invoice numbers, references and amounts due. I want to take all this data from multiple documents and transfeer it to a single numbers table. Is this possible and if so, how do I do it. I know I can do it the other way round with mail merge but I can't figure out how to do it this way round?
    Thanks,
    Keith

    The data is spread throughout a pages document in specific areas here's a copy of an invoice for you to have a look at.

  • How to loop through Multiple Excel sheets and load them into a SQL Table?

    Hi ,
    I am having 1 excel sheet with 3 worksheet.
    I have configured using For each loop container and ADO.net rowset enumerator.
    Every thing is fine, but after running my package I am getting below error
    [Excel Source [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may
    be error messages posted before this with more information on why the AcquireConnection method call failed.
    Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified
    in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    [Connection manager "Excel Connection Manager"] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft Access Database Engine"  Hresult: 0x80004005  Description: "The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by
    another user, or you need permission to view and write its data.".
    Pleas suggest me the correct way of solving above issues.
    Thanks in advance :)
    regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    Hi ,
    Please refer the below link for Looping multiple worksheet in a single SQL Table.
    http://www.singhvikash.in/2012/11/ssis-how-to-loop-through-multiple-excel.html
    Note:-If you using excel 2010 then you have to use EXCEL 12.0 .
    Above link explaining  step by step of Looping multiple worksheet in a single SQL Table.
    regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

  • Conversion of a string output and store them into the internal table fields

    Hi,
    I'm writing a program in which I'm populating the values generated in TCODE- 'AL11' I'm able to retrieve the data in string format but I've to break the string and put the values in an internal table. The internal table has fields of various lengths and no specific position where I can use a delimiter and use the Split command.
    Kindly provide me suggestions how I can break the string and assign the values in the fields of the internal table.
    Regards,
    Sreedhar.

    Hi,
    Take the screen fields length and create an internal table.
    loop the internal table and first split the string at delimeter( use  cl_abap_char_utilities)
    CONSTANTS:
      c_delimiter        TYPE c VALUE
                              cl_abap_char_utilities=>horizontal_tab,
      c_delimiter_enter  TYPE c VALUE
                              cl_abap_char_utilities=>cr_lf.
    loop at itab into fs.
        SPLIT w_str  AT c_delimiter_enter INTO w_str w_dummy .
                                          " SPLITTING AT 'ENTER KEY'
          SPLIT w_str  AT c_delimiter INTO
                                          " SPLITTING AT 'TAB'
      fs-f1,
    fs-f2.
    append fs to itab.
    clear fs.
    endloop.

  • MV11gPr1 - some FOI themes do not show labels

    Hi,
    style definition:
    <?xml version="1.0" ?>
    <AdvancedStyle>
    <BarChartStyle width="70" height="70" share_scale="true" min_value="0.0" max_value="455.0">
    <Bar name="porastova poda" color="#00CC00"/>
    <Bar name="holina" color="#FF0000"/>
    </BarChartStyle>
    </AdvancedStyle>
    here is the theme definition using the above style:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID">
    <hidden_info>
    <field column="TXKR" name="kraj"/>
    <field column="PLOCHA" name="porastová plocha"/>
    <field column="HOLINA" name="holina"/>
    </hidden_info>
    <rule column="PORAST,HOL">
    <features style="V.KR_VYMERY_BAR"> </features>
    <label column="TXKR" style="T.KR"> 1 </label>
    </rule>
    </styling_rules>
    in MapBuilder - labels are shown, but
    in Oracle Maps using foitheme.enableLabels(true) not!
    thanks,
    Branislav

    Only polygon labels can be automatically rendered by mapviewer. The demo #49 on the tutorial page shows how to display labels for points/markers.

  • Prificaton of the data and load theme to a OWB table.

    Hello !
    I have a flat file in TXT mode , I want to load data in target table but first I need to do some purification like delete some record with id =1,2,9,10
    How can do it?
    thanks.

    Your mapping can filter the file before the data is ever staged in Oracle, the mapping example below illustrates;
    http://blogs.oracle.com/warehousebuilder/resource/OWB/owb_filtered_et.jpg
    There are OBE's illustrating how the flat file sampler works see below in the flat file OBE, it uses the file directly in the mapping which results in a SQLLoader mapping, rather than doing this if you create an external table using the flat file definition you can do what I did above;
    http://apex.oracle.com/pls/apex/f?p=44785:24:1778744827384310::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5248,29
    Cheers
    David

  • ODI create not usual table in my workspace

    Hello,
    I have a little problem that I can't explain.
    In two of my clients workspace we have seen that ODI create some objects which are really strange.
    When we connect to the workspace DB with Squirrel or when we try to reverse of the workspace table, we can see lot of objects nammed BIN$...........
    In Oracle they are identified like Tables but we can't open them.
    Firstly I don't know how they are used.
    Secondly I don't know if I can Delete them
    Thirdly when I try to delete them I obtain this message :
    ORA-38301: can not perform DDL/DML over objects in Recycle Bin
    Finally I would like to know if I can Purge this Recycle Bin with no consequences on my project?
    Thanks in advance.

    Since Oracle 10g, when you drop a table Oracle create a bin$object, you can then reestore a dropped table...
    If you want to drop these object 2 ways with oracle:
    SQL> Drop table mytable purge;
    or
    SQL> purge recycle bin;
    this commande purge all dropped table!
    Of course you can update your Oracle KM to put this code
    after each drop table using drop table ... purge
    or only once at the end of a package or interface using the purge recycle bin

Maybe you are looking for

  • How do i determine what processes have a lock on a file?

    hi- i want to replicate the functionality of a program like: http://www.codeguru.com/Cpp/W-P/dll/article.php/c3641/ in java, without having to use native code/JNI. the closest method i could find was: http://java.sun.com/j2se/1.5.0/docs/api/java/nio/

  • Delivery failures using Nokia Email

    Hello, hopefully someone can assist me with this strange issue... Just recently 2 out of my 4 accounts on email.nokia.com cannot send any emails, they both still push mail fine, but every time I send a mail I get a rejection notification email. They'

  • Stock Analysis : Dead Stock : More than 60 Days.- Report

    Dear SAPians Good Evening I need a SAP report i want to know if there is a SAP standard report i dontr want to have a Z-Report. My requirement is <b>Stock Analysis : Dead Stock : More than 60 Days.</b>Required Fields are <b>Item code   Description  S

  • Creating Infocube in APO - RFC between BW & APO is Mandatory..??

    Hi, Does the RFC connection between APO & BW system is required for creating an Active InfoCube in APO System...?? Or Only RFC connection between APO & ECC system is enough..!!

  • Edited Photos in Emails

    Is there a way to attach an "edited" photo from the IPhoto library into an email since the "original" hasn't been edited. The original is easier to find in its folder on the HD.