Openstreetmap in mapviewer using wms

Hi,
I am trying to integrate openstreetmap with Map vieweer using a wms.
After followring the post in Oracle Maps (SPATIAL/Mapviewer): Oracle Maps uses "Openstreetmap" as WMS I have been able to integrate it
But the wms used here is only for Europe map.
So can any one please let me know which wms url I should be using for World map of Openstreetmap ?
and what will be the parameter values when creating the tile layer in Map viewer?
Thanks

Was addressed in the SR. It required the correct SRID in one case and the right request parameters in the other.

Similar Messages

  • Anyone using openstreetmap and mapviewer/mapbuilder to create maps

    anyone using openstreetmap and mapviewer/mapbuilder to create maps?

    Ok, I do exactly as you specify here. In addition I import the needed jars from the import folder of j2mepolish. Also, I put the resources folder from the polish sample (MenuMidlet) in the project, and all marked errors disappears.
    Then I try to run it as an Ant build, and get the following error:
    BUILD FAILED
    D:\Program Files\eclipse31\j2me\sample\build.xml:115: The MIDlet [source.src.de.enough.polish.example.MenuMidlet] could not be found. Check your <midlet>-setting in the file [build.xml] or adjust the [sourceDir] attribute of the <build>-element.The MIDlet should be in D:\Program Files\eclipse31\j2me\sample\source\src\source\src\de\enough\polish\example\MenuMidlet.java
    Ok - so it seems that it for some reason gets "source\src" two times. So I go back to the <midlet class and remove the source.src, leaving just de.enough.polish.example.
    Then I run as Ant again, and it compiles successfully.
    However, when I try to run the MenuMidlet class as a j2me midlet (in eclipse) it starts, and then crash with this error:
    java.lang.NoClassDefFoundError: de/enough/polish/util/Locale
         at source.src.de.enough.polish.example.MenuMidlet.<init>(+11)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Scheduler.schedule(+52)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)
    So - seemingly - to compile it I need to give it one address, but for the midlet to run it must be compiled with an address that won't let it compile :-)
    Well - then I create a J2ME package from the project, and run the deployed/sample.jad file. Then the midlet actually starts, but when I click Launch, the display shows:
    New Midlet de.enough.polish.ui.MenuBar Exception: java.lang.classNotFoundException: de/enough/polish/ui/MenuBar
    I can't find a reference to MenuBar anywhere in the sample code.

  • Polygons in MapViewer using JavaAPI

    How do I display polygons in MapViewer using the JavaAPI?

    Hi Randy,
    assuming you have a table with a geometry column and valid polygons:
    1) the table must be registered on user_sdo_geom_metadata
    2) a spatial index must be created on the geometry column
    3) with MapViewer API you can add a dynamic theme using the addJDBCTheme method, and then call the method run to generate your map image.
    Take a look on MapViewer documentation for more information and examples.
    Joao

  • 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">

  • Mapviewer 11EA & WMS

    Hi!,
    I've tested the terramap server us:
    String[] layers2 = {"USGS Digital Ortho-Quadrangles"};
    String[] styles2 = null;
    mvHandle.addWMSMapTheme("wms_theme2","http://terraserver.microsoft.com/ogccapabilities.ashx",layers2,styles2,null);
    I know, the WMS url should be the base url for the GetCapabilities request.
    But! MapViewer seems to take the url for a map request.
    --> http://terraserver.microsoft.com/ogccapabilities.ashx?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326& BBOX=-122,37,-122,37&WIDTH=600&HEIGHT=400&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&LAYERS=USGS+Digital+Ortho-Quadrangles &EXCEPTIONS=application/vnd.ogc.se_inimage
    This is not correct while the GetMap request MUST be taken from within the GetMap tag!
    <Capability>
    <Request>
    <GetCapabilities>
    <GetMap>
    For that case it would be:
    <Get>
    <!-- The URL here for invoking GetMap using HTTP GET
    is only a prefix to which a query string is appended. -->
    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:type="simple"
    xlink:href="http://terraservice.net/ogcmap.ashx" />
    </Get>
    So I'm wondering about the capability of MapViewer. Does anyone has similar experiences or/and suggestions?
    regards, Andreas
    Message was edited by:
    Andreas.Brodkorb

    Hi jpaiva,
    Yes, i know that.
    I said
    mvHandle.addWMSMapTheme("wms_theme2","http://terraserver.microsoft.com/ogccapabilities.ashx",layers2,styles2,null);
    where http://terraserver.microsoft.com/ogccapabilities.ashx is the capabilities URL.
    The getMap URL is different! from that. Regarding the ogc specification it is the way, that mapviewer should read the GetMap URL from within the GetCapabiltites response! It does not. I know this and use for that way not
    http://terraserver.microsoft.com/ogccapabilities.ashx but
    http://terraservice.net/ogcmap.ashx
    I wanted to remark, that this way may be a bit complicated, because many OGC-Services are known over their Capabilities URL. If mapviewer would read the capabilities document and would generate the map request with the URL given with that capabilities document i would be more than happy ;)
    regards, Andreas
    btw: so i must read the capabilities document...

  • Mapviewer and WMS

    Hi,
    I am trying to make the WMS servlet filter work, without success. I got my own datasource with styles/themes etc, and I am able to genereate previews using mapclient.jsp. GetCapabilities seems correct to me:
    <Layer>
    <Name>WMS</Name>
    <Title>Oracle WebMapServer-lag etter datakilde.</Title>
    <SRS>SDO:8307</SRS>
    <LatLonBoundingBox minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0"/>
    <Layer>
    <Name>GMIVA_SDO</Name>
    <Title>Datasource GMIVA_SDO</Title>
    <Layer>
    <Name>VALINES</Name>
    <Title>Basemap VALINES</Title>
    <SRS>SDO:0</SRS>
    <LatLonBoundingBox minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0"/>
    </Layer>
    </Layer>
    </Layer>
    When making a GetMap request, I get the following exception (Norwegian is translated in bold):
    <ServiceExceptionReport version="1.1.1">
    <ServiceException>
    <![CDATA[<oms_error>Message:[oms] kilden for kartdataene ble ikke funnet.( datasource not found)
    Thu Apr 20 10:22:23 CEST 2006
    Severity: 0
    Description:
         at oracle.lbs.mapserver.oms.doPost(oms.java:334)
         at oracle.lbs.mapserver.oms.doGet(oms.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.lbs.webmapserver.WMSServletFilter.doFilter(WMSServletFilter.java:212)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Unknown Source)
    </oms_error>]]>
    </ServiceException>
    </ServiceExceptionReport>
    What am I doing wrong here ? Any suggestion is welcome !

    With MapViewer 11g EA1 (early access release 1), you can supply a custom SDO-EPSG srid map file; when present, this file tells MapViewer to automatically convert between equivalent SDO and EPSG srids. This is set in the mapViewerConfig.xml file, for instance:
    <wms_config host="www.my_corp.com" port="80">
        <title>
            WMS 1.1 interface for Oracle Application Server 10g MapViewer
        </title>
        <abstract>
            This WMS service is provided through Oracle MapViewer.
        </abstract>
        <keyword_list>
           <keyword>bird</keyword>
           <keyword>roadrunner</keyword>
           <keyword>ambush</keyword>
        </keyword_list>
        <sdo_epsg_mapfile>
          ../config/epsg_srids.properties
        </sdo_epsg_mapfile>
      </wms_config>the format of the file (which must have .properties as file extension) is very simple. Each line contains one map from a SDO srid to an EPSG srid:
    <sdo_srid>=<epsg_srid>
    for instance a simple file may contain:
       81922=20248
       8307=4326
      ...Once you restart MapViewer it should recognize incoing wms req with EPSG srid, and also use EPSG srids when generating the capabilities response.
    on a somewhat related note, if you havn't tried the MapViewer 11g EA1, it has a great feature called Oracle Maps, which gives your map a Google-maps look and feel. This Oracle Maps can be hooked up with any existing WMS services, and essentially turns any WMS served map layer into high-performant draggable web map. For details check out my blog here http://www.giscape.com/oraclemaps.
    thanks

  • Dynamically defined GeoRaster theme using WMS parameter values

    Hi everyone,
    In addition to dynamically defining a GeoRaster theme using SQL (which is documented by Oracle), is it possible to somehow access the WMS values of parameters in the WMS query which is accessing the theme? For example, can I grab the BBOX values from the WMS REQUEST and use that in my dynamic SQL statement?
    My goal for doing this is to select the most appropriate pyramid level of the raster imagery given the map scale of the WMS request.
    My other question is when using a GeoRaster theme containing a SQL statement, will the MapViewer WMS engine still automatically select imagery from all and any relevant georaster image that has a portion within the BBOX of the query?
    Cheers,
    MH

    A Georaster object can have pyramid levels, and in MapViewer you can define a pyramid level for a theme. If you define this parameter, then for any zoom level that you render, MapViewer will read the pixels for this pyramid level. Depending on the zoom level, you may be loading unecessary data due to the screen resolution. If you do not define the pyramid level, MapViewer will calculate the actual screen resolution given the query and device windows, and will load the pixels for the pyramid level that is closest to the actual screen resolution, resulting on a better performance.

  • Mapviewer as WMS *Client*

    Hi forum
    A partner of ours has asked me to examine, whether it's possible to include WMS data in Mapviewer requests. I have found, that Mapviewer can act as a WMS server, but can it also act as a WMS client to other WMS servers?
    I'd like to integrate a WMS layer from another server than my own Mapviewer into my request using the Mapviewer Java client lib (mvclient.jar). Is this possible - and if not, does anyone know, if there's any free 100% WMS 1.1.1-compliant Java client libraries out there to integrate in the client application? All talk in the documentation is about how to use Mapviewer as a WMS server itself, and this is not what I'm looking for in this case.
    Regards,
    Jacob

    See the doc (appndx D) on adding a WMS Theme.
    D.3 Adding a WMS Map Theme
    You can add a WMS map theme to the current map request. The WMS map theme is
    the result of a GetMap request, and it becomes an image layer in the set of layers
    (themes) rendered by OracleAS MapViewer.
    To add a WMS map theme, use the WMS-specific features of either the XML API (see
    Section D.3.1) or the JavaBean-based API (see Section D.3.2).

  • Mapviewer / GeoRaster / WMS tie?

    I am unable to determine from the white papers if it is possible to server up a GeoRaster image via WMS through the Mapviewer?
    Thank you.
    Peter

    Hi Peter,
    if you have not looked yet, at the end of MapViewer's documentation there is a section on WMS.You can use the GeoRaster as a WMS theme. The following is a map request example with a GeoRaster WMS theme.
    <?xml version="1.0" standalone="yes"?>
    <map_request
      title="tilsmq311: WMS GeoRaster Theme"
      datasource="mvdemo"
      srid="0"
      width="500"
      height="375"
      bgcolor="#a6caf0"
      antialiase="true"
      mapfilename="wmsgeoraster"
      format="PNG_URL">
      <center size="185340.0">
        <geoFeature>
          <geometricProperty typeName="center">
            <Point>
              <coordinates>596082.0,8881079.0</coordinates>
            </Point>
          </geometricProperty>
        </geoFeature>
      </center>
      <themes>
        <theme name="WMS_GEORASTER" user_clickable="false"  >
            <wms_getmap_request isBackgroundTheme="true">
               <service_url> http://localhost:7777/mapviewer/wms </service_url>
               <layers> GEORASTERTHEME </layers>
               <srs> SDO:82279 </srs>
               <format> image/png </format>
               <bgcolor> 0xa6caf0 </bgcolor>
               <transparent> true </transparent>
               <vendor_specific_parameters>
                 <vsp>
                    <name> datasource </name>
                    <value> mvdemo </value>
                 </vsp>
               </vendor_specific_parameters>
            </wms_getmap_request>
        </theme>
      </themes>
    </map_request>You can use Mapviewer's Java API to add a WMS theme to you request.
    Joao

  • How to add a polygon to mapviewer using Javascript API

    Hi,
    I am using JavaScript API for the MapViewer.
    Using redlining tool, my application allows user to draw polygon onto the map.
    I would like to have union, difference and intersect tools. I know the back end logic can be done using using JTS or SDO_Union, SDO_difference, and SDO_intersection. but how do i display the result polygon on the map? Note that I am not going to store the polygon in the database.
    Thanks for any ideas.

    Hi,
    If I understand well you are using Oracle Maps. User do some redlining, then you somehow makes FOI polygons. Then you get the coordinates of the polygons and send them to the back-end where you can use spatial functions and get the coordinates of the new polygon.
    You can store those coordinates in i.e. hidden input field on page (if you use JSF it is very simple) and then use JavaScript to parse them and Oracle Maps API to create new FOI polygon and add it to mapviewer object. One disadvantage of this concept is that reloading of page (submit) is necessary.
    Branislav

  • Using WMS with Projects_Consolidation Issue

    Hi,
    The Items are received for Projects PO in logical Project Locator. Let us assume two cases
    (a) Same item is being procured under a Project. If Task is same then these PO receipts are put in single project locator. If Task is different, the PO receipts are made in different project locator(s).
    (b) Same item is being procured in different Projects. The items are received in different Project locators.
    ------- No we intend to implement WMS functionality (using Mobile device) in inventory Orgs, so that we can consolidate same items in a single PHYSICAL LOCATOR. This will help in reducing space in warehouse. Also while counting process, multiple logical locators need not be counted. Under Projects, the locator control is dynamic entry, hence put away rule won't work in this case.
    ------- After PO receipts, whether somehow cross project transfer (of same item) is achievable without impacting project accounting under any case.
    Input(s) shall be highly appreciated.
    B/R,
    NIrabh Nayan

    FDM does not perform the consolidation function in HFM. It will caculate a Base Entity if you Enable Consolidation, Force Calculate, and Force Translate in the Integration Settings.

  • MapViewer WMS GetMap uses SDO_FILTER

    When I use the WMS request GetMap, MapViewer uses SDO_FILTER for the generated queries. This is not always accurate because sometimes features are not selected and drawn. How can I make MapViewer use SDO_RELATE instead of SDO_FILTER?

    The fact that mapping applications use sdo_filter is because it is much more faster to supply a resultset which normally is bigger than the actual set needed for a rectangular view in such an application, then to use an operator like sdo_relate to get an exact matching resultset.
    After all speed is important in (web)mapping applications.
    This is also noted in the user manual:
    http://download.oracle.com/docs/html/B14255_01/sdo_intro.htm#sthref91
    Extract:
    Spatial uses a spatial index to implement the primary filter. Spatial does not require the use of both the primary and secondary filters. In some cases, just using the primary filter is sufficient. For example, a zoom feature in a mapping application queries for data that has any interaction with a rectangle representing visible boundaries. The primary filter very quickly returns a superset of the query. The mapping application can then apply clipping routines to display the target area.
    The purpose of the primary filter is to quickly create a subset of the data and reduce the processing burden on the secondary filter. The primary filter, therefore, should be as efficient (that is, selective yet fast) as possible. This is determined by the characteristics of the spatial index on the data.
    However, I think, it should not return less features then the sdo_relate.
    Maybe a Mapviewer expert can help you further.
    Luc

  • Case Issue in Mapviewer WMS GetMap request

    I've been working with Mapviewer 10.1.2.0.2 for a couple weeks now and have used the wms_getmap_request using the XML API to get layers from various WMS servers including USGS. I am interested in getting images specifically from wms.jpl.nasa.gov as they seem to have better global coverage than USGS which is primarily interested in the US. I believe that the wms.jpl.nasa.gov is a non compliant WMS server because the REQUEST=GETMAP name pair in the url created by Mapviewer using the wms_getmap_request fails while using REQUEST=GetMap works.
    Here's and easy test: The URL in Example 1 fails while the Example 2 URL returns an image.
    Short of asking Nasa's Jet Propulsion Laboratory to get a new wms image server, is there a workaround for this that would force the url request to use the mixed case version of the value instead of the all upper case? From what I can tell they are a leading source of this kind of information.
    Example 1:
    http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GETMAP&SRS=EPSG:4326&BBOX=-123.3865,367766,-121.1365,38.2766&WIDTH=600&HEIGHT=400&FORMAT=image/jpeg&BGCOLOR=0xffffff&TRANSPARENT=true&LAYERS=global_mosaic&STYLES=pseudo_bright&EXCEPTIONS=application/vnd.ogc.se_inimage
    Example 2:
    http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-123.3865,36.7766,-121.1365,38.2766&WIDTH=600&HEIGHT=400&FORMAT=image/jpeg&BGCOLOR=0xffffff&TRANSPARENT=TRUE&LAYERS=global_mosaic&STYLES=pseudo_bright&EXCEPTIONS=application/vnd.ogc.se_inimage
    Thanks,
    Ken

    Hi,
    Since MapViewer is a component of Oracle App Server, any MapViewer patch will have to be part of an App Server-wide patch, which is out of the control of the Mapviewer team (schedule wise).
    We are however preparing for an early access release of MapViewer 11g, which will be available for download on OTN late Janurary 2006. That version will fix this issue (and also provides a ton of exciting new features).
    In the mean time, if you contact me directly we can probably help you on this issue now. [email protected] please replace _ with . for the correct email adderess.
    thanks

  • Problem with WMS themes & Oracle MapViewer Version 11.1.1.2

    Hello, in my application I load the background raster from a external server using wms. With differents version of mapviewer 11 with a weblogic server (e.g: release 1, release 11.1.1.4) all it's allrigth, but when I change the mapviewer to release 11.1.1.2 I can't see the raster and I get the next error:
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    21-sep-2011 11:33:10 oracle.sdovis.theme.DynGeomThemeProducer prepareData
    I can understand why..., I don't know what's is the problem because differents versions of mapviewer work without problem on the same weblogic server (Weblogic 11 patchset R2).
    Anyone know if mapviewer 11.1.1.2 has a problem with WMS?
    Thanks for your answer!!

    although with Oracle Fusion Middleware MapViewer Version 11g ps3 (11.1.1.4) and 11g ps4 (11.1.1.5.1) everything work ok in my WebLogic Server: 10.3.3.0, with Mapviewer Version 11.1.1.2 I get the next error:
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    sun.awt.image.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
         at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
         at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:119)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    I've seen that the wms external service works ok and returns an url with the correct image, but something wrong happens inside of mapviewer that don't allow generate the image....

  • Mapviewer WMS servered from tilecache instance?

    It seems that GetCapabilities only returns my maps and none of my cached maps are available. Is there anyway to have mapviewer server WMS requests out of a tile cache?

    Hi,
    This is not supported currently. We could probably modify our WMS implementation so that if a base map already has a tile layer created for it, then it will try to reuse its existing map tiles when generating the response map. The problem is however map tiles are by nature of fixed map scales (zoom level), whereas a WMS request can be for an arbitrary map scale that often falls between two adjacent tile-layer zoom levels. In such case the tiles can't really be re-used without distortion.
    Thanks
    LJ

Maybe you are looking for

  • User controls in FLASH CS5

    Hi I need to add some user controls to a FLASH project im working on and dont know where to start ?? Im designing a visual map, so it needs a play/stop, forward and back controls, is this possible ?? Thanks

  • Workflow in SAP

    Hi , What is Workflow? Why we use workflow in SAP? How can we define workflow for release strategy of PO? Please guide me. Regards, Bhasker

  • Can i change my intel processor

    can i change my intel processor o upgrade to the new macbook software ?

  • KP06 & KP26 - Proceedure

    hai, In KP06 we are planning input based on primary cost element. Sametime in KP26 we are planning the capacity based on secondary cost element. After assigning the same in project, the system displays the detail based on the secondary cost element n

  • DFS and Server Refresh

    We are replacing our old Windows 2003 Servers with new Windows 2012R2 servers. These servers are Web Servers and have IIS6 installed on them. Our Web Developers who own this server also have set aside selected Web Directories/Folders/Files in a DFS n