Projection problem in OracleAS Map Viewer

Hi,
I am using OracleAS Map Viewer 11 EA1and I try to display a map with an image (srid=1002000) and a vector (srid=8192) on the top. If I understand the documentation correctly, the vector might be reprojected into the map srid which is 1002000. But when the map is created, the vector is not correctly reprojected (I see some roads in the ocean!). I am wandering if it is a bug in map viewer; or maybe I didn't use it corectly!
My query looks like:
<map_request
title=""
datasource="all_images"
width="1229"
height="840"
srid="1002000"
antialiase="false"
format="PNG_URL">
<center size="7865.9766">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>
1230462.1 , -582145.4
</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
<themes>
<theme name="mosaic_pan'"
min_scale="5000000.0"
max_scale="0.0">
<jdbc_georaster_query
jdbc_srid="1002000"
datasource="all_images"
georaster_table="mosaic.mosaic_pan"
georaster_column="georaster"
asis="false">
     select georaster from mosaic.mosaic_pan where rowid='AAANn1AAKAAAAAKAAA'
          </jdbc_georaster_query>
</theme>
<theme name="road_l" min_scale="10000.0" max_scale="0.0">
<jdbc_query
datasource="all_images"
          jdbc_srid="8192"
render_style="MDSYS:L.MAJOR STREET"
spatial_column="shape1"
>select shape1 from can51.road_l</jdbc_query>
</theme>
</themes>
</map_request>
Thanks in advance,
Ganael

your map request seems correct, and yes mapviewer will automatically reproject your vector theme if it's srid (8192) is different from the request srid (1002000). What's more likely is that your georaster is not being displayed correctly? Have you tried displaying the vector road data against a know vector boundary data set like country/state, in the 1002000 projection and see if everything is working fine? then add the georaster layer back on and go from there....

Similar Messages

  • Load maps in database - oracle map viewer

    Hi,
    In my project we are trying to use maps to display it on webpage for this we are using oracle map viewer. We’ve got maps from third party in the form of tif format. Could you please tell me how to load these maps in databse table? I’m newbie to oracle map viewer, your help will be deeply valued.

    Hi Paul, you said "We’ve got maps from third party in the form of tif format." they must be rasters. The best approach is to use MapBuilder to load such data into Spatial as GeoRaster objects and then define them as themes to display in MapViewer. All can be done using MapBuilder. you can also use the client-side java GeoRasterTools (a viewer) to load, display and export those tiff files. For that you can start with the GeoRaster user's guide.
    regards,
    Jeffrey

  • Oracle Map Viewer Application on Oracle Web Logic

    We have developed an application using map viewer, Oracle 10g and deployed it in Oracle AS 10g. It was running fine and OK. Now we switched over the same application to Web logic10.3, using map viewer 10.1.3.3, Oracle db11g, JDeveloper 11g. We could deploy successfully on Web logic. The problem encountered is that During the map display (mapviewer.run()), an exception “Map viewer cannot process your map request. Check map viewer log for details.” is coming. We checked Map viewer log file and found no comments.

    If your web server is working and the forms server is running type:
    http://ip addr:port/dev60html/runform.htm
    You need to put the ip address or name of your server in and the port number apache is running on (leave blank if this is 80).
    This gives you the Oracle Forms start screen.
    cheers
    tony

  • How to restrict pan area in oracle map viewer?

    Hi,
    I have added map to Jpanel,Now I want to restirct panning functionality of map to a defined area.Because when I keep on panning to extreme East or West side even when my map boudaries are panned completely,I can still drag the map and So,after some point my map is lost completely(or its panned completely to extreme right or left) and I can see only white screen on my Jpanel.
    Please can anyone suggest me an API or any alternative solution to achieve this.
    Thanks.

    Hi,
    using oraclemaps javascript API you can use mapview.enableMapBoundConstraint(true); Your map will be bound the the tilelayers boundingbox...
    hope that helps.
    dominik

  • Oracle Map Viewer

    Hi,
    Im using ADFs <dvt:map component to display the Maps being generated using Map Builder.
    Now i want to display the data on top this map, which is specific to the zoom level.
    Depends upon zoom level, corresponding data needs to be displayed.
    For this, i have different VO's to display data on the Map.
    Now i have added point theme, color theme to my map. Because of this, all data is being displayed on the Map.
    My Question is How can i restrict the data display specific to zoom level.
    At certain zoom level, data relavant to First VO needs to be displayed as Color Theme.
    By doing further zoom in, data relavant to Secong VO needs to be displayed as pont theme.
    Any one can suggest something do this.
    Thanks & Regards,
    Konjeti

    My experience is that you must create different themes (USER_SDO_THEMES) for each variation on labeling or style that you want. This may require you to create individual styles (USER_SDO_STYLES). You then have to define your base_map (USER_SDO_MAPS) with each of these layers that turn on and off at different scales. This just grunt work, but ...
    The more difficult part is associating USER_SDO_MAPS scales with USER_SDO_CACHED_MAPS levels, as there is no explicit relationship. They are independent concepts and you have to arrange them so that they map to each other. This can quickly devolve to a trial and error process and will have to be repeated if you change your level structure in the USER_SDO_CACHED_MAPS row.
    If your base map data is in a different SRID than your rendered cached map you'll have even more fun. If you map includes USER_SDO_THEMES supported by USER_SDO_GEOM_METADATA with different SRIDs (and why not, you don't always get to pick your data) you'll want to have a calculator handy; although trial and error might be faster.
    Good luck, Mark

  • Map Viewer troubles

    Hi,
    In Oracle Spatial Option (Oracle Map Viewer), it seams I have a little bit
    trouble with getting the numbers/values/any text/numeric data.
    What is the problem?
    I imported all necessary data into oracle db (parcels, numbers, city names,
    etc..), so I used mapdef.jar tool. I defined all new map names, themes and
    styles (based on examples), to customize my mapview-er's view. When I define
    parcels as a theme name, it works fine, but when I want to insert the
    numbers/text, it falls (simply not showing content of numeric data theme).
    Then I tried to solve the problem myself, so I tried to analyze the data
    through enterprise manager, and I compared cities/counties/states from us
    sampledata (scott/tiger), and I realized that they have r tree spatial index
    (sdo_gtype) - collection. I also created(like) indexes, pointing on the
    column I would like to show on the map, but it still didn't work. Anyone has
    some experience in that area?
    Beside that I also have MDSYS.SDO_GEOMETRY column created filled with
    coordinates. They are completely the same as in cities example... looks like
    that:
    SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(643752449, 509765756, NULL), NULL,
    NULL).
    Why I cannot see those numbers? I tried all I knew, and I don't see the
    point. I have equal procedure, and almoast equal data in scott/tiger
    (cities), and I clearly see city names (from New York to Los Angeles), but
    when I repeat the same stuff on numbers I am not able to get any number
    inside my own map!
    Any hints???
    p.s. I have 8535 numbers to display? Is that a problem? My initial
    mapinit.jsp input coordinates are pretty high. I use values: 643752449 (x),
    509765756 (y). Initial map size =53000, and min & max scale is also set
    properly as for parcels_theme!

    I'm not sure what you are trying to do. The numbers in the geometry type are rendered (drawn), so you don't see the numbers per se, but instead they are drawn.
    Can you explain in more detail what you are doing, and what you are expecting?

  • Deploying map viewer on tomcat

    hello,
    because there was no useable result of all the past threads handling this topic, i would like to ask again.
    Is there any experience in deploying the Oracle Map Viewer on a Tomcat server?
    Sure, it is possible to deploy the ear/war file at Tomcat and to call the main page of Map Viewer (but not completely, at all), but after that, it seems like some parts of the OC4J are missing, like the xml-parser.
    I tried something with the jars of oc4j, the classpath of tomcat and so on, but nothing really helped.
    And i know about the pro and con of deploying Map Viewer anywhere else than the oc4j or application server. So there is no need to mention this again.
    thanks for help
    Sebastian

    Hi,
    I've been running mapvier on tomcat 5.5.15 for a while now, without any problems.
    I do that in my dev environment because it's faster to restart. I guess you still need an oracle appserver license even if you run it in tomcat.
    Below are the contents of my lib directories:
    TOMCAT_HOME/common/lib:
    activation.jar
    commons-el.jar
    jasper-compiler-jdt.jar
    jasper-compiler.jar
    jasper-runtime.jar
    jsp-api.jar
    mail.jar
    naming-factory-dbcp.jar
    naming-factory.jar
    naming-resources.jar
    ojdbc14.jar
    ojdbc14dms.jar
    servlet-api.jar
    xmlparserv2.jar
    and
    mapviewerWEB-INF/lib
    adf-faces-api.jar
    adf-faces-impl.jar
    adfshare.jar
    chartbuilder.jar
    classgen.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    lbs.jar
    mapcache.jar
    mapviewer.jar
    mvclient.jar
    mvconsole.jar
    mvmbeans.jar
    sdoapi.jar
    sdogr.jar
    sdonm.jar
    sdoutl.jar
    sdovis.jar
    standard.jar
    wmsfilter.jar
    Also, you have to create the login you will use for the mapviewer admin:
    your conf/tomcat-users.xml file should at least contain this:
    <role rolename="tomcat"/>
    <role rolename="manager"/>
    <role rolename="admin"/>
    <role rolename="map_admin_role"/>
    <user username="yourname" password="secret" roles="map_admin_role,tomcat,admin,manager"/>
    Then you use yourname to login to the mapadmin.
    This works for me.
    Cheers,
    Calin

  • Map view and Final DVD dont not the same

    Hello all, I have got an interesting problem which is probably due to my ignorance. I have made a project in Final Cut 4.5. In my timeline I have 5 seperate pieces. I place an in and out for each piece and then export Quicktimes (NOT self contained) in order to make my DVD. Ive made a new project in IDVD and use an existing template and replace the backround with my backround
    (a still which was made in photoshop) I place each film on the backround, which as I understand it is making its own title set, so far so good. In test mode the menu ive created works great , each title is accessed fine. Now here is the problem.
    In map view everything looks to be in the correct order but when I burn the disc and play it the chapters dont play in the order of map view? Again, the menu is correct to each film but when I go to a film and then hit the chapter button to go to next film the films are out of order with the order i put them on the menu?
    The reason I did it this way was I did not want the 2 window menu screen you get when , in Final Cut, you make chapters and export with chapters, you cannot as far as I know, in IDVD come back to just the chapter screen after each film. Which is what I wanted to do. Any suggestions? (other than use DVD SP)

    I would like to know also. I have made many DVDs, but the number order does seem to be random. For presentation purposes I want to play a specific clip by hitting it's corresponding number on the DVD player remote when the DVD is at a complete stop (so if I put the movie clip in the 2 spot and hit the number 2 on the remote, then the 2 movie clip will play). I can get this to work from the menu by dropping them in iDVD in the order I want and waiting for each to encode before dropping the next, but at a complete stop I cannot ensure number 2 on the remote will play number 2 on the DVD. To me it looks like iDVD gives those numbers in the order in which the audio is encoded when burning, with the shorter clips first and longer ones last.
    Can anyone help me?

  • Google Map Integration with Map Viewer is not working

    Hi Team,
    My MapViewer Version: Ver11_1_1_7_B130111
    I have created a Google Map (with Type of Map Source as "Google Maps") in Oracle Map Viewer and i could see google map in Oracle Map Viewer(using "show Map").
    I wanted to show a village map theme over the above google map in a web page and i am using Jdeveloper to integrate map viewer with Village data. I could see the google maps inside Jdeveloper however when i run the Jdeveloper code google map is not shown inside the web page.
    I tried with Oracle Maps, Bing Maps as the "map source" in map viewer and tried integrating inside Jdeveloper and got same result (blank screen). However when i tried a different mapviewer ( Base Map ELOCATION.WORLD_MAP from OracleFMW MapViewer Home ) i could see the map in the web page.
    I could get all other base maps (created with "internal" as the map source") in the web page, so there is some thing that i am missing with Google Maps, Bing Maps, Oracle Maps. Could you please help me what is that i am missing or point to a help resource?
    Thanks
    Nag

    Hi Jayanth,
    Issue is solved after creating the web page using latest JDeveloper (11.1.2.4). Thanks a lot for your help
    With Regards
    Nag

  • Map viewer inside portal

    hi all,i need to display maps generated by oracle map viewer inside oracle portal.How can i do that?Is there any ready made portlet for that or do i have to create my own portlet?.any help is appreciated.Thanks

    Hi!,
    mapviewer is a middle tier component; you can compose your website as you want to.
    specify your ideas a bit.
    regards,
    Andreas

  • OBIEE Wth Map viewer

    Hi Frnds,
    Presently we are using OBIEE 10g. We have some reports for which we need to integrate with Oracle Map viewer.
    We are available with both Oracle Map viewer Versions 10 and 11.
    Which one would better suites for OBIEE 10g ? Suggestions and feedback.
    If Oracle Map viewer 10 why not 11 ? Any reasons ??
    It would be grt if some body guides me for step by step integration of OBIEE10g with Oracle map viewer.
    Thank you....

    I guess mapviewer 10g is no more available for download..., so that's why i went ahead with 11g mapviewer...
    Anyways , you can raise an SR with Oracle Support...
    Few more links that might be useful to you..
    http://www.peakindicators.com/index.php/knowledge-base/68-mapping-capabliity-with-oracle-bi-ee-faqs
    http://www.dbuggr.com/smallwei/step-step-instruction-install-oracle-mapviewer-10g-10-1-3-1/
    Also read the Readme file which comes with mvdemo data...
    http://www.oracle.com/technetwork/middleware/mapviewer/mapviewer-obiee-129557.pdf
    Thanks
    Ashish

  • What edition of Oracle DB do I need for Map Viewer 12c?

    Hi All,
    What edition of Oracle DB do I need for Map Viewer 12c?
    Thanks,

    What version of Oracle client do I need for a machine with Windows 8?
    Windows 8 doesn't require ANY version of Oracle client!
    Most installations of Windows 8 never install Oracle client and they have never had any problem except the large set of problems that come included with the OS itself (bugs).
    So you clearly need to explain what PROBLEM you are trying to solve.
    Then we can help you find the best way to solve it. For example you could download and use the free Oracle Sql Developer and just use JDBC to connect to your databases. Then you don't need an Oracle client at all.

  • ADF Map Viewer Themes Rendering Problem

    Hi,
    Im presently working on ADF Map Viewer. Im facing the below mentioned issue. Can any one has come across this???
    Im building the Themes using Map Builder.
    I have 3 thems, which i combined together & created as a Base Map using Map Builder.
    While adding the themes, i also set the theme mode as "Mapviewer_native". The themes are Area Theme, Region Theme & Building Block Theme.
    For the first theme, i did not specify any minimum scale & maximum scale to make sure that this theme needs to be rendered initially.
    For the second theme, which supposed to be rendered after doing certain zoom in...for this theme i have set the Max & Min scale as Max 3 || Min 8.
    For the third theme i have added the range from 3 to 0.
    Im able to test this fine with Map Builder...On making zoom in at certain levels the second theme is getting rendered..and after doing some more zoom in the third theme is getting rendered.
    Till this everything fine... Here the problem came....
    I used <dvt:map component & assigned the above created Map as Base Map... But here im not able to see the second theme...Initially its showing the Area Map & On selecting the Zoom In ...its directly going to theme 3.
    Can you please suggest me some thing by using i can get this second theme as well....
    Looking forward to hear from you
    Regards,
    Konjeti

    Hi,
    not that I am aware of.
    Frank

  • I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.

    I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.  The site was designed around FP 10 and the link they have to download FP 10 nowalso directs to FP 13.  I followed the "How to revert to FP 11.7 (Chris Campbell Oct 2013)  along with the uninstall instructions link and now have both zip FP 10.3 and zip 11.7 in my downloads.  I attempted to run FP 11.7, the "winax" file for IE after unzipping it but I am blocked bya window that says I cannot do this and must install FP 13.  The only choice in this window, other than downloading is QUIT.  What is the best approach now.  The website is Auckland Council and the window concerned is "GIS Viewer".   neither Chrome or IE will open it.

    Hi 34wiki,
    There is only one uninstaller for Windows that will uninstall both 32- and 64-bit versions of the Flash Player. At one point there were two separate installers (one for 32-bit OS and another for 64-bit OS), but that has not been the case for a long time. Based on the error, it's possible you may using an older version of the uninstaller (to find out the version of the uninstaller, right-click on the file, select properties, then the 'details' tab).  The latest version is always posted to this link, and will work on both 32- and 64-bit operating systems.  If you get the same error using this uninstaller, please post the contents at the end of the FlashInstall.log file, that show the uninstall attempt.  Since you have a 64-bit OS, there will be two files at the following locations:
    32-bit: C:\Windows\System32\Macromed\Flash
    64-bit: C:\Windows\SysWOW64\Macromed\Flash
    Maria

  • Two model projects (1 for Oracle, 1 for SQLServer) with 1 view project?

    We are trying to solve the issue of supporting both Oracle and SQLServer backends with our ADF application.  We have read many posts and our application is working against Oracle but have some issues with SQLServer.  The entities are created as SQL92/Java.  Would a better approach be to create separate model projects and then load or build with the appropriate one.  Each would have identical naming so the view would work with either.  At run time we know which type of db is installed. If this was to work how would we specify one over the other when building/running? 
    If I am way off on this idea please let me know and we will continue down the current path.
    Thank you
    Rudy

    Hi Shay,
    Yes, I have been through that document and done everything except the primary key generation.  Our db's do use the Identity/Sequence features for generating primary keys and this cannot be changed due to legacy systems that also access the db.  The error I see against SQLServer when performing a Commit after a CreateInsert, Update, or Delete is this:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: oracle.jbo.JboException: [oracle.jbo.DMLException: JBO-26080: Error while selecting entity for GetValueRuleEO]
        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    This happens against multiple entity objects.  The entity PK's are defined as oracle.jbo.Domain.DBSequence with Updatable as Never and no Refresh. Is there a way to set the properties of the application model at runtime, possibly within the initialization servlet?
    Thank you.

Maybe you are looking for