External Map Source Adapter - MapViewer

<p>
Hi
I am developing an application using Oracle Maps of OracleMapViewer 10.1.3 using OC4J
</p>
<p>
The objective of this exercise is to make use of a cache generated by a non-MapViewer solution. The cache is stored at an external location and can be accessed by sending multiple HTTP requests. For any given extent, multiple HTTP requests needs to be sent to access the individual tiles covering the given area.
http://servername/mapname/cache?level=0&row=11&column=1
http://servername/mapname/cache?level=0&row=11&column=2
http://servername/mapname/cache?level=0&row=12column=1
http://servername/mapname/cache?level=0&row=12&column=2
The logic to identify the tiles is also available. The problem is that the getMapTileRequest(...) returns only one string and this when passed would return only one image tile. (Correct me if my understanding is wrong)
public abstract class MapSourceAdapter
<strong>public abstract String getMapTileRequest(TileDefinition tile);</strong>
public byte[] getTileImageBytes(TileDefinition tile) ;
public Properties getProperties() ;
One option is to have a servlet at the other end that would accept the extent and zoom level and then identify the tiles. But still it is not clear as whether MapViewer will accept one response or multiple responses from the external server.
Need some guidance in this aspect
Regards
Govindarajan
</p>

1. The mapviewer tile servlet can response to multiple tile requests simultaneously. It makes multiple calls to the getMapTileRequest method, each of which gets the URL for one tile. So if you can define the map tile layer(map cache instance) in such a way that its tiles have the same size as the external tiles, mapviewer should be able to handle the tile requests without problem. You also need to modify the XML tile layer(map cache instance) definition and add parameter "fetch_larger_tiles" to the root node and set its value to "false". Without this change, mapviewer will fetch map images that are several times larger than the actual tiles and cut them into tiles later on.
2. With the latest patch, you can define a custom tile layer on the client side and fetch the tiles directly from the non-mapviewer tile server. Because this approach does not duplicate the tiles in mapviewer's tile cache, it is better than 1 if the non-mapviewer tile server can serve the tiles as fast as mapviewer. Demo #50 on the mapviewer tutorial page shows how to use custom tile layer.

Similar Messages

  • External Map Source SRID Parameter

    Hello,
    I am trying to create a map tile layer in mapviewer from an external map source. I have specified the Map service Url, the Java Adapter Class and the Jar file location, provided by the WMS provider, correctly. I also enabled the adapter properties as required by the WMS provider:
    service: WMS
    srs: EPSG:4326
    format:image/png
    layers:ktbasemap
    The coordinate system that I would like my map tile layer to use is:
    GGRS87 / Greek Grid (2100, PROJECTED)
    but mapviewer does not seem to translate the WMS provider's map data into the specified coordinate system (2100). If I use Oracle's SRID, 8307, the map tile layer is rendered properly.Is there any way to overcome this issue?
    Thanks

    Does the external (WMS) map source serve up the maps in EPSG:4326 or in EPSG:2100?
    Anyway MapViewer won't convert (reproject) the tiles.
    If the WMS serves up map images in epsg:4326 then the tile layer's SRID should be epsg:4326 or 8307
    If the WMS instance serves it up in EPSG:2100 then use that instead in the tile layer definition.

  • Create a cache for external map source - Error in parsing xml request.

    When doing the following:
    Create a cache for external map source
    I get "error in parsing xml request" when setting the following
    Map service Url:
    http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.3.0&service=WMS&request=GetCapabilities
    It looks like it is breaking on "&". Any suggestions?
    Rob

    Hi Chris,
    thanks for your reply!
    I've tried to add the following into persistence.xml (although I've read that eclipseLink uses L2 cache by default..):
    <shared-cache-mode>ALL</shared-cache-mode>
    Then I replaced the Cache bean with a stateless bean which has methods like
    Genre findGenreCreateIfAbsent(String genreName){
    Genre genre = genreDAO.findByName(genreName);
    if (genre!=null){
    return genre;
    genre = //Build new genre object
    genreDAO.persist(genre);
    return genre;
    As far as I undestood, the shared cache should automatically store the genre and avoid querying the DB multiple times for the same genre, but unfortunately this is not the case: if I use a FINE logging level, I see really a lot of SELECT queries, which I didn't see with my "home made" Cache...
    I am really confused.. :(
    Thanks again for helping + bye

  • Filter at Source adapter for XI mapping?

    Hi all,
    Is there anyway we can set filter at source adapter or Outbound interface for any XI integration? reason is Source file contains 1M records and actually the target system requires 100K records. we can save lot of network bandwidth or time for transfer and process the large amount of data not required on target system.
    Thank you very much for the help and regards,
    Srinivas

    >
    Prateek Raj Srivastava wrote:
    > If these are text files, then you may use Recordset Per Message option and divide the number of records into 10 parts.
    >
    > Regards,
    > Prateek
    this would still consume a high processing time.
    Actually i suggest that restrict the messages at the source system itself. If the data is not used by any other system, then you can request the source system to send only the relevant data and not the whole lot. Ideally this is a good design for a better architecture + less headaches

  • Is there a MagSafe 2 compatible portable external power source for the retina display MacBook Pro?

    I’m using a retina display MacBook Pro with the MagSafe 2 connection.   I would like to have a portable external power source to extend the use of my laptop on long field trips where I am away from power sources. Swapping batteries is not an option for this generation of MacBook Pros.  There seem to be many options for PC’s and even iPhones/iPads/iPods but the MagSafe 2 connection seems to be the issue.  I saw one link that suggested buying an Apple MagSafe 2 power adapter and performing surgery on the power cord (using components provided by the vendor) so that the adapter would run on their back up battery.  I was hoping for a more esthetically pleasing solution. Any suggestions?  Does this product exist and I just missed it? Clearly, if a MagSafe(1) compatible external battery existed I could adapt that using the MagSafe to MagSafe 2 converter.

    Sparon,
    I wouldn’t recommend using an underpowered AC adapter with your MacBook Pro. It sounds as though the best solution would be to get a different laptop bag with a sufficiently large side pocket.

  • How do I remap fields in Visio shapes when pointing to an external data source?

    Hi,
    I'm creating an organizational chart (org chart) in Visio. It refers to a SharePoint list. in the SharePoint list there is a column called FullName. This is the one I want to map to the Name field in a Visio shape. How do I remap fields in Visio shapes when
    pointing to an external data source?
    Learning SharePoint

    Mark,
    Unfortunately the required field/column names are hard coded in the add-in.
    al edlund
    Al Edlund Visio MVP

  • How do I synchronise my Intel iMac's SPDIF audio input to an external clock source?

    How do I synchronise my Intel iMac's SPDIF audio input to an external clock source?
    I have a Focusrite ISA One microphone pre-amp with digital ADC card fitted. Both devices are set to 24 bit/44.1kHz and connected by Optical cable (from ISA One to iMac's optical SPDIF input)
    I've tried to get the iMac to slave to the ISA One's digital clock by looking in the Audio MIDI set-up but cannot get it out of 'Default' mode. Focusrite tell me it needs to be 'Locked' in the Mac but I can't see how to do that.
    The Mac recognises when I change the ISA One's sample rate because Pro Tools gives me an alert, which would suggest that it's receiving data. But all I am hearing on the input is digital white noise.
    Any ideas?
    Cheers!

    USB and FireWire work in very different ways, so there is no adapter.
    Instead, you should just get a USB 2.0 hub, like this one
    http://eshop.macsales.com/item/NewerTech/USB2HB7PRO/
    There are many choices, but be sure to get one that is powered (it comes with its own power supply).  Cheaper hubs rely on the computer's USB port for power.

  • Error Message External Mapping Not Complete Yet

    Hi,
    I have the following scenario.
    Component A <b>is Embedding</b> Component B.
    Component B has a Componenet Controller that makes a<b> Service Call</b> to a Function Module.
    The <b>Top Node in the Context of Component Controller of Component B (</b>which is same as the name of the function module being called) is marked with :
    <b>Interface Node = 'X'
    isInputElement = 'X'.</b>
    The IMPORTING Node gets the isInputElement = 'X' property.b The CHANGING node does not.
    The Context of COmponent Controller of B looks like
        Context
            Name_of_Function_Module
               IMPORTING
                   Attribute1
               CHANGING
                  Attribute2
    <b>Now in Component A, in the Component Usage of B-> Interface Controller , I declare the Usage of Component Controller of Component A</b>
    I did the external mapping of the Top Node of Component B(throught the interface controller) to that of Component Controller of A.
    I created a View in Component A, declared usage of Component Controller of A in this View, did context mapping from View Controller of A to Component Controller of A and binded the IMPORTING node attributes to the Inputfield.
    I made sure I instantiate the Used COmponent B in the WDDOINIT() method of the COmponent Controller of A
    WHen I run the application I get the error
    <b>External Mapping for COMPONENT A # Name_of_Function_Module.IMPORTING.Attribute1 Not Complete Yet</b>
    What am I missing here?
    Thanks
    Message was edited by:
            SAP  User

    Thanks Regina,
    In my case, I have to have the IMPORTING Node and NAME_OF_FUNC_MODULE node as isInputElement = 'X' because the values for the Importing parameters comes from the outer component .
    The <b>CHANGING</b> Node<b> does not</b> have isInputElement = 'X' because the data flow is from the Imterface Controller of Component B to the Component Controller of Component A.
    The problem was that I had wrongly marked the Node for Component Controller of Component A, which is mapped to the View COntroller of A, as isInputElement = 'X'. I removed that and it worked fine..
    In a nut shell, the followiing holds true for External Mapping
    1) The SOURCE of data is ALWAYS from outer Component to Inner Component, that is for Eg: from the COmponent Controller of Component A to the Interface Controller of COmponent B, if A Embeds B
    2) The Controller Usage of Component A has to be declarred withing that of the Interface Controller of B (and not the other way..THIS IS IMPORTANT, since the source of data is the Component Controller of A, so B has to Use A and not Vice-Versa)
    3) The Source of data for Nodes with isInputElement <b>=</b> 'X' is always the COmponent Controller (or Custom COntroller) of the OUTER Component, while that with isInputElement <b>NOT EQUAL</b> 'X' is the Interface Controller of the INNER Component
    Regina, Pls input ur comments

  • Seeking external battery source

    I fly back and forth from the east to the west coast for work and would like to purchase an external battery source for my mac. Problem is most of the ones online don't specify if they have an adapter for a mac.
    Does anyone here have any suggestions on what I can look for online that would work for maybe a 4-5 hour external battery source?

    I'm looking for exactly the same product. It's very annoying to have to change batteries: charging the second battery is a hassle and you have to shut down the computer to replace it. Having an external battery makes much more sense to me...
    I found two options worth while checking out:
    http://www.quickertek.com/
    http://www.batterygeek.net/
    However, I would prefer an Apple solution, with the aesthetics and ease of use that Apple typically provides.
    Is anybody at Apple listening?
    F

  • XSLT Mapping of Adapter-Specific Message Attributes

    Hi,
    We have the requirement to build a soap request with a custom soap envelop/header which contains a sessionId.
    Therefore we developed a xlst mapping which is called directly after a graphical mapping.
    In the graphical mapping the session id is written to the dynamic configuration.
    The goal is to read this session id in the xslt mapping from the dynamic configuration using XSLT Mapping of Adapter-Specific Message Attributes. We used  [this|http://help.sap.com/saphelp_nwpi711/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm] documentation as an example.
    But we are getting the following error: TransformerConfigurationException triggered while loading XSLT mapping. The error is raised at this node: <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')" />
    This is the coding of the xslt transformation:
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns:ns1="urn:enterprise.soap.sforce.com"
          xmlns:map="java:java.util.Map"
          xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration"
          xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:output indent="no" />
    <xsl:param name="inputparam"/>
    <xsl:template match="/">
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
    <soapenv:Header>
    <urn:SessionHeader>
    <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')" />
    <xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/SOAP', 'sessionId')" />
    <xsl:variable name="dynamic-value" select="dyn:get($dynamic-conf, $dynamic-key)" />
    <urn:sessionId><xsl:value-of select="$dynamic-value"></xsl:value-of></urn:sessionId>
    </urn:SessionHeader>
    </soapenv:Header>
    <soapenv:Body>
    <xsl:copy-of select="*"/>
    </soapenv:Body>
    </soapenv:Envelope>
    </xsl:template>
    </xsl:stylesheet>
    Any help will be highly appreciated.
    Regards, Henk

    Hi, yes we did try that and lot's of other combination.
    The results of those trials are that it seems to go wrong with <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')" />
    When we enclose it with <xsl:if test="function-available('map:get')"> the transformation is not dumping, but the function is not available.
    Regards, Henk

  • Multiple AD External Identity Sources in ISE 1.2

    First I guess is it possible to have multiple AD entries for External Identity Sources in ISE 1.2? When I display Active Directory (AD1) it displays my four ISE servers with a status of connected but I see no where to add anything additional. I did not originally set this up so figure I am missing something somewhere if this is possible. I though maybe add under LDAP and then it would roll into AD or something but I have nothing listed under LDAP either.
    What I am trying to do is figure out how to have ISE cover our two different domains. We ahve one big forest but currently that is split into two AD domains based upon our two divisions.  am trying to see if possibly I can simply get through the existing configuration to pull security groups from the other domain into the dictionary but so far that has proven not do able.
    Brent

    Saurav,
    I was beginning to think that might be the solution. Now I just need to go through the release notes and make sure there are no issues with it running on ACS-2111 appliance. We are currently using this as the secondary Admin but knew we would have to move off something. I think management is hoping later than sooner especially since we are still in that initial roll out phase.
    How does the system handle the fact that this is all centralized but I have users authenticating from the different time zones? I have been reading about everything pointing to the same NTP server but took that to simply be the servers in the ISE Cluster. Will this also impact all the switches and network devices involved in the authentication process?
    Brent

  • Unable to add external data source in BAM : Error ORA-12505

    Hi,
    In BAM,
    Im trying to add an external data source for creating a data object.
    But when i try to test the connection i get the following error:
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Source: "java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor "
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Source: "oracle.net.ns.NetException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor "
    As mentioned in another post ((Listener does not currently know of SID given in connection descriptor
    i tried
    lsnrctl stop.
    delete listener.ora
    lsnrctl start
    lsnrctl reload
    But still get the same error;
    Im able to access the database with the specified username and password using sqlplus.
    Your help will be appreciated.
    Regards
    Vignesh Ramanathan

    For #5, not Windows, ConfigMgr 2012 R2. Anything before ConfigMgr 2012 R2 is not supported for the 8.1 ADK.
    For the permissions, what accounts are you setting this for. In general, if the share is on the same server, Everyone Full or Read on the Share and System Full or Read on the NTFS should work.
    For the error message, it looks like you are trying to import an OS Image and not an OS Install Package. OS images use a WIM file and OS Install Packages use the entire set of source files from the media. For OS images, you must thus explicitly point it
    to a specific WIM file.
    Jason | http://blog.configmgrftw.com

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • Sharepoint 2013 Excel External Data Source Refresh Issue

    I have been facing this issue for quite some time now.. i have created an Excel sheet in Excel-13 and have imported data from an external data source [SQL server 2012]. 
    Everything is working fine, with the excel sheet on the desktop. Data refreshes, every-time i open the excel file and also at regular intervals that i have configured in the data source properties.
    The problem begins when i save that excel sheet on my sharepoint server. the issues that i am facing are :
    1. Changes made into the original data source, are not reflected immediately inside the excel sheet inside the browser. after 5-10 minutes, it reflects the changes..
    2. The data doesn't refreshes automatically. After i update my data inside the sql server table, i have to manually trigger the refresh of the data connection when viewing the excel sheet inside the browser, even though i have marked "Refresh when opening
    the file", and refresh every 1 minute inside the excel sheet. Any solutions ??
    I have been troubled a lot by this issue, and seek for some quick solution.. Any help here ??

    I found the solution finally, my self ..
    Issue - 1 : It's going to take atleat 5-minutes to refresh the data connection, that is generally not a big time span.
    Issue - 2 : 
    --> Set Your connection to refresh everytime the file is opened. go to internet explorer -> file -> internet options -> general -> Browsing History -> Settings -> Check for newer versions of stored pages... Check 'Every time I visit the
    webpage'. 
    Now everytime i update your original data source, wait for 5-10 minutes and refresh my web page containing the excel sheet.. The Contents of the excel sheet are updated as desired..

  • Can I select an external audio source?

    I have  iMovie09 ver 8.0.6.  I'm using a Panasonic video camera (it uses miniDV tapes) connected to my MacBook (white plastic 07) via firewire.  When I have the cable from the mixer going into the camera and recording to tape; when I transfer the tape to MacBook, I get the external audio source great!!!  However, when I plug the cable directly into the MacBook, it still gives me the audio (BUT) from the built-in mic of the camera.  When I open GarabeBand and record the audio, its the external and its great.  However, I don't want to have both recording at the same time only to overlay the GarageBand audio onto the video clip.  Yes, I've selected the 'in-line' option from 'System Preferences'.
    Is there a way that I can select the external source while in iMovie??  Looking at some other negative posts, I don't want to upgrade to iMovie 11 either.

    I came across a much older post which I believe solved my issue.  I connected everything up first, then booted up the MacBook; then I selected 'built-in audio' from the 'voice-over' option within iMovie.  It recognized it right immediately.  However, now I'm not sure that the audio is in fact coming from the 'hot' microphones that I'm receiving from the mixer.  But that's just troubleshooting.

Maybe you are looking for

  • E-mail functionality using so_new_document_att_send_api1

    Hi We Implemented E-mail functionality in our tool useing "so_new_document_att_send_api1" standard FM but here im unable to attach excel document .How to attach a excel document in this standard FM plz help. Asif

  • Mssclamp not work in solaris 10

    hello i can't set parament in ipnat.conf with mssclamp like this map sppp0 form xxx.xxx.xxx.xxx/xx to any -> xxx.xxx.xxx.xxx/xx mssclamp 1452 i set work before in solaris 9 anyone can help me...many thx

  • Triggering Output Type

    Hi,        I have a report program which displays all the delivery. If select a delivery and press a print button (customized one), then the delivery has to be printed. I am using BAPI_LIKP_PROCESS_MSG_DIRECT to print the delivery. Now the problem is

  • I have PS Elements 10 with a serial

    I have PS elements from 2008 and bought a new computer.  Downloaded  Elements 10  and can't get my serial # to work.  any ideas!

  • Buffered high-speed capture with multiple axes

    Has anyone succeeded in using buffered high-speed capture (on 7350 boards) with multiple axes? The capture works really well for me on a single axis, but when I try to use it on 2 axes simultaneously it behaves very strangely.  There seems to be some