Post xml in map viewer
Hi people,
I posting this xml:
<?xml version="1.0" standalone="yes"?>
<map_request
title="ARIZONA"
basemap="MAPA_ARIZONA"
datasource="orcl"
width="800"
height="600"
bgcolor="#ffffff"
antialiase="false"
format="GIF_STREAM">
<center size="10.0">
<geoFeature render_style="M.PONTO" >
<geometricProperty typeName="center">
<Point>
<coordinates>344694.701,7399585.02</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
<themes>
<theme name="t1">
<jdbc_query
spatial_column="geometry"
render_style="M.PONTO"
label_style="T.LOTE"
label_column="DESCRICAO">
SELECT
t.x || ' ' || t.y AS DESCRICAO,
SDO_GEOMETRY(2001, 82300, SDO_POINT_TYPE (t.x, t.y, NULL), NULL, NULL)
FROM
TABLE
SELECT
SDO_UTIL.GETVERTICES(a.geometry)
FROM
geometry_user.tt_jardim_arizona a
) t
</jdbc_query>
</theme>
</themes>
</map_request>
But the theme (t1) not apears in the image.
how can I make the theme apear in the image??
tanks in advance,
Carlos
Hi,
try the following select on your map request:
SELECT
t.x || ' ' || t.y DESCRICAO,
SDO_GEOMETRY(2001, 8265, SDO_POINT_TYPE (t.x, t.y, NULL), NULL, NULL) geometry
FROM geometry_user.tt_jardim_arizona a,
TABLE
SDO_UTIL.GETVERTICES(a.geometry)
) t
Similar Messages
-
Error while posting xml file to URL using URLConnection
Hello everyone,
I am facing an issue from long time related to URLConnection. If this would be resolved by your help then I would be very grateful to you.
One application which posts xml file to URL hangs and after waiting for 5 mins it throws 504 error:
java.io.IOException: Server returned HTTP response code: 504 for URL: http:hostname.
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:715)
Same application is running fine without error on another environment from last 5 years. But on another env it is erroring out from the day 1.
We have many workarounds in place none worked.
I tried to use HttpClient from apache but that too hanged at URLConnection.getInputStream() method call.
App is running on iPlanet web server 6.1 using JDK 1.4.0_03
We still dont know why this program hangs at that particular line in only one env but many times it runs fine. That means 30% of the times it posts xml file without error but 70% times it errors out. So our program logic is to retry until post is successful.
Once this issue is resolved we will remove the logic of trying again and agian.
Please provide inputs.
Thanks,
NitinThe HTTP response 504 means that the server, acting as a gateway, has not received a response from an upstream server in the time it expected.
I think this is problem is due to the remote server that receives the XML and takes too long to return a response to the local application that posted the XML.
Try HttpClient and set the timeout variable of the HttpClient instance used.
Here http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/PostXML.java?revision=480424&view=markup
a Post XML sample.
NB: HttpClient > setTimeout method is deprecated. See : http://jakarta.apache.org/commons/httpclient/apidocs/index.html for an alternative
Hope That Helps -
XSLT samples for XML- ABAP mapping
Hi all,
Does anyone have a XSLT samples for XML->ABAP mapping ?
regardsfirst create XSLT program by copy pasting the below given code and give the program name as "Y_TEST"
<b>XSLT code</b>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:strip-space elements="*"/>
<xsl:output indent="yes"/>
<xsl:template match="NewDataSet">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<OUTTAB>
<xsl:for-each select="Table">
<OUTTAB1>
<AIRPORTCODE>
<xsl:value-of select="AirportCode"/>
</AIRPORTCODE>
<CITYOFAIRPORTNAME>
<xsl:value-of select="CityOrAirportName"/>
</CITYOFAIRPORTNAME>
<COUNTRY>
<xsl:value-of select="Country"/>
</COUNTRY>
<COUNTRYABBRIVATION>
<xsl:value-of select="CountryAbbrviation"/>
</COUNTRYABBRIVATION>
<COUNTRYCODE>
<xsl:value-of select="CountryCode"/>
</COUNTRYCODE>
<GMTOFFSET>
<xsl:value-of select="GMTOffset"/>
</GMTOFFSET>
<RUNWAYLENGTHFEET>
<xsl:value-of select="RunwayLengthFeet"/>
</RUNWAYLENGTHFEET>
<RUNWAYELEVATIONFEET>
<xsl:value-of select="RunwayElevationFeet"/>
</RUNWAYELEVATIONFEET>
<LATITUDEDEGREE>
<xsl:value-of select="LatitudeDegree"/>
</LATITUDEDEGREE>
<LATITUDEMINUTE>
<xsl:value-of select="LatitudeMinute"/>
</LATITUDEMINUTE>
<LATITUDESECOND>
<xsl:value-of select="LatitudeSecond"/>
</LATITUDESECOND>
<LATITUDENPEERS>
<xsl:value-of select="LatitudeNpeerS"/>
</LATITUDENPEERS>
<LONGITUDEDEGREE>
<xsl:value-of select="LongitudeDegree"/>
</LONGITUDEDEGREE>
<LONGITUDEMINUTE>
<xsl:value-of select="LongitudeMinute"/>
</LONGITUDEMINUTE>
<LONGITUDESECONDS>
<xsl:value-of select="LongitudeSeconds"/>
</LONGITUDESECONDS>
<LONGITUDEEPERW>
<xsl:value-of select="LongitudeEperW"/>
</LONGITUDEEPERW>
</OUTTAB1>
</xsl:for-each>
</OUTTAB>
</asx:values>
</asx:abap>
</xsl:template>
</xsl:stylesheet>
<b>just create a type 1 program and paste the below given code.</b>
report y_consume_webservice .
data: wf_user type string .
data: wf_password type string .
types: begin of outtab1 ,
airportcode(6) ,
cityofairportname(50),
country(30) ,
countryabbrivation(10),
countrycode(6) ,
gmtoffset(10) ,
runwaylengthfeet(15),
runwayelevationfeet(15),
latitudedegree(10) ,
latitudeminute(10) ,
latitudesecond(10) ,
latitudenpeers(10) ,
longitudedegree(10) ,
longitudeminute(10) ,
longitudeseconds(10) ,
longitudeeperw(10) ,
end of outtab1 .
data: outtab type table of outtab1.
data: wf_o like line of outtab .
data: g_okcode like sy-ucomm .
data: my_container type ref to cl_gui_custom_container .
data: g_dock type ref to cl_gui_docking_container .
data: mygrid type ref to cl_gui_alv_grid .
data: wf_field_cat type lvc_t_fcat .
data: wf_field_cat_wa like line of wf_field_cat ,
wf_is_layout type lvc_s_layo .
data: wf_fld_cat type slis_t_fieldcat_alv .
data: wf_fld_cat_wa like line of wf_fld_cat .
data: wf_repid like sy-repid .
data: int_tab_name type slis_tabname .
data: xslt_err type ref to cx_xslt_exception .
constants:
* encoding for download of XML files
encoding type string value 'utf-8' .
data: rlength type i,
txlen type string .
data: http_client type ref to if_http_client .
data: wf_string type string .
data: wf_string1 type string .
data: wf_proxy type string ,
wf_port type string .
selection-screen: begin of block a with frame .
parameters: uri2(132) type c lower case .
selection-screen skip 1.
parameters: user(50) lower case,
password(50) lower case ,
p_proxy(100) lower case default 'proxy.xxx.com' ,
p_port(4) default '80'.
selection-screen: end of block a .
at selection-screen output.
loop at screen.
if screen-name = 'PASSWORD'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
start-of-selection .
clear wf_string .
concatenate
'<?xml version="1.0" encoding="utf-8"?>'
'<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'
'<soap:Body>'
'<GetAirportInformationByCountry xmlns="http://www.webserviceX.NET">'
'<country>' uri2 '</country>'
'</GetAirportInformationByCountry>'
'</soap:Body>'
'</soap:Envelope>'
into wf_string .
clear :rlength , txlen .
rlength = strlen( wf_string ) .
move: rlength to txlen .
clear: wf_proxy, wf_port .
move: p_proxy to wf_proxy ,
p_port to wf_port .
call method cl_http_client=>create
exporting
host = 'www.webservicex.net'
service = '80'
scheme = '1'
proxy_host = wf_proxy
proxy_service = wf_port
importing
client = http_client.
http_client->propertytype_logon_popup = http_client->co_disabled.
wf_user = user .
wf_password = password .
call method http_client->authenticate
exporting
proxy_authentication = 'X'
username = wf_user
password = wf_password.
call method http_client->request->set_header_field
exporting
name = '~request_method'
value = 'POST'.
call method http_client->request->set_header_field
exporting
name = '~server_protocol'
value = 'HTTP/1.1'.
call method http_client->request->set_header_field
exporting
name = '~request_uri'
value = '/airport.asmx'.
call method http_client->request->set_header_field
exporting
name = 'Content-Type'
value = 'text/xml; charset=utf-8'.
call method http_client->request->set_header_field
exporting
name = 'Content-Length'
value = txlen.
call method http_client->request->set_header_field
exporting
name = 'SOAPAction'
value = 'http://www.webserviceX.NET/GetAirportInformationByCountry'.
call method http_client->request->set_cdata
exporting
data = wf_string
offset = 0
length = rlength.
call method http_client->send
exceptions
http_communication_failure = 1
http_invalid_state = 2.
call method http_client->receive
exceptions
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
clear wf_string1 .
wf_string1 = http_client->response->get_cdata( ).
replace all occurrences of
'<' in wf_string1 with '<' .
replace all occurrences of
'>' in wf_string1 with '>' .
replace all occurrences of
'xmlns=' in wf_string1 with 'xmlns:xsl=' .
try .
call transformation (`Y_TEST`)
source xml wf_string1
result outtab = outtab.
catch cx_xslt_exception into xslt_err.
data: s type string.
s = xslt_err->get_text( ).
write: ': ', s.
stop.
endtry .
break-point .
Try this and give me your feedback.
Regards
Raja -
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 -
This is a followup on the post "JAVA Error Messages Thrown When Deploying Map Viewer," from Jun 12, 2008 11:22 AM. (reprinted below)
Basically there are a number of java errors thrown when attempting to install Mapviewer. Has anyone else come across similar error messages? What do they mean? I can't imagine this hasn't happened before.
Also, if anyone might have a clue or a direction to point me in concerning this matter, that would really be greatly appreciated. I really need assistance here, as I really have no clue what is going on, and I haven't managed to find anything on the Web concerning these specific error messages.
Thank you,
John
The following is the previous post I am referring to:
Hello,
Thank you for taking the time to assist with this problem.
I am fairly new to java, and so I have little understanding of what certain error messages mean after I deploy Map Viewer through oc4j.
I have poked around on the Web enough to have a feeling that the application is searching for certain necessary classes, and that it can't fully deploy without these classes. If this is true, where are these classes located and/or how do I point to them so that the application can find them?
There are one group of errors thrown when attempting to deploy Map Viewer, and then another set when attempting to create a "dynamic data source" from the Map Viewer admin page.
Following are the error messages:
(happens upon attempted deployment:)
08/06/12 11:08:22 java.lang.NoClassDefFoundError
08/06/12 11:08:22 at java.lang.Class.forName0(Native Method)
08/06/12 11:08:22 at java.lang.Class.forName(Class.java:164)
08/06/12 11:08:22 at java.awt.Toolkit$2.run(Toolkit.java:821)
08/06/12 11:08:22 at java.security.AccessController.doPrivileged(Native Method)
08/06/12 11:08:22 at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
08/06/12 11:08:22 at oracle.sdovis.GlobalVisContext.<clinit>(GlobalVisContext.java:48)
08/06/12 11:08:22 at oracle.sdovis.MapMaker.setUGP(MapMaker.java:2334)
08/06/12 11:08:22 at
oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1082)
08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:492)
08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:274)
08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:125)
08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:109)
08/06/12 11:08:22 at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:212)
08/06/12 11:08:22 at java.lang.Thread.run(Thread.java:595)
(happens after I attempt to create a "dynamic data source":)
08/06/12 11:13:23 java.lang.NullPointerException
08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadDBConfigs(ConfigLoader.java:239)
08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadCacheConfigs(ConfigLoader.java:84)
08/06/12 11:13:23 at oracle.lbs.mapcache.MapCacheServer.<init>(MapCacheServer.java:83)
08/06/12 11:13:23 at oracle.lbs.mapcache.MCSServlet$ColdStart.run(MCSServlet.java:87)
08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
08/06/12 11:13:23 java.lang.NullPointerException
08/06/12 11:13:23 at oracle.lbs.foi.FOIServer.<init>(FOIServer.java:163)
08/06/12 11:13:23 at oracle.lbs.foi.FOIServlet$ColdStart.run(FOIServlet.java:127)
08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
Also, when the second series of error messages are thrown, a red error message displays on the admin html page, which reads, "MapViewer server is still starting up." It doesn't matter how long I wait, it never does start up, and of course the error messages tell something is wrong.
Do I need to modify a file somewhere to tell Map Viewer where to look for these classes?
By the way I am running on a Sun server with Solaris 9
Thank you much,
John
Message was edited by: John
user641525For future reference,
The problem was finally solved. Someone suggested to me to make sure I was running jdk 1.5.0 by typing "java -version" It turns out I thought I was running 1.5.0, but in actuality I was running 1.4.2.
The reason this was confusing was because I was pointing to the newer version when exporting the JAVA_HOME env. variable, by typing "export JAVA_HOME=[full path to jdk folder].
But the trick was to append the full paths for jdk/bin and jdk/jre/bin to the front of the PATH variable. At first I appened the paths to the end of the PATH variable, and nothing happened.
Basically, the mapviewer installation needs to look at the bin folders for the 1.5.0 version of the jdk.
You can always test this by typing "java -version." If your PATH variable is correct, then you'll see information on the most recent jdk installation instead of an older version.
John -
Map View Analyses in OBIEE 11g
Hi friends,
Im in the process of using map view in my analysis. For that they asked to put the following thing in the instanceconfig.xml file after *</Logging>* tag
<SpatialMaps>
<ColocatedOracleMapViewerContextPath>/mapviewer/</Colocated
OracleMapViewerContextPath>
<RemoteOracleMapViewerAbsoluteURL></RemoteOracleMapViewerAb
soluteURL>
<LayerDataLayout><MaxRecords>600</MaxRecords></LayerDataLay
out>
</SpatialMaps>Soon after making this change i saved the instanceconfig.xml file and after that they asked to restart the BIPresentation services(via)EM. But the Restart isn't successful as the Presentation Service is going down.
But if i removed the above code in the xml file, and if i restarted the services means then the BI presentation services is becoming up. But if i used that code in the xml file means the BI presentation service is going down.
I couldnt able to predict the reason behind it. Since for performing the map view in my analyses i need to add the above coding. But the Presentation servers is going down for that.
Thanks
All izz Well
GTAHi Deepak,
This is the full xml tag in my instanceconfig.xml, kindly check in what is missing, then too the same problem.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Oracle Business Intelligence Presentation Services Configuration File -->
<WebConfig xmlns="oracle.bi.presentation.services/config/v1.1">
<ServerInstance>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><CatalogPath>C:\NEW8\instances\instance4\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog\GCBC</CatalogPath>
<DSN>coreapplication_OH1347659640</DSN>
<SpatialMaps>
<LayerDataLayout>
<MaxRecords>1000</MaxRecords>
</LayerDataLayout>
</SpatialMaps>
<LightWriteback>true</LightWriteback>
<Logging>
<Writers>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><Writer implementation="FileLogWriter" name="Global File Logger" writerClassId="1" dir="{%ORACLE_BIPS_INSTANCE_LOGDIR%}" filePrefix="sawlog" maxFileSizeKb="10000" filesN="10" fmtName="ODL-Text"/>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><Writer implementation="CoutWriter" name="Console Logger" writerClassId="2" maxFileSizeKb="10000"/>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><Writer implementation="EventLogWriter" name="System Event Logger" writerClassId="3" maxFileSizeKb="10000"/>
<!-- The following writer is not centrally controlled -->
<Writer implementation="FileLogWriter" name="Webcat Upgrade Logger" disableCentralControl="true" writerClassId="5" dir="{%ORACLE_BIPS_INSTANCE_LOGDIR%}" filePrefix="webcatupgrade" maxFileSizeKb="2147483647" filesN="1" fmtName="ODL-Text"/>
</Writers>
<WriterClassGroups>
<WriterClassGroup name="All">1,2,3,5</WriterClassGroup>
<WriterClassGroup name="File">1</WriterClassGroup>
<WriterClassGroup name="Console">2</WriterClassGroup>
<WriterClassGroup name="EventLog">3</WriterClassGroup>
<WriterClassGroup name="UpgradeLogFile">5</WriterClassGroup>
</WriterClassGroups>
<Filters>
<!-- Removing Console logger as it does not rotate and Admin MBeans overwrite all filter nodes. -->
<!--FilterRecord writerClassGroup="Console" path = "saw" information="1" warning="31" error="31" trace="0" incident_error="32"/-->
<!-- These FilterRecords are updated by centrally controlled configuration -->
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><FilterRecord writerClassGroup="File" path="saw" information="1" warning="31" error="31" trace="0" incident_error="1"/>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><FilterRecord writerClassGroup="File" path="saw.mktgsqlsubsystem.joblog" information="1" warning="31" error="31" trace="0" incident_error="1"/>
<!-- The following FilterRecords are not centrally controlled -->
<FilterRecord writerClassGroup="UpgradeLogFile" disableCentralControl="true" path="saw.subsystem.catalog.initialize.upgrade" information="1" warning="32" error="32" trace="1" incident_error="32"/>
<FilterRecord writerClassGroup="UpgradeLogFile" disableCentralControl="true" path="saw.subsystem.catalog.upgrade" information="1" warning="32" error="32" trace="1" incident_error="32"/>
</Filters>
</Logging>
<SpatialMaps>
<ColocatedOracleMapViewerContextPath>/mapviewer</ColocatedOracleMapViewerContextPath>
<RemoteOracleMapViewerAbsoluteURL>http://4iapps-biserver:9704/mapviewer</RemoteOracleMapViewerAbsoluteURL>
<LayerDataLayout>
<MaxRecords>600</MaxRecords>
</LayerDataLayout>
</SpatialMaps>
<!--
NOTE:
The URL element in the following structure is updated by central admin.
Manual edits here will be overwritten. Use the Enterprise Manager
web application.
<Marketing>
<ContentServer>
<URL>value from biee central admin file</URL>
</ContentServer>
</Marketing>
-->
<ps:Catalog xmlns:ps="oracle.bi.presentation.services/config/v1.1">
<ps:UpgradeAndExit>false</ps:UpgradeAndExit>
<ps:UpdateAccountGUIDs>UpdateAndStartNormally</ps:UpdateAccountGUIDs>
</ps:Catalog>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ps:Listener xmlns:ps="oracle.bi.presentation.services/config/v1.1" port="9710" ssl="false"/>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ps:JavaHostProxy xmlns:ps="oracle.bi.presentation.services/config/v1.1" ssl="false">
<ps:Hosts>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<Host name="coreapplication_obijh1" address="4iapps-biserver" port="9810"/>
</ps:Hosts>
</ps:JavaHostProxy>
<ps:Alerts xmlns:ps="oracle.bi.presentation.services/config/v1.1">
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:ScheduleServer ssl="false" ccsPrimary="4iapps-biserver" ccsPrimaryPort="9706"/>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:OfflinePresentationServicesURL>http://192.168.121.1:9704/analytics/saw.dll</ps:OfflinePresentationServicesURL>
</ps:Alerts>
<ps:ActionFramework xmlns:ps="oracle.bi.presentation.services/config/v1.1">
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:ActionExecutionServiceEndPoint>http://localhost:9704/analytics/actions/ActionExecutionService</ps:ActionExecutionServiceEndPoint>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:TargetBrowsingServiceEndPoint>http://localhost:9704/analytics/actions/ActionRegistryService</ps:TargetBrowsingServiceEndPoint>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:LocationServiceEndPoint>http://localhost:9704/analytics/actions/LocationService</ps:LocationServiceEndPoint>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><ps:WorkflowServer>http://localhost:9704</ps:WorkflowServer>
<ps:WorkflowService>ANALYTICS</ps:WorkflowService>
<ps:WorkflowSystem>obiaftests</ps:WorkflowSystem>
</ps:ActionFramework>
<Security>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ClientSessionExpireMinutes>210</ClientSessionExpireMinutes>
</Security>
<ODBC>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ResultRowLimit>65000</ResultRowLimit>
</ODBC>
<Views>
<Pivot>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<DefaultRowsDisplayedInDownload>2500</DefaultRowsDisplayedInDownload>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<DisableAutoPreview>false</DisableAutoPreview>
</Pivot>
<Table>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<DefaultRowsDisplayedInDownload>2500</DefaultRowsDisplayedInDownload>
</Table>
</Views>
<Dashboard>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ShowPageTabsAlways>false</ShowPageTabsAlways>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<ShowSectionHeadingsDefault>false</ShowSectionHeadingsDefault>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<CollapsibleSectionsDefault>true</CollapsibleSectionsDefault>
</Dashboard>
<Marketing>
<ContentServer>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<URL>http://localhost:8765</URL>
</ContentServer>
</Marketing>
<Authentication>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager-->
<EnabledSchemas>UidPwd,Impersonate,UidPwd-soap,Impersonate-soap</EnabledSchemas>
</Authentication>
</ServerInstance>
</WebConfig>GTA -
Hi All,
can any one suggest me some link or documentation for OBIEE Map viewer.
Regards,
Narasimha.Ahsan has posted a My Oracle Support document ID. It is against the rules of the OTN forums to paste content from My Oracle Support; you will need to have a valid Customer Support Identifier (CSI) to access the information via MOS.
Andy. -
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
SebastianHi,
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 -
AS Map viewer install freezing -
Hi All -
I am new to this so bear with me. Several times I have tried to install Map Viewer on 10g. I started with the Java SDK and created a stand alone instance of jre1.6.0_03. Then with the Quiklaunch AS Mapviewer download kit tried to install map viewer, setting ORACLE_HOME and JAVA_HOME as described, and then running the oc4j -start command. It launches fine and begins churning away but always freezes at the following line :
[oracle.lbs.mapserver.core.MapRecycleThread,
#Thread-201] celansing old maps
any ideas?Here is the error log for the above.....
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0156f00e, pid=6012, tid=5776
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# J EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$HashIterator.hasNext()Z
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x03846800): JavaThread "shutdownHookThread" [_thread_in_Java, id=5776]
siginfo: ExceptionCode=0xc0000005, reading address 0xa3e4899f
Registers:
EAX=0x23e489a0, EBX=0x28ffa028, ECX=0x23400690, EDX=0x28ffa630
ESP=0x04fff780, EBP=0x04fff798, ESI=0x23e489a0, EDI=0x00000015
EIP=0x0156f00e, EFLAGS=0x00010212
Top of Stack: (sp=0x04fff780)
0x04fff780: 23400690 04fff784 28ff91b8 04fff7ac
0x04fff790: 28ff9718 00000000 04fff7d8 013033b9
0x04fff7a0: 04fff7ac 28ffa618 013033b9 23400690
0x04fff7b0: 00000009 23e19488 04fff7b0 2891aa87
0x04fff7c0: 04fff7f8 289a9568 00000000 2891ad98
0x04fff7d0: 04fff7ac 04fff7f8 04fff824 01302cb1
0x04fff7e0: 00000000 00000000 00000000 00000000
0x04fff7f0: 23400690 23e19488 23e17870 00000005
Instructions: (pc=0x0156f00e)
0x0156effe: 66 90 8b 71 0c 83 fe 00 0f 84 67 00 00 00 3b 06
0x0156f00e: 8b be ff ff ff 7f 83 ff 00 0f 85 a0 00 00 00 3b
Stack: [0x04fb0000,0x05000000), sp=0x04fff780, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$HashIterator.hasNext()Z
j com.evermind.server.http.HttpApplication.destroyServlets()V+23
j com.evermind.server.http.HttpApplication.destroy()V+182
j com.evermind.server.http.HttpSite.destroy(Z)V+60
j com.evermind.server.http.HttpServer.destroy(Ljava/lang/String;)V+73
j com.evermind.server.ApplicationServer.destroy(Ljava/lang/String;)V+325
j com.evermind.server.ApplicationServerShutdownHandler.run()V+177
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03846800 JavaThread "shutdownHookThread" [_thread_in_Java, id=5776]
0x03845400 JavaThread "SIGINT handler" daemon [_thread_blocked, id=2816]
0x03846000 JavaThread "Thread-20" daemon [_thread_blocked, id=3884]
0x03fca800 JavaThread "Thread-19" daemon [_thread_blocked, id=5240]
0x03847400 JavaThread "DestroyJavaVM" [_thread_blocked, id=5176]
0x03846c00 JavaThread "TaskManager" [_thread_blocked, id=4768]
0x03845000 JavaThread "Timer-6" [_thread_blocked, id=2444]
0x03844800 JavaThread "Timer-5" [_thread_blocked, id=1076]
0x03844400 JavaThread "SystemThreadGroup-6" [_thread_blocked, id=632]
0x03844000 JavaThread "SystemThreadGroup-5" [_thread_blocked, id=4524]
0x03843800 JavaThread "SystemThreadGroup-4" [_thread_blocked, id=5460]
0x03843400 JavaThread "Timer-4" [_thread_blocked, id=5600]
0x03842c00 JavaThread "Timer-3" [_thread_blocked, id=3644]
0x03842000 JavaThread "Timer-1" daemon [_thread_blocked, id=2156]
0x03841000 JavaThread "WorkExecutorWorkerThread-1" daemon [_thread_blocked, id=1728]
0x03842800 JavaThread "Thread-9" daemon [_thread_blocked, id=5216]
0x03841c00 JavaThread "Timer-0" [_thread_blocked, id=4916]
0x03840c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3896]
0x03840400 JavaThread "RMIServer [0.0.0.0:23943] count:1" [_thread_in_native, id=2216]
0x03840000 JavaThread "RMIServer [0.0.0.0:23791] count:1" [_thread_in_native, id=5444]
0x0383f800 JavaThread "JMSServer[BlueSky-pm:9127]" [_thread_in_native, id=5564]
0x03adf800 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=4328]
0x03adf400 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=268]
0x03c92000 JavaThread "Timer ServiceThread" [_thread_blocked, id=4212]
0x03c91c00 JavaThread "Scheduler ServiceThread" [_thread_blocked, id=2164]
0x03a6fc00 JavaThread "Event ServiceThread" [_thread_blocked, id=5796]
0x011d9400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3680]
0x011d2000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1892]
0x011d1000 JavaThread "Attach Listener" daemon [_thread_blocked, id=1100]
0x011d0c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5816]
0x011c8000 JavaThread "Finalizer" daemon [_thread_blocked, id=5744]
0x011bf400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3988]
Other Threads:
0x011be400 VMThread [id=4456]
0x011d9c00 WatcherThread [id=6056]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 1344K, used 1036K [0x23320000, 0x23490000, 0x23800000)
eden space 1216K, 74% used [0x23320000, 0x234032c8, 0x23450000)
from space 128K, 100% used [0x23450000, 0x23470000, 0x23470000)
to space 128K, 0% used [0x23470000, 0x23470000, 0x23490000)
tenured generation total 16624K, used 10912K [0x23800000, 0x2483c000, 0x27320000)
the space 16624K, 65% used [0x23800000, 0x242a80e8, 0x242a8200, 0x2483c000)
compacting perm gen total 30464K, used 30282K [0x27320000, 0x290e0000, 0x2b320000)
the space 30464K, 99% used [0x27320000, 0x290b2800, 0x290b2800, 0x290e0000)
ro space 8192K, 66% used [0x2b320000, 0x2b86f860, 0x2b86fa00, 0x2bb20000)
rw space 12288K, 52% used [0x2bb20000, 0x2c16f078, 0x2c16f200, 0x2c720000)
Dynamic libraries:
0x00400000 - 0x00423000 c:\java\jdk1.6.0_03\bin\java.exe
0x77530000 - 0x7764e000 C:\Windows\system32\ntdll.dll
0x76ea0000 - 0x76f78000 C:\Windows\system32\kernel32.dll
0x76010000 - 0x760cf000 C:\Windows\system32\ADVAPI32.dll
0x75e90000 - 0x75f53000 C:\Windows\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 c:\java\jdk1.6.0_03\jre\bin\msvcr71.dll
0x6d870000 - 0x6daba000 c:\java\jdk1.6.0_03\jre\bin\client\jvm.dll
0x75f60000 - 0x75ffe000 C:\Windows\system32\USER32.dll
0x75df0000 - 0x75e3b000 C:\Windows\system32\GDI32.dll
0x73c90000 - 0x73cc3000 C:\Windows\system32\WINMM.dll
0x77310000 - 0x773ba000 C:\Windows\system32\msvcrt.dll
0x77190000 - 0x772d4000 C:\Windows\system32\ole32.dll
0x774a0000 - 0x7752c000 C:\Windows\system32\OLEAUT32.dll
0x73c50000 - 0x73c88000 C:\Windows\system32\OLEACC.dll
0x77170000 - 0x7718e000 C:\Windows\system32\IMM32.DLL
0x77050000 - 0x77117000 C:\Windows\system32\MSCTF.dll
0x75c20000 - 0x75c4c000 C:\Windows\system32\apphelp.dll
0x76000000 - 0x76009000 C:\Windows\system32\LPK.DLL
0x77420000 - 0x7749d000 C:\Windows\system32\USP10.dll
0x6d3c0000 - 0x6d3c8000 c:\java\jdk1.6.0_03\jre\bin\hpi.dll
0x75de0000 - 0x75de7000 C:\Windows\system32\PSAPI.DLL
0x6d820000 - 0x6d82c000 c:\java\jdk1.6.0_03\jre\bin\verify.dll
0x6d460000 - 0x6d47f000 c:\java\jdk1.6.0_03\jre\bin\java.dll
0x6d860000 - 0x6d86f000 c:\java\jdk1.6.0_03\jre\bin\zip.dll
0x6d620000 - 0x6d633000 C:\java\jdk1.6.0_03\jre\bin\net.dll
0x76ba0000 - 0x76bcd000 C:\Windows\system32\WS2_32.dll
0x77650000 - 0x77656000 C:\Windows\system32\NSI.dll
0x75470000 - 0x754ab000 C:\Windows\system32\mswsock.dll
0x754e0000 - 0x754e6000 C:\Windows\System32\wship6.dll
0x75080000 - 0x7508f000 C:\Windows\system32\NLAapi.dll
0x75700000 - 0x75719000 C:\Windows\system32\IPHLPAPI.DLL
0x756c0000 - 0x756f5000 C:\Windows\system32\dhcpcsvc.DLL
0x758e0000 - 0x7590b000 C:\Windows\system32\DNSAPI.dll
0x75c80000 - 0x75c94000 C:\Windows\system32\Secur32.dll
0x756b0000 - 0x756b7000 C:\Windows\system32\WINNSI.DLL
0x75690000 - 0x756b0000 C:\Windows\system32\dhcpcsvc6.DLL
0x72010000 - 0x72018000 C:\Windows\System32\winrnr.dll
0x77120000 - 0x77169000 C:\Windows\system32\WLDAP32.dll
0x72000000 - 0x7200f000 C:\Windows\system32\napinsp.dll
0x71fc0000 - 0x71fd2000 C:\Windows\system32\pnrpnsp.dll
0x73040000 - 0x73046000 C:\Windows\system32\rasadhlp.dll
0x753a0000 - 0x753d8000 C:\Windows\system32\rsaenh.dll
0x75ca0000 - 0x75cbe000 C:\Windows\system32\USERENV.dll
0x6d640000 - 0x6d649000 C:\java\jdk1.6.0_03\jre\bin\nio.dll
0x75150000 - 0x75156000 C:\Windows\System32\wshtcpip.dll
0x6d800000 - 0x6d808000 C:\java\jdk1.6.0_03\jre\bin\sunmscapi.dll
0x75760000 - 0x75851000 C:\Windows\system32\CRYPT32.dll
0x758a0000 - 0x758b2000 C:\Windows\system32\MSASN1.dll
0x6d0b0000 - 0x6d273000 C:\java\jdk1.6.0_03\jre\bin\awt.dll
0x72580000 - 0x725c1000 C:\Windows\system32\WINSPOOL.DRV
0x733b0000 - 0x733ef000 C:\Windows\system32\uxtheme.dll
0x6d360000 - 0x6d3b3000 C:\java\jdk1.6.0_03\jre\bin\fontmanager.dll
VM Arguments:
java_command: c:\mv10131_qs\oc4j\j2ee\home\oc4j.jar -config c:\mv10131_qs\oc4j\j2ee\home\config\server.xml
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=c:\java\jdk1.6.0_03
PATH=E:\oracle\product\10.2.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\hp\bin\Python;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\ -
Hi,
I am trying to return the id of the image from map viewer.
Can anyone help.
Thanks,
SumitraThta error means MapViewer is not running or OBIEE has not been configured to use a MapViewer instance or the MapViewer URL specified in instanceconfig.xml is different/incorrect.
Will need some more details.
If your BI (analytics) URL is say
my.biserver.com:7001/analytics then is the mapviewer available at
my.biserver.com:7001/mapviewer
If not then was it not deployed with OBIEE or is there a setting in instanceconfig.xml for a remote mapviewer instance?
If mapviewer is working fine (i.e. my.biserver.com:7001/mapviewer shows the welcome page) and you created the themes, maps, and tile layers in the same database instance that MapViewer is configured for (i.e. has a datasource for) then can you see the themes, maps, tile layers in the Metadata page of the mapviewer admin console? -
Update of XML syndication map when XSD is changed
All,
So we recently upgraded to MDM 7.1 SP 06 and found a new feature which we were waiting for quiet some time. Thought i'll share with the community as well.
Update of XML syndication map when XSD is changed in Console
In earlier SP's of MDM, if we had to update an XML syndication map, we had to upload the new XSD in Console, go to syndicator and basically re-create the whole map. there was no way for syndicator to preserve the old mapping.
Well with this new feature, the old mapping is preserved, we only need to re-map the new fields.
The process is as below:
1. Upload the new XSD in Console.
2. Go to syndicator and open the syndication map which you want to update(File->Open).
3. Click File -> Update XML Schema. (this is the new option)
4. It will give a pop-up, select the new schema you have uploaded in console and hit OK.
5. You will get a prompt saying that syndication map is being changed, hit OK.
6. Now you will see the new XSD in syndicator, the older fields are still mapped, you only need to map the new fields.
It a nice feature which will definitely save lot of time. Thanks SAP
Regards
AamirIf this post answered your question or helped, please mark it as such.
This works.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.events.DataGridEvent;
import mx.collections.ArrayCollection;
[Bindable] private var ac:ArrayCollection = new ArrayCollection([
{bgColor: "0xFF0000", num: 100, name: "Test1"},
{bgColor: "0xFF0000", num: 200, name: "Test2"},
{bgColor: "0xFF0000", num: 300, name: "Test3"},
private function changeBK(evt:DataGridEvent):void{
var row:uint = evt.rowIndex;
var data:Object = ac.getItemAt(row);
data.bgColor = "0x00FF00";
]]>
</mx:Script>
<mx:DataGrid id="dg" dataProvider="{ac}" itemEditEnd="changeBK(event);"
editable="true">
<mx:columns>
<mx:DataGridColumn dataField="num">
<mx:itemRenderer>
<mx:Component>
<mx:TextArea backgroundColor="{data.bgColor}" text="{data.num}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn dataField="name"/>
</mx:columns>
</mx:DataGrid>
</mx:Application> -
Mapviewer-demo: a empty map view
Hi,
I imported the Mapviewer demo in a new schema,
and deployed the Mapviewer on stand alone OC4J.
I can start and configure the Mapviewer how described in the guide
without errors but the created JPG is a empty blue picture.
What can be wrong ?
Thanks
FriedholdYes I'm getting the title in the blue empty map view.
Here is request/response message from the Mapviewer:
xml_request=<?xml version="1.0" standalone="yes" ?>
<map_request
title="Check"
basemap="demo_map"
datasource="mvdemo"
width="400"
height="360"
format="GIF_URL" >
<center size="2.5">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>
-122.0, 38.0
</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
</map_request>
xml_response=<?xml version="1.0" encoding="UTF-8"?>
<map_response>
<map_image>
<map_content url="http://localhost:8888/mapviewer/images/omsmap2.gif?refresh=2902113945287192759" />
<box srsName="default">
<coordinates>
-123.38888888888889,36.75 -120.61111111111111,39.25 </coordinates>
</box>
<WMTException version="1.0.0" error_code="SUCCESS">
</WMTException>
</map_image>
</map_response>
What can I do ?
Regards Friedhold -
So how does on change the size of a displayed point that is the result of and sql query that is a geom. Example result provided below:
SQL> select geom from nodes where rownum <= 10 ;
GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-93.71519, 32.45661, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-87.23188, 30.42764, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-92.43636, 42.5638, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-76.9374, 42.82129, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-92.58145, 42.70366, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-93.99919, 32.53761, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-93.66337, 34.58685, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-95.15354, 43.14278, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-77.71983, 42.57151, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-77.69377, 42.56063, NULL), NULL, NULL)
10 rows selected.So when I execute this query in a map view I get points that take up the entire screen. I cannot seem to find a place to alter the size of this displayed points. lines map out just fine from a query, eg:
SQL> select geom from links where rownum <= 10 ;
GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-101.76187, 19.99183, -101.76198, 19.99239))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-99.32084, 20.04738, -99.32009, 20.04748))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-99.09314, 20.24762, -99.09313, 20.24777))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-103.04597, 23.81877, -103.04649, 23.81959))
GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-99.10172, 20.15821, -99.10106, 20.15832))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-108.33206, 26.70757, -108.33154, 26.70767))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-108.31886, 26.70537, -108.31875, 26.70562))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
-99.3392, 20.05963, -99.33956, 20.05967))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-98.77567, 20.12205, -98.77588, 20.12236))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-98.85369, 20.02178, -98.85325, 20.02202))
10 rows selected.These map perfectly and display just fine, although I would like to be able to adjust the link width.
Any help ?Hey there,
Oh yes indeed. I work at a University and am introducing students to Oracle Spatial. The ability to be able to give the students, typically graduate students, a basic package of predefined map queries would be very helpful. Unless the file contains other information it would be nice to know just what file it is and that could simply be handed off with an instruction telling them where to drop the file.
Also the way the select list is handled when editing / running those queries is a bit quirky.
I don;t know if you saw my other post re: "Point data Display Size" ? I cannot seem to find a way to alter the size of a point when displayed and it really seems to bit kinda weird and mostly seems linked to the number of points being displayed. The work we do is purely road networks so we have lots of 'Links and Nodes" that we display ( like the complete Highway Network the SF Bay Area down to the street level at times ) and so displaying the Nodes as point data and the links as line strings between points is critical so the ability to size the elements for display is as well.
Thanks for the reply! -
How to combine "Object-to-XML (OXM)" and "Direct to XML Type" mapping?
hi
If I have an XMLType column in my table (wich I can map using TopLink) and I have defined the structure of the contents of this XMLType column using XML Schema (wich I can map using Toplink), how can I combine both types of TopLink mappings "as transparently as possible"?
for "Object-to-XML (OXM)" mapping
see http://www.oracle.com/technology/products/ias/toplink/technical/tips/ox/index.htm
for "Direct to XML Type" mapping
see http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/relmapun004.htm#CHDFIFEF
thanks
Jan VerveckenThanks for your reply James Sutherland.
Although I haven't used a "TopLink Converter" before, this seems like a good idea.
The thing is that the "TopLink Workbench Editor" for my "Direct to XML Type" mapping doesn't have a "Converter" tab, some other mapping type editors do have such a "Converter" tab.
I'm not sure if I completely understand how such a "TopLink Converter" is supposed to work. How many attributes do I need in the "XMLRow" Java object for the "MY_XML" column in the "XML_TABLE" table I try to map to?
I suppose I should try to get a situation where the "XMLRow" Java object has an "myXML" attribute of Java class type "MyXML" (where "MyXML" has been mapped to an XML Schema), not?
So do I also still need an attribute "myXMLDocument" of type org.w3c.dom.Document as I do now for the "Direct to XML Type" mapping?
Oh, by the way ... for anyone who hits this forum thread looking for the reason why the TopLink Workbench reports the problem "Attribute must be assignable to java.lang.String, org.w3c.dom.Document, or org.w3c.Node" while your attribute is of such a type, read this forum post
Re: Toplink WB 10.1.3 - Aggregate field mapping bug and XMLType question
For me the "Direct to XML Type" mapping works fine, just ignoring the waring. This is supposed to be bug number 5071250.
thanks
Jan Vervecken -
TopLink : attribute-mapping direct-xml-type-mapping
hi
Using TopLink Workbench 10g Release 3 (10.1.3.0.0) Build 060118 it is possible to configure a "Direct to XML Type" mapping.
see http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/relmapun004.htm#CHDFIFEF
In the TopLink map this results in a
<opm:attribute-mapping xsi:type="toplink:direct-xml-type-mapping">Is there a way to configure this kind of attribute mapping using JDeveloper?
thanks
Jan VerveckenHi Paul,
The problem you're going to hit trying to do this with a TransformationMapping in 904 (as in my other post) is that during the UnitOfWork commit, when TopLink is checking for changes a .equals will end up being called on an XMLType instance which will throw a NullPointerException (in oracle.sql.Datum I think).
One way to work around this (depending on the requirements for your app) is to set the isMutable flag on the TransformationMapping to false. This flag indicates that the value in the object's attribute isn't going to be changed, so we don't bother trying to check to see if it's changed. This will allow you to do reads, inserts and deletes with no problems.
The downside is that if you need to be able to change the XML content in your objects model and do an update of the row, TopLink will never detect a change and never issue an update of the XMLType field.
Incidentilly, if you happen to hit the same issue you had with the DirectToXMLTypeMapping where you were getting back an instance of java.sql.Opaque instead of the expected oracle.xdb.XMLType from JDBC, you should be able to handle that case in your AttributeTransformer by doing
XMLType myXML = XMLType.createXML(myOpaque)
Document = myXML.getDocument();
Hope this helps
Matt MacIvor
Maybe you are looking for
-
I am trying to report a different problem through apple support but keep getting sent around in circles as whenever I make a submission for a response by email, I get the message in the title. I have tried submitting under different topics and it mak
-
"Software Update" crashes upon download
Last week I was given a new Mac mini as a gift; I upgraded the memory to 2G; did Target Disk transfer from my old G4, then started using it (didn't use it before the memory or the transfer). Software Update crashes at the point when the download has
-
Anyone use the Scosche IPAVHDO sneekPEEK II cable set?
I'm debating between using the AV adapter cable with a male-to-male VGA cable for my video-out on my iPad for presentations and some other stuff vs. the Scosche IPAVHDO sneekPEEK II cables set (it has component AND A/V cables going out) for presentat
-
Buy MacBook Pro with a hard drive or a SDD?
I am considering buying a MacBook Pro (Lion version) but stuck at which hard drive to include:- A hard drive with faster speed for greater performance or a SDD? These options below where one can choose from if buying online. 750GB Serial ATA Drive @
-
I deleted my old email address and one of my notes disappeared. How do I get it back?
I deleted an old email address from my iphone5 and one of my notes from notepad disappeared. How do I get it back?