Oracle mapviewer
Hi
I am using mapviewer 9.0.4. I download mapviewer examples and it works well. But when i create a map and use this example of XML requests to display my map, it did not work. I convert a shapefile to oracle spatial format by shp2sdo.exe. Then i define the map, the themes, and the styles using the example styles by mapdef tool. After that, I change the basemap, datasource, size,and center point in terms of my map. But it can not display any map. if i change the title, it can display the changed title. The coordinate system is the same as the sample. so could you help me to solve this problem?
Gengsheng
Hi
Thanks for your help. In this case, the response is success. It does not give me any message about errors. could you tell me how to find error message from oc4j console?
Gengsheng
Similar Messages
-
The Oracle MapViewer brings the WebLogic Managed Server to crash
Problem Description: The Oracle MapViewer brings the WebLogic Managed Server to crash, when we call a GetMap-Request with wrong Coordinates.
This was found out for the SRS=EPSG:25833. Example:
http://igdb-qm-svra1.blva.bayern.de:8080/mapviewer/wms?
REQUEST=getMap&
Version=1.1.1&
LAYERS=&
FORMAT=image/png&
TRANSPARENT=false&
STYLES=&
Datasource=igvert_alkis_wms&
basemap=AT_WMS_TN-KOMPLETT&
SRS=EPSG:25833&
BBOX=3.32358690717E7,5529425.0143,3.32369088846E7,5530464.8272&
WIDTH=500&
HEIGHT=500&
With the Enterprise Manager was also evaluated during and after a crash of Server the SQL-Statements.
If the SQL statements executed on the database itself, it takes a few seconds after a correct answer returns.
I know that have the look for the EPSG coordinate as follows:
BBOX=235869.071700,5529425.014300,236908.884600,5530464.827200&
My question therefore: Why are these coordinates by the Oracle MapViewer approved and not caught? An Request with incorrect
coordinates goes into a StuckThreads and then the ManagedServer crashed.
In the appendix you will find the evaluation of the Enterprise Manager.
I have tested the request with two different versions of Oracle MapViewer (Ver11_1_1_5_B110527 and Ver11_B100426). In both the same problem occurs on.
I have also filed an SR.
Best Regards
KerstinHi,
Can you confirm that you're trying to setup a managed server on another machine using the pack/unpack commands ?
You might to want to take a look at that post.
Clustering of 2 Physical server
Hope that helps !
Regards -
How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
The following is my configuration in the conf\mapViewerConfig.xml:
<map_data_source name="mvdemo12"
jdbc_host="127.0.0.1"
jdbc_sid="orcl12c1"
jdbc_port="1522"
jdbc_user="mvdemo"
jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
editable="true"/>
<!-- **** -->
But it does not work.
After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
Does anyone know it?
Thanks,For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
//mypdb1.foo.com as described in the README,
- MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
<map_data_source name="myds"
jdbc_host="foo.com"
jdbc_sid="//mypdb1.foo.com"
jdbc_port="1522"
/>
For 11.1.1.7.0 use a container_ds instead.
i.e. instead of using
<map_data_source name="my_12c_test"
jdbc_host="mydbinstance"
jdbc_sid="pdborcl12c"
jdbc_port="1522"
jdbc_user="mytestuser"
jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
jdbc_mode="thin"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
use
<map_data_source name="my_12c_test"
container_ds="jdbc/db12c"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
Property
url jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
Add a JDBC resource for that newly created pool
Use that in mapviewerconfig.xml as above -
Oracle MapViewer 12.1.3 and WFS-T (Transaction) Service
Hello,
I am new to Oracle MapViewer.
Does Oracle MapViewer 12.1.3 supports WFS-T (Transaction) Service similar to ArcGIS Server 10.2?
ArcGIS Help (10.2, 10.2.1, and 10.2.2)
"WFS is a specification published by the Open Geospatial Consortium, Inc. (OGC), for serving geographic features on the Internet.
A WFS service with transactions (WFS-T) allows WFS clients to apply edits (inserts, deletes, and updates) to the data in the source database through the WFS service."
Thanks,
Marcelo Marques
Esri Technical Manager, OCPHello,
I am also having a hard time to understand all the required software and installation process to create a simple WFS service, the documentation is not very clear.
- Oracle® Spatial and Graph Developer's Guide 12c Release 1 (12.1)
http://docs.oracle.com/database/121/SPATL/toc.htm
- 10 Introduction to Spatial Web Services
http://docs.oracle.com/database/121/SPATL/sdo_webserv_intro.htm#CHDGBDCE
10.3 Setting Up the Client for Spatial Web Services
Before anyone can use Spatial and Graph web services, you, as an administrator with the DBA role, must ensure that:
•The $ORACLE_HOME/md/jlib/sdows.ear file is deployed into an OC4J instance.
•The necessary database connections are defined (if you accepted the default location for the sdows.ear file deployment) in the <j2ee_home>/home/applications/sdows/META-INF/data-sources.xml file. This file defines database connections available for use with all web services, including OpenLS and WFS.
You should then examine and modify the <j2ee_home>/home/applications/sdows/sdows/WEB-INF/conf/WSConfig.xml file, which controls web services behavior. Example 10-1 shows the Oracle-supplied WSConfig.xml file, which you should modify as needed for your system environment. For more information about how to modify this and other files, see the Readme.txt file for the wsclient.jar demo file (described in Section 10.4, "Demo Files for Sample Java Client").
What do I need to install? How do I deploy OC4J? How I deploy this in Weblogic or Glassfish? How do I deploy the .ear file in OC4J?
I am a beginner and need more clear instructions .
Deploying an EAR File to OC4J From the Command Line
http://buttso.blogspot.com/2006/11/deploying-ear-file-to-oc4j-from.html
15 Web Feature Service (WFS) Support
http://docs.oracle.com/database/121/SPATL/sdo_wfs.htm#CIHEFGJJ
I need something easier to follow, like this tutorial
- Installing and Configuring Spatial Web Service in OC4J
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/install/swsinst/swsinstall.htm?cid=4194&ssid=5275317476097
But how I do the same in OC4J/Weblogic/Glassfish? and in 11gR2 and 12c?
Any help is appreciate.
Thanks,
Marcelo -
Hello,
I'm using the OracleAS MapViewer Bean in my JSP application. As said in the use guide, this Bean is used for all maps created during the current session. But for me, it's a problem because when I close a first map (with addPointFeature, addWMSMapTheme and addJDBCTheme functions) and want to create a second one (with the same functions but with another data), information of the firsts is always there.
Does anyone know how to put the scope of the Bean to page and not still to session?
(As in the tag
<jsp:usebean
id="BeanName"
class="com.XXX.class"
scope="page">
</jsp:usebean>
Thanks in advance.The API has methods (such as deleteAllThemes, removeAllPointFeatures) to clean your current request. You can use these methods before creating the second map.
-
Controlling access to Oracle Mapviewer spatial data through VPD
I am building a web GIS application in Oracle Application Express (APEX) and have used the Virtual Private Database feature of Oracle Database 11g Enterprise Edition so as to ensure row level security. I've integrated APEX with Oracle Mapviewer through Oracle Maps API in order to display a map.
VPD feature is working properly through the command prompt at the database level but I also need to use the VPD policy at the application level so that each authenticated user can only see his own spatial data on the map.
So far I have accomplished that by creating as many data sources as the number of application users on the mapViewerConfig.xml file. Every time a user logs in the web GIS application, the correct data source is being employed.
I was wondering if there is any other parameterised way that I can perform this access control functionality without having to create all these data sources.
Many thanks in advance.Yes you can define a single "secure" MapViewer data source to achieve VPD or make use of your database VPD setup. For more details and how to get the Apex app user to MapViewer and then onto VPD you can check out my blog post here: http://oraclemaps.blogspot.com/2008/09/apex-oracle-maps-and-secure-mapping.html
hope this helps,
LJ -
How to set proxy credentials to access wms services in Oracle Mapviewer
Hi,
I use Oracle Mapviewer v. 11_1_1_4 and I want to access WMS service but my LAN uses a proxy server that requires authentication.
The mapviewer configuration file doesn't allow setting 'user' and 'password' proxy parameters. Other threads report this problem like the following:
https://forums.oracle.com/thread/620366
The previous thread is five years old. Are there other solutions now? Does last mapviewer allow users setting proxy authentication?
Can anyone help me?
Thanks,
Arturogo to commons-httpclient-3.1\docs\tutorial.html. In the left hand side you will get a link named as " user guide" and under that "Authentication Guide" link. check it out.
-
Access to non spatial tables in oracle mapviewer/ oracle maps V2
Hello,
We want to have access to non spatial oracle tables (for value list creation etc), existing in oracle mapviewer spatial datasource (ex datasource: MVDEMO/ nospatial table: Employees).
We have allready created the datasource MVDEMO and we want to avoid the creation of an external datasource to the same oracle user.
Thxs,
BillThanks. Your answer was very helpful. It pointed me in the right direction. I wanted to be able to generate a table, below the map, which listed all the points (and their associated data) shown on the map. The simplified code I used is shown below. The function is called using an event listener (map.addListener(OM.event.MapEvent.LAYER_ADDED, createTable) which fires after the pointlayer is added to the map.
function createTable(evt) {
var tableRecords = pointLayer.getAllFeatures();
var tableRecordsAttr = pointLayer.getAttributeNames();
divElem = document.createElement('div');
tableElem = document.createElement('table');
tbodyElem = document.createElement('tbody');
rowElem = document.createElement('tr');
// create the table headings
for (var i = 0; i < tableRecordsAttr.length; i++) {
colElem = document.createElement('th');
colElem.appendChild(document.createTextNode(tableRecordsAttr[i]));
rowElem.appendChild(colElem);
tbodyElem.appendChild(rowElem);
// populate each row of the table with data
for (var i = 0; i < tableRecords.length; i++) {
rowElem = document.createElement('tr');
for (var j = 0; j < tableRecordsAttr.length; j++) {
colElem = document.createElement('td');
colElem.appendChild(document.createTextNode(tableRecords[i].getAttributes()[tableRecordsAttr[j]]));
rowElem.appendChild(colElem);
tbodyElem.appendChild(rowElem);
tableElem.appendChild(tbodyElem);
divElem.appendChild(tableElem);
document.getElementsByTagName('body')[0].appendChild(divElem); -
Oracle Mapviewer Commercial Use
Dear Sirs,
Are there any well known examples of Oracle Mapviewer used commercially as a GIS Webserver?
Thank YouHi,
Warsaw City GISPortal
http://mapa.um.warszawa.pl/mapaApp1/mapa?service=mapa
currently only in PL language
technology stack:
Spatial+WLS(cluster) +MapViewer 11.1.7(js v1 API)
BR,
Tomek -
Straight lines are displayed as curved in Oracle Mapviewer
Hi,
we're using Oracle Mapviewer to display land area singlepart polygons (3003) from Oracle Spatial table called sdo_kol. The table has an attribute of mdsys.sdo_geometry. I'm pretty sure that data is loaded correctly using shp2sde tool from arcSde tool pallete. The thing is, when displaying the area's using ArcMap 8.3 we get the polygon shape on the screen. But when we look at the same thing through the Map Viewer the polygon lines look like zig-zag lines instead of straight lines.
Anyone has an idea why?
Cheers.
Message was edited by:
user526816I have tried the fast_unpickle option. I've set the fast_unpickle to false in user_sdo_maps (we're using predefined themes), or even issuing a manual xml api request with fast_unpickle = "false". I still get zigzag lines.
This has to be a bug in 9.0.4 version of map viewer. Our geometries are of type 3003 and 3007 and one polygon has a lot of vertices, so that might be a rounding problem. We'll try the same thing on 10.1.2.0.2 and see what happens.
Many thanks for your help, you have been very kind. -
How to integrate Oracle mapviewer
Good Morning
How to integrate Oracle mapviewer or Oracle Maps in my php or jsp page in order to show the map that is on my computer database
thank yousorry i have find answer you can show examples in mvdemo example .
-
Oracle mapviewer forum - general question
If I google using string 'oracle spatial forum' it will list spatial forum in first page.
If I google using string 'oracle mapviewer forum' it will not list mapviewer forum. Why?
Thanks,
SujnanThat question should probably be directed at Google since they control what appears where in the search results.
The Mapviewer forum probably appears lower down the list as it is newer. The Oracle Spatial forum has been around for years - the fledgling MapViewer forum is only a few weeks old. Give it some time and I'm sure it'll get promoted. -
The new Oracle MapViewer Blog ?
Hi,
where can we find the new Oracle MapViewer Blog ?
Many thanks
Friedholdcheck here
https://blogs.oracle.com/oracle_maps_blog -
Oracle MapViewer with WebSphere
Hi all,
Can I deploy Oracle MapViewer in a WebSphere enviroment?
Thank you!Yes.
You must license MapViewer with any OAS or WebLogic license or TopLink ADF deployment license.
You can deploy in the WebSphere java container.
thanks
Steve -
I have problem using Oracle MapViewer WMS GetFeatureInfo request because data that that request is fetching are not in UTF-8 encoding so I get XML document that is invallid. Any help here?
I have problem using Oracle MapViewer WMS GetFeatureInfo request because data that that request is fetching are not in UTF-8 encoding so I get XML document that is invallid. Any help here?
-
Error rendering raster image in OracleAS MapViewer Version: Ver1033p5_B0810
We have installed Oracle 10g and are in the process of testing it. I've loaded a raster image into MapBuilder and created a table, theme, and base map. The theme and base map display fine in MapBuilder 10.1.3.3 patch 5, but when I try to display it in MapViewer I get the error show in ftp://ftp.mdt.mt.gov/download/raster_error.png.
I've created a datasource to the 10g database, and a map tile layer for the raster base map. MapTileLayer1.png and
MapTileLayer2.png on the ftp site identified above show basic settings and coordinate system definition for the tile layer.
Can anyone suggest why this error is occurring and what I can do to correct the problem. Thanks.I have solved this problem. When I created the theme in MapBuilder I set the srid to 262148, but in MapViewer I set it to 41079. Once I fixed this the raster image display fine :(
Maybe you are looking for
-
Getting WCMException while configuring a repository service
Hi KM Experts, I wrote a program to create a repository service, to start the approval process automatically, and select it for the required repository manager. I restarted the servlet engine, but still the status of newly added document is 'In Progr
-
My computer and itunes recognizes my phone, but itunes says that the phone cannot be used because it requires 11.1 or later. I have 11.1. I have tried restart, shut down, different cables.. HELP!!
-
Yahoo finance compatibility issue.
The add button star - * wont work. Works for IE.
-
Hi, I am using PXIe-5663 for my project. I had a general question on PXIe-5663. From the signal path it seems, an incoming RF signal is down-converted to IF by 5601 and 5652 and then digitized by 5622. Labview programming can be done to read the digi
-
Startup disk is too full?
I keep getting this popup that says my startup disk is too full. What does that mean? What can I do about it?