Layering JDBC themes on an SVG without redrawing image

Is there a way via Javascript or other means to add dynamic JDBC themes to an SVG, within a JSP, without having to refresh/redraw the page and subsequent SVG everytime? Thank you in advance...

The only way to get Firefox to offer to save the SVG image would be to force a content type that Firefox doesn't recognize as supported natively.
*Mason: https://addons.mozilla.org/firefox/addon/mason/

Similar Messages

  • [HELP] Error: "JDBC theme based FOI support is disabled for the given data"

    Hi all,
    I have already set up MapViewer version 10.1.3.3 on BISE1 10g OC4J server. I am current using JDK 1.6. I create a mvdemo/mvdemo user for demo data.
    The MapViewer demo is running fine with some demo without CHART. But give this error with some maps that have CHART like: "Dynamic theme, BI data and Pie chart style", "Dynamic theme and dynamic Bar chart style". The error is:
    ----------ERROR------------
    Cannot process the FOI response from MapViewer server. Server message is: <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.\nRoot cause:FOIServlet:MAPVIEWER-06016: JDBC theme based FOI support is disabled for the given data source. [mvdemo]</oms_error>.
    ----------END ERROR------
    I searched many threads on this forum, some point me to have this allow_jdbc_theme_based_foi="true" in mapViewerConfig.xml and restart MapViewer.
    <map_data_source name="mvdemo"
    jdbc_host="localhost"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Error Images: [http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png|http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png]
    I have this configuration, but no luck. Could anyone show me how to resolve this problem?
    Rgds,
    Dung Nguyen

    Oop, i managed to have this prob resolved!
    My prob may come from this I use both scott and mvdemo schema for keeping demo data (import demo data).
    Steps i made to resolve my prob are:
    1) Undeploy MapViewer from Application Server Control (http://localhost:9704/em in my case)
    2) Drop user mvdemo
    3) Download mapviewer kit from Oracle Fusion Middleware MapViewer & Map Builder Version 11.1.1.2
    4) Deploy MapViewer again
    5) Recreate mvdemo and import demo data
    6) Run mcsdefinition.sql, mvdemo.sql with mvdemo user (granted dba already)
    7) Edit mapViewerConfig.xml
    <map_data_source name="mvdemo"
    jdbc_host="dungnguyen-pc"
    jdbc_sid="bise1db"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="!mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    Save & Restart MapViewer
    And now, all demos run fine. Hope this helpful for who meet prob like my case.

  • Problem Joining JDBC theme to XML NSDP file

    I've created a basic map of Germany with different layers for regions etc. I've then added a dynamic JDBC theme using the following code
    var baseQuery= "select geometry, name from world_sample.world_city_metropolis where iso_country_code = 'DEU'";
    var theme = "<themes><theme name='MY_JDBC_THEME' >" +
    "<jdbc_query spatial_column='geometry' jdbc_srid='8307' " +
    "render_style='C.RED' datasource='WORLD_SAMPLE'>" + baseQuery +
    "</jdbc_query></theme></themes>" ;
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi2',theme);
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    I've then tried to bind this theme to a small XML source using this code
    function setupNsdp(themebasedfoi)
    var nsdpInfo = new MVNSDP("defaultNSDP");
    nsdpInfo.setTheme("MY_JDBC_THEME");
    nsdpInfo.setKeyColumn("name");
    var xml_data = "<nsdp_xml>"+
    "<table>"+
         "<tr><th>name</th> <th>Revenue (M)</th></tr>"+
         "<tr><td>BERLIN</td> <td>120.0</td></tr>"+
    "</table>"+
    "</nsdp_xml>";
    var ps = new Object();
    ps["xml"] = xml_data;
    nsdpInfo.setParameters(ps);
    themebasedfoi.setNSDP(nsdpInfo);
    The problem is that when I click on the Berlin FOI on the map I get a pop up box that contains only the name of the city and not the Revenue Column which was defined in the XML sample.
    I think that the setNSDP method must be failing but I'm not sure how to debug this. I've read many different tutorials and I'm sure that I ahve followed them correctly but if anyone could provide any info that may help me debug or fix this problem then that would be much appreciated
    Thanks
    David

    I just upgraded to Mapviewer 11 preview and it has fixed this issue.

  • Advanced Styles with JDBC Themes

    Hi,
    I am trying to use the Java API to add a JDBC theme to a map request (no problem we have been doing this for some time). However, I now want to apply a predefined Advanced style to that theme but am struggling to do so. If I predefine a theme and use the predefined advanced style them it works fine. When I user the .addJDBCTheme call with the advanced style as the style parameter it does not work. I am guessing I have to use the setThemeRenderingRules to get this to work but the documentation is not great and I can't find any examples. Has anyone applied an advanced theme to JDBC layers and if so how did you do it, any help much appreciated.
    Chris

    Hi Chris,
    when using a predefined theme the attribute column (or columns) to be used by the advanced style are defined on the theme definition.
    For dynamic themes, you need to select the attribute on the dynamic SQL expression. On the following example, the column TOTPOP is used for the render style.
      <themes>
        <theme name="states" >
           <jdbc_query
             spatial_column="GEOM"
             render_style="V.USSTATES TOTPOP"
             jdbc_srid="8265"
             datasource="mvdemo"
             asis="false">select GEOM, TOTPOP from STATES
           </jdbc_query>
         </theme>
      </themes>Joao

  • My wife and I have made many purchases over several years on seperate accounts, how could we join them into one account, without losing everything?

    My wife and I have made many purchases over several years on seperate accounts, how could we join them into one account, without losing everything? We both use Iphone 5's and share an Imac at home.

    Purchases using one Apple ID cannot be merged or transferred to another Apple ID. Purchases are forever tied to that Apple ID used. You have to decide which Apple you want to use for purchases and stick to that Apple ID so that you can share: Settings > iTunes & App Stores > Apple ID : > use the same Apple ID here to share purchases.

  • I have some old cd's I have burned on itunes. How can I copy them to my iphone without using the cloud? I donot want to mess with my cloud settings because I am a technophobe . Please be gentle.

    I have some old cd's I have burned onto itunes. Howcan I copy them to my iphone without using the cloud? I donot want to mess with my cloud settings because I am a technophobe. Please be gentle

    Willy, the procdedure you describe works perfectly for AppleTV G1. In fact, I frequently play DTS music discs ripped to my iTunes library as Apple Lossless (ALAC) and synched to the ATV. What happens is that, as far as iTunes and the ATV are concerned, a conventional stereo 16/44 audio file is being played; however my reciever detects the DTS data stream, and instead of outputting static, it decodes the 5.1 channels correctly. This process parallels the way DTS discs were designed to be played back: a conventional CD player is connceted, via digital out, to a DTS-aware reciever/pre-amp and the two channels of static are recognized as 6 channels of DTS-encoded audio.
    However this process will only work if the player (CD, ATV, PC, etc.) sends a "bit-perfect" 16 bit/44.1 khz data stream to the decoding device. In the case of ATV G2 and G3, as has been discussed elsewhere, the unit resmaples all audio - including 16/44 PCM (Redbook CD)  - to 16/48. While this is not a big deal for conventional audio CDs, MP3s, and AAC files, it mangles the fragile DTS datastream and renders it undecodable. The resulting static that you hear is just like the static you would hear if you played a DTS CD on a non-DTS capable system.
    Sadly, I'm not aware of any easy way around this. You could use a program like Foobar (and the DTS plugin) to convert your DTS CDs to 6-ch .wav or .flac file. From there you could transcode the file to AC-3 and then mux it into a video container that ATV supports. You may need add a dummy video track, for iTunes/AppleTV to be ok with the file, though I'm not sure. This may be a lot of work.
    Sorry for the bad news. I wish that the iTunes/ATV ecosystem had better multi-channel audio support.
    Steven

  • I have purchased and downloaded some TV Shows through iTunes. How can I watch them on my iPad without an internet connection?

    I have purchased and downloaded some TV Shows through iTunes. How can I watch them on my iPad without an internet connection?

    Demo the same thing happened to me.  I purchased a seasons pass for Sons of Anarchy Season 6 and I've got the eposides on my IPad but Airplay won't allow me to watch the episodes without an internet connection or WiFi.  Is there anything else I can do so that I can watch these eposides without an internet or wifi connections?

  • How can i take the pictures from my old ipod and transfer them onto my computer without deleting anything

    How can I take the pics from my old ipod and transfer them onto my computer without deleting anything?

    Pictures on an iPod are stored in a special format, optimized for the iPod's small lower resolution screen, to save storage space.  iTunes puts them into that format when syncing.  There is setting in iTunes, on the iPod's Photos screen (where you set up syncing of photos) for Include full resolution photos.  If that checkbox was checked when you synced the photos to the iPod, THEN you can Enable disk use and find those photo files on the iPod in the Photos folder. 
    Otherwise, you cannot get your photos back, using iTunes.  There may be third-party utilities that can extract individual photos from the iPod, but they will still be lower-resolution versions of the original photo.

  • I was syncing everything to itunes and I tried to do my contacts, not knowing quite how. I ended up erasing all of them from my phone without any of them syncing to my computer or itunes. Is there any way I can get them back? I really need them all.

    I was syncing everything to itunes and I tried to do my contacts, not knowing quite how. I ended up erasing all of them from my phone without any of them syncing to my computer or itunes. Is there any way I can get them back? I really need them all.

    There are lots of ideas floating on the web for this particular issue - all of which I tried. I had the same problem and it turned out to be my USB cable. I thought the cable was fine as it would charge my phone and play but the data transfer pin was bent. I replaced the cable and it fixed the problem. Worth a shot as it is an easy fix!

  • Mapviewer map_request limitations for when using wms and jdbc themes?

    Are there limitations to not use either the bounding_themes or the center option when a basemap requests both a jdbc and a wms theme? I would like to have the bounding_theme be the jdbc theme. I can see how this could pose challenges in that there would be a need to retrieve the jdbc theme and calc the mbr before issuing the wms requests w/ the correct bbox. Would be a nice feature though.

    woops, sorry LJ -- it works. Do you have suggestions though for dealing w/ case where the jdbc theme returns one point? id like to use something like the border_margin to pad the point out to a box, but seems to always just return just the point. mkaes sense since multiplying 0 by anything is zero. we are planning on writing a servlet that instead uses sdo_buffer then construct the coordinates tag w/ the sdo_aggr_mbr. that should accommodate 1..n points returned.
    <bounding_themes border_margin="0.05">

  • Jdbc theme query problems

    Hi all,
    I'm integrating Oracle Maps (10) in BISE, I've used Navtweq maps with my spatial data and I've created some maps, themes etc.
    Now I'm trying to create some more complex JDBC themes.
    Everything works fine if I use simple query, but I'm not able to create a theme whit more complex queries
    for example I have 3 tables
    m_admin_area2 (with geometric infos)
    tab_supporto1 (a table with all the sales per day and region)
    I want to know all the regions where my sales are incremented by 10% in a specified arch of time
    this is the query :
    select m_admin_area2.geometry, A.corrente, B.precedente,  ((A.corrente-B.precedente)*100/B.precedente) INCREMENT
    FROM
    m_admin_area2,
      Select m_admin_area2.feature_name, m_admin_area2.carto_id, sum
      (tab_supporto1.tot) as corrente
      from tab_supporto1, m_admin_area2
      where m_admin_area2.carto_id = tab_supporto1.carto_id
      and tab_supporto1.data_ordine <= 20071231
      and tab_supporto1.data_ordine > 20061231
      group by m_admin_area2.carto_id, m_admin_area2.feature_name) A ,
      (Select m_admin_area2.feature_name, m_admin_area2.carto_id, sum
      (tab_supporto1.tot) as precedente
      from tab_supporto1, m_admin_area2
      where m_admin_area2.carto_id = tab_supporto1.carto_id
      and tab_supporto1.data_ordine <= 20061231
      and tab_supporto1.data_ordine > 20051231
      group by m_admin_area2.carto_id, m_admin_area2.feature_name ) B
      WHERE m_admin_area2.carto_id = A.carto_id AND m_admin_area2.carto_id = B.carto_id
      AND ((A.corrente-B.precedente)*100/B.precedente)>10The error returned is:
    Cannot process the following response from FOI server:
    <?xml version="1.0" encoding="UTF-8" ?> <oms_error> [Foi Server] foi process error.:Origine dati di mappa [oms] non trovata (map data source not found).</oms_error>
    Thanks,
    Luca
    Message was edited by:
    LukeBk

    Could the error be similar to this:
    JDBC query error
    Hope this helps,
    Dan Abugov (NAVTEQ)

  • Adding/Installing MXP Theme file to Eclipse (without AEM)

    Adding/Installing MXP Theme file to Eclipse (without AEM)
    Recently downloaded Adobe Flex (FlashBuilder 4 plugin LS10) for Eclipse, and going through some Tutorials where they want me to install a Theme to learn Styles.
    They want me to install MXP file, but I cannot find where to. Every place on the web assumes you haev Adobe Extension Manager(AEM) installed, so I went and installed that, but even with that, it doesn't seem to find the Flex install (under eclipse) so won't allow me to install the Theme.
    So how does one go about installing/adding a MXP file to Eclipse without the full Flex distribution (though with all the searching and talking/waiting for tech support - which they then directed me here) it probably would have been quicker to install the full dist.
    But I figure I can't be the only one who would ask this so hopefully my pain will help someone in the future.
    Thank you for any help.
    Joe

    There is no shortcut known to me to to prevent a file from being copied to the 'iTunes Music' folder.
    To add a file to the library, without copying it to the 'iTunes Music' folder, uncheck 'Copy files to iTunes Music folder when adding to library' in Preferences>Advanced>General.
    In the subject of this topic you are referring to 'importing', but from the contents of this topic, I presume you're only talking about 'adding'.
    To understand the differences, read this article:
    iTunes: About the Add to Library, Import, and Convert functions.
    BTW: If you 'import' files, the files are always copied to the 'iTunes Music folder location' as set in the preferences, regardless of the status (checked/unchecked) of the checkbox of the 'Copy files to etc.......' setting.
    Hope this helps.
    M
    17' iMac 800 MHz, 768 MB RAM, 200 GB HD, DL burner   Mac OS X (10.4.9)   iTunes 7.1.1

  • How to use bounding theme with jdbc theme

    Hello
    I'm using oracle maps javascript API to locate geometry with jdbc theme based foi, so how to use bounding theme with jdbc theme? Give me help, thanks.

    Hi,
    You can find some information & code samples at this link :-
    http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/xadistra.htm#g1077100
    Regards,
    Sandeep

  • How can I store movies in the cloud and access them on my devices without having to download them to them?

    Hello,
    I would like to store movies in the cloud and access them from my device without having to download them to the device because there is not enough space on the harddrive to store them on it. How would I do this? Would I have to download the movies to my PC or could I store them directly in the cloud?
    Thanks,
    Tyler

    Would I have to download the movies to my PC or could I store them directly in the cloud?
    There is good news coming!
    Technology experts are working on a movie storage system where YOU have physical possession of the movie.
    This system stores the movie digitally on an optical disk system that will not be dependent upon a congested, complicated, and fragile network.
    Because all of the data is stored only a few feet from your television, all the bottlenecks are removed.  Performance and reliability are virtually flawless.
    Further, the system will not utilize any form of security codes, authentications, or passwords. Once the optical disc is purchased it can be moved around freely at will, and can even be lent or given to friends and neighbors with zero hassles.

  • I made an album just now. I went back to delete the pics from my camera roll but my only option is to "delete everywhere." I want to leave them in the new album I made..  How i can delete them from camera roll without deleting from other Album i made

    I made an album just now. I went back to delete the pics from my camera roll but my only option is to "delete everywhere." I want to leave them in the new album I made..  How i can delete them from camera roll without deleting from other Album i made

    The way that I understand that it works, is that the photos are not copied into the new albums, instead it just points to the photos - the number of photos on the iPad in Settings > General > About doesn't increase when you create new album so I assume from that that it isn't copying the photo, just pointing to it. So if you delete the photo from the camera roll you will therefore also be deleting all the pointers to it

Maybe you are looking for

  • Excel file processing in jsp

    Hello friends I want to read Excel files jsp(or java).I used sql driver,but it does'nt reads the file properly.I want to read file in jsp.I went thr many sites and found many ways like apache poi,JExcel api etc I found JExcel api is not free.I am get

  • WAD and VC Integration issues

    Hi Experts! I need to integrate WAD and VC to accomodate the hierarchy filter. I follow the  guide https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a40f2f7-0c01-0010-d69f-c6317c5165cd step by step. My requirements is similar

  • Core services configuration files in Operating System

    Hello everybody, I am trying to make a modification to CMC --> Servers --> Service Categories --> Core Services --> CentralManagementServer (Common settings) However, I cannot access it because of a connection issue (that has to do with the modificat

  • Iphoto importing issue

    why is iphoto importing doubles from iphone 6 and ipad?

  • Cannot Perform a System Recovery

    Hello, Model: HP Slpit 13 x2 PC Product: E8C34UA#ABA Operating system: Windows 8 64 bit It is still covered under warranty. My problem: about a month ago (maybe a little more) my machine automatically did an update, and after it was complete I was ab