Oracle map's FOI on https?

I'm having problem displaying FOI on the simple html page deployed on standalone OC4J (10.1.3.1). In "http mode" page is working just fine but when I try to do "https version" of it following the instructions on http://download.oracle.com/docs/cd/B25221_04/web.1013/b14429/configssl.htm
(or making a keystore, making and configuring secure-web-site.xml file (I marked my application and the mapviewer as "shared="true" ") and configuring server.xml file)) I'm able to view my htlm page but in Firefox(2.0.0.6) FOI is not shown (OC4J says "WARNING IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run") and in IE(6.0) FOI is shown only after accepting "This page contains both secure and nonsecure items" message.
I did cahange
var baseURL = "http://" + document.location.host + "/mapviewer"; to
var baseURL = "https://" + document.location.host + "/mapviewer"; in my JavaScript.
Any ideas?

even though you sent the request to MapViewer via https url, MapViewer does not know it got the request via SSL. So it generates the URLs for the FOI images with 'http' prefix not 'https'. You need to configure MapViewer (in the mapViewerConfig.xml file) so that it always uses https://... as the base url for all the generated map images and FOI images. This is done in the <save_images_at> element in the config file.
thanks
LJ

Similar Messages

  • How to display SDO_GEOMETRY on oracle map

    Hi All,
    I am new to Oracle Mapviewer . For my application that uses oracle maps i refer to http://elocation.oracle.com/mapviewer to get the base map. My requirement here is to capture the area of interest from the end user, which i am doing using the redlining tool. The SDO_geometry information from the redlining tool is stored in the db.
    In one use case i want to display the existing area's of interest on the map, how can i achieve this ? can any body help me on this ?
    Regard's,
    Naveen

    Presumably you're using the javascript API (Oracle Maps). If not then the following does not address your question.
    Since the stored redline info is in the db already you just need a predefined theme defined on it.
    Then add that theme (MVThemeBasedFOI) to the map.
    The Oracle Maps tutorial has examples of this. The "Theme Based FOI" layer example which displays the customers theme.
    In your case it'll be a redlines theme which display areas/polygons instead of points.

  • Oracle Maps FOI server performance

    Hi,
    We have a production application based on Oracle Mapviewer 10.1.3.1 and Oracle Maps accessible on Internet for our customers.
    Sometimes our app shows several 100s of markers and it is like a lazy compared to some internet map applications I reviewed on Internet.
    For example: if you click to this Google based solution: http://www.dsl.sk/map/index.php you will get several 100s of markers in just a moment.
    Also go to http://www.mapy.cz and zoom in to Prague (PRAHA) to see a lot of markers (bus stops, theaters...) - its amazingly fast.
    Our Oracle Maps application shows tiles quite fast but markers very slow.
    Is there some other technique ? or Mapviewer performance is so poor?
    thanks,
    Branislav

    Per our recent exchanges on this issue, there is clearly an architectural difference in how things are done typically in google vs oracle maps when dealing with FOIs (well mostly POIs for google maps). In this case with google maps, all the points (their location and associated attributes) are readily available and probably stored as flat files on the web server. The application gets these point data via a simple http GET and then creates/adds all the markers on the map via a client side JavaScript loop. Now if your application has similarly readily available data it can simply use oracle maps to display them as Individual FOIs which are client side generated markers (similar to the google maps approach). This should give you comparable performance.
    However typically with oracle maps, our customers run complex SQL queries in the database which then generate result data sets that contain location information plus all the associated attributes. So here the data sets are highly dynamic and not readily available. Often the most time consuming part is the loading/fetching of the result data set from the database to the mid-tier via JDBC, as is the case with your application.
    Now there are definitely workarounds like the one I suggested which is to pre-cache all the location-only data in the MapViewer's memory, run the query to get only the business side of data (which has a much smaller footprint compared to spatial result sets). Then use the concept of Non-Spatial Data Provider to join the two data sets in the mid-tier (which is very fast) and display all the FOI images. Sure there are also improvements that can be made in other areas such as better client side handling of large number of FOI/POIs and other optimizations, which we are doing in 11g and I have been testing maps where we are able to display 3000+ POIs on the map within a few seconds.
    thanks
    LJ

  • Oracle Maps - How to get selected FOI details?

    When a FOI is added to the map and a user selects the FOI, I would like to retreive the selected details for that FOI.
    Is there anyway to access the FOI details when it is selected? I cant seem to find anything in the object model to help.
    Cheers
    Jansen

    If you are talking about theme based FOI layer, then you should read section 8.4.3.9 of the user's guide. You can add a click event listener and an FOI entry data object that contains detailed FOI attributes will be passed to this event listener.
    If you are talking about user defined FOI, there is no way to retrieve detailed FOI information from the MapView object through the current Oracle Maps API. I guess your goal is to performance some operation using some FOI specific attributes when the user clicks it. You can achieve this goal by using the foi click listener. We have a method to support it, but it's not documented and its name might be changed in future releases.
    The method is FOI.prototype.setFOIClickListener(listenerFunction). The parameter listenerFunction is the listener function that will be called when the user clicks the FOI. Since you can define a FOI specific listener function for each FOI, you can do whatever you want inside it, including performing some FOI specific operations.

  • Dynamic FOI in Oracle Maps

    Hi!!
    I´m trying to use in the Oracle Maps a theme based FOI setting parameters dinamically,
    to show some features, according to the user preference. But, what I obtain is zero or all
    features.
    I changed the code in tutorial to our specific names, except that the in tutorial the names
    of cities are VARCHAR and I use an attribute named ID_TIPO which is NUMBER.
    The resulting code is below:
    var list=document.getElementById("idlist");
    var parameters="";
    for (var i=1;i<list.options.length;i++ )
    parameters=parameters+list.options.value+",";
    if (parameters.length>0)
    parameters=parameters.substring(0,parameters.length-1);
    var marrayPara = new ArrayParameter(parameters,'sarray','tipos_list');
    var themebasedfoi=mapview.getThemeBasedFOI("themebasedfoi1");
    if (themebasedfoi==null)
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mapoteca.TESTE');
    themebasedfoi.setQueryParameters(marrayPara);
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    else
    themebasedfoi.setQueryParameters(marrayPara);
    themebasedfoi.setBringToTopOnMouseOver(true);
    themebasedfoi.refresh() ;
    Tipos_list is defined as
    create or replace type tipos_list as table of number(38);
    The theme is defined as
    <styling_rules>
    <rule column="ID_TIPO">
    <features style="V.SHAPES_METADADOS"> (id_tipo in (select column_value from table(:1)))) </features>
    </rule>
    </styling_rules>
    In
    var marrayPara = new ArrayParameter(parameters,'sarray','tipos_list');
    what is the meaning of the 2nd parameter?
    Xks.
    Oscar

    You should use 'narray' as the second parameter in the ArrayParameter constructor. 'sarray' means the array is a VARRAY of VARCHAR2. 'narray' means the array is a VARRAY of NUMBER. I know that ArrayParameter is missing from the API doc. It's our fault. Here is the description that we forgot to include in the API doc.
    ArrayParameter(<String> array,<String> elementType, <String> sqlType)
    Parameters:
    array - a string that specifies the value of the array parameter. If the binding parameter is a number array, it should be specified in the form of num1,num2,...,numN. If the binding variable is a string array, it should be specified in the form of "str1", "str2", ...,"strN". The double quote " inside a string element must be escaped as \". A number array example: 1,2,3,4,5. A string array example: "abc","dadf","asdf\"asdf".
    elementType - a string that specifies the type of the array elements. It can be either "narray" (number array) or "sarray" (string array).
    sqlType - a string that specifies the name of SQL VARRAY type corresponding to the array parameter.
    Returns:
    The newly created ArrayParameter FOI object.

  • FOI theme (Oracle Maps) rendering very slow

    I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
    I think that fetching the same marker for each feature is not nessary.
    Is there a way (undocumented feature or patch) to avoid this from happening?
    Thanks in advance,
    Jeroen

    Hi,
    Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
    thanks,
    Branislav

  • Oracle Maps - Power of the FOI server

    Hi,
    I have made an example from one of Oracle Maps Demos - I multiplied one of the rows of CUSTOMERS table so I got around 1500 rows = points in the table and I ran Demo.
    I had to wait a bit longer then with generic table (around 200 rows). So my question is:
    If I have 1000 points with the same [x,y] is the FOI server rendering them 1000 times as if they had different coordinates?
    thanks,
    Branislav

    Thank you for quick answering. I thing, Madrid's solution would be the best. When I mentioned Ubuntu, I thought of trying out my "out of the box"-System on that distribution. Generally it should run on every linux. So, usage of an rpm-Package would be limiting.
    Finally, I need that local Oracle database for storage for an demonstrative version of an collaboration system. And it would be handy to have just one directory, that can be removed after the "demonstration" ends. With other words: The installation process should be as uncomplicated as possible.
    Thanks & Greetings
    lemon

  • Can't display Georaster in Oracle Maps

    Please help!
    I'm trying to display a georaster in Oracle Maps, without success. The georasters in question display normally in PCI's Focus, eSpatial's iSMART, and MapBuilder preview, but nothing is display in Oracle Maps.
    I have copied jai_codec.jar, jai_core.jar, jai_imageio-1.1.2.jar into
    D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\lib. I don't get any errors in mapviewer.log set to finest (appended to bottom of post).
    I'm using AS 10.1.3.1.0, MapViewer 10.1.3.1 from patch 6453515, and the 10.1.0.3.1 enterprise database.
    In Oracle Maps I have this code:
         foi = new MVThemeBasedFOI('MOSAIC2','MOSAIC2');
         this.mapview.addThemeBasedFOI(foi);
    The georaster has spatial extents:
    SQL> SELECT g.GEORASTER.spatialextent FROM MOSAICS g WHERE g.MOSAICID=2;
    GEORASTER.SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
    SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-83.5357, 31.4825, -83.5357, 31.472635, -83.5357, 31.462765, -83.52891, 31.462765, -83.522115, 31.462765, -83.522115, 31.472635, -83.522115, 31.4825, -83.52891, 31.4825, -83.5357, 31.4825))
    The spatial extent is in USER_SDO_GEOM_METADATA and is indexed:
    SQL> select * from USER_SDO_GEOM_METADATA where TABLE_NAME='MOSAICS';
    TABLE_NAME
    COLUMN_NAME
    DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SRID
    MOSAICS
    GEORASTER.SPATIALEXTENT
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .0005), SDO_DIM_ELEMENT('Y', -90, 90, .0005))
    8307
    The georaster has metadata:
    select TO_CLOB(m.GEORASTER.METADATA) from MOSAICS m where m.MOSAICID=2;
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>21001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>2</defaultGreen>
    <defaultBlue>3</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>3</totalDimensions>
    <dimensionSize type="ROW">
    <size>3947</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>2717</size>
    </dimensionSize>
    <dimensionSize type="BAND">
    <size>3</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    <band>0</band>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>8</totalRowBlocks>
    <totalColumnBlocks>6</totalColumnBlocks>
    <totalBandBlocks>3</totalBandBlocks>
    <rowBlockSize>512</rowBlockSize>
    <columnBlockSize>512</columnBlockSize>
    <bandBlockSize>1</bandBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>5</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>8307</SRID>
    <spatialResolution dimensionType="X">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScale="1" columnScale="1" xScale="1" yScale="1"
    zScale="1">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>6296500.000000001 0 -200000</polynomialCoefficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>16707140 200000 0</polynomialCoefficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    <subLayer>
    <layerNumber>1</layerNumber>
    <layerDimensionOrdinate>0</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>2</layerNumber>
    <layerDimensionOrdinate>1</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>3</layerNumber>
    <layerDimensionOrdinate>2</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    Nothing displays at any zoom level in Oracle Maps.
    The georaster has pyramids generated by:
    DECLARE
    gr sdo_georaster;
    BEGIN
    SELECT georaster INTO gr
    FROM MOSAICS WHERE MOSAICID = 2 FOR UPDATE;
    sdo_geor.deletePyramid(gr);
    sdo_geor.generatePyramid(gr, 'rLevel=5, resampling=NN');
    UPDATE MOSAICS SET georaster = gr WHERE MOSAICID = 2;
    COMMIT;
    END;
    The georaster validates:
    SQL> select sdo_geor.validateGeoraster(a.georaster),sdo_geor.schemaValidate(a.ge
    oraster) from MOSAICS a where MOSAICID=2;
    SDO_GEOR.VALIDATEGEORASTER(A.GEORASTER)
    SDO_GEOR.SCHEMAVALIDATE(A.GEORASTER)
    TRUE
    TRUE
    Thanks very much for any suggestions!
    -Bruce
    mapviewer.log from a session, set to "FINEST"
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    FINEST:
    Allowed IPs:
    Excluded IPs:
    Jan 25, 2008 5:24:16 PM oracle.sdovis.GlobalVisContext <clinit>
    WARNING: will use 96 as default dpi.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
    FINEST: Non-Spatial Data Provider registered: defaultNSDP
    Jan 25, 2008 5:24:16 PM oracle.sdovis.SDataProviderMgr registerProvider
    INFO: Spatial Provider shapefileSDP has been registered.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
    FINEST: Spatial Data Provider registered: shapefileSDP
    Jan 25, 2008 5:24:17 PM oracle.sdovis.SRS <clinit>
    INFO: Using 96 as default dpi.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 748.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO: Spatial Data Cache opened. Region=SDOVIS_DATA.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO:      max_cache_size=32 MB.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_mvdemo_jdbc:oracle:thin:@jmsdb5:1521:jmsdb created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_grim_jdbc:oracle:thin:@odm2:1521:odm2 created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:19 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    Jan 25, 2008 5:24:20 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DOQ.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DRG.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DOQ.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DRG.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.MCSServlet$ColdStart run
    INFO: *** Oracle MapCacheServer started. ***
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet dumpURLParams
    FINEST: Servlet URL parameters (/foi):
    [width] [2048]
    [height] [1536]
    [theme] [grim.MOSAIC2]
    [dstsrid]
    [8307]
    [cachefoi] [yes]
    [bbox] [-84.1257287289893:30.988239674744463:-82.76821692338207:32.006373528949894]
    [request] [getfoi]
    [area] [no]
    [clickable] [yes]
    [version] [1.0]
    End of servlet URL parameters (/foi).
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: user making foi request: null
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper(grim) begins...
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper() succeeded.
    Jan 25, 2008 5:26:59 PM oracle.sdovis.DBMapMaker addPredefinedTheme
    FINEST: adding predefined theme [name=MOSAIC2]
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getCommonAttributes
    FINEST: key_column using default: ROWID
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getGeoRasterTheme
    FINER: Operation name: normalize
    Jan 25, 2008 5:26:59 PM oracle.sdovis.LoadThemeData run
    FINER: LoadThemeData running thread: Thread-37
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Theme definition SRID: 8307
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Original query window: -84.1257287289893,30.988239674744463,-82.76821692338207,32.006373528949894
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [Query] select grt.GEORASTER from MOSAICS grt where grt.GEORASTER.rasterid = ?
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Fetch size: 10
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Data SRID: 8307
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    FINER: [Master scale] 0.06363336588783941 [Scale factor for theme MOSAIC2] 1.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    INFO: Screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: ULT offset: 0,0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Upper Left Model Coordinate: -83.5357 , 31.4825
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getPyramidLevel
    FINEST: Pyramid level: 5 GeoRaster: 102.0 for screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 1.6000000005078618E-4 Res Y: 1.6000000005078618E-4 Pyramidlevel: 5
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: GeoRaster Dimension: width= 2717.0 height= 3947.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [DimX] 83[DimY] 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -84.1257287289893 [Y] 32.006373528949894
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:-3275 Column: -3688
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -82.76821692338207 [Y] 30.988239674744463
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:3089 Column: 4796
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Calling JGeoRaster.getRasterImage - area: 0 , 0 , , 83 , 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: End of JGeoRaster.getRasterImage call.
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Operation name: normalize
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Normalize operation.
    Jan 25, 2008 5:27:02 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: # image loaded: 1
    Jan 25, 2008 5:27:02 PM oracle.lbs.mapserver.core.MapperPool freeMapper
    FINER: freeMapper() begins...
    Jan 25, 2008 5:27:02 PM oracle.lbs.foi.FOIServlet sendGZippedResponse
    FINEST: Sending FOI response in gzip format.

    Hi Bruce,
    for GeoRaster themes you can define a specific pyramid level to render, or you can leave the pyramid level null on the theme definition, and in this case MapViewer calculates the best level to render. The second option is recommended as it avoids loading unnecessary data given the current display parameters. If you are seeing your image get blocked, most likely at this zoom level and up you have reached the highest pyramid level of the GeoRaster. Even in MapBuilder if you keep zoom in, you get a blocked image after reaching the highest resolution level.
    Joao

  • Oracle Maps RC 1 - print problem

    Hi,
    I have 2 problems with printing a map with Oracle Maps RC 1:
    1. I have several basemaps (each transparent) and several FOI themes. my application provides switching on/off all of the basemaps and FOI themes. the result of printing my map is pretty odd: background is black and only last added basemap is on the map (even if it was switched off) + FOI themes (but only borders of their polygons - without inside transparent colour) - so the printed result is completely diffrent from map on screen.
    2. after starting printing my hidden "printmap" DIV appears with map to print and when I click on "map" DIV it closes back. I am using ADF Faces verbatime div for both DIVs
    thanks,
    Branislav

    Hi Liujian,
    the problem persists in MV 10.1.3.1 production and also in simple HTML page (I guess the problem is somewhere in transparency of PNGs - just guess)
    please see the flash demo of the problem: http://www.freewebalbum.com/demo/MVprint/MVprint.html
    thanks,
    Branislav

  • Oracle Maps RC1/Map Cache

    Hello All,
    I am using using Oracle Maps RC1 with my own data.
    This error message appears in the logs after every few mins. Can anybody help me fix this?
    06/10/16 11:32:57 java.lang.NullPointerException
    06/10/16 11:32:57 at oracle.lbs.mapcache.messages.ReturnLocaleOper.doGet(ReturnLocaleOper.java:58)
    06/10/16 11:32:57 at oracle.lbs.mapcache.messages.ReturnLocaleOper.doPost(ReturnLocaleOper.java:20)
    06/10/16 11:32:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    06/10/16 11:32:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    06/10/16 11:32:57 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    06/10/16 11:32:57 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.ja
    va:376)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java
    :230)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandle
    r.java:831)
    06/10/16 11:32:57 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecu
    tor.java:298)
    06/10/16 11:32:57 at java.lang.Thread.run(Thread.java:595)

    I also see this error sometimes.
    Mon Oct 16 12:56:33 GMT+10:00 2006 ERROR [oracle.lbs.foi.FOIServlet] java.lang.IllegalStateException: IOException: An ex
    isting connection was forcibly closed by the remote host
    at com.evermind.server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2284)
    at oracle.lbs.foi.FOIServlet.getRequest(FOIServlet.java:355)
    at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:161)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • Oracle maps cross domains

    Hello everyone,
    I am facing the following issue. I have mapviewer deployed on a serverA and a web app deployed on serverB.
    Then I call the mapviewer FOI server from the app of serverB and I get the following error message:
    *[MVThemeBasedFOIControl.foiLoaded] mapviewer-05523 cannot process response from mapviewer server. (<?xml version="1.0" encoding="UTF-8" ?> <oms_error> Requests are not allowed to be sent to this remote target URL via proxy servlet. (http://172.31.128.50/mapviewer/foi)</oms_error>)*
    I am using mapviewer Ajax API version Ver11_1_1_5_B110527.
    Has anyone experinced such errror?????????

    Ok lads,
    Seems I found the solution. Following the instructions from this post [http://oraclemaps.blogspot.com/2008/09/cross-domain-oracle-maps-scripting.html] I have 90% the solution.
    What also needs to be done is to pass the url of serverB to the mapviewer configuration file of serverA in the section <proxy_enabled_hosts>.
    At list this works for me.

  • Oracle Maps RC1 - Global Map Note/Logo

    Hello
    Is it possible to switch off the global (mapviewer) note and logo settings just for oracle maps?

    I also see this error sometimes.
    Mon Oct 16 12:56:33 GMT+10:00 2006 ERROR [oracle.lbs.foi.FOIServlet] java.lang.IllegalStateException: IOException: An ex
    isting connection was forcibly closed by the remote host
    at com.evermind.server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2284)
    at oracle.lbs.foi.FOIServlet.getRequest(FOIServlet.java:355)
    at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:161)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • How to access via javascript with Oracle Maps to a external Geometry Cache

    If i've defined CTR_10000 as a Web map cache in mapviewer 10.1.3, what is Oracle Maps javascript code to access that
    Layer?
    I've tried:
    vat ctr10kLayer = new MVThemeBasedFOI('ctr10kLayer','CTR_10000');
    ctr10kLayer.enableAutoWholeImage(true);
    ctr10kLayer.setVisible(false);
    mapview.addThemeBasedFOI(ctr10kLayer);
    but dowsn't works,
    Any Suggestion?

    Here's an example (on 10133P5) using demis.nl's wms reference demo site.
    You will have to change the adapter class if you're using 10.1.3
    and use a proxy if necessary and set the tile_storage path
    for your environment
    map tile layer definition
    SQL> select name, is_internal, definition, base_map from user_sdo_cached_maps where name='DEMIS_
    NAME IS_I
    DEFINITION
    BASE_MAP
    DEMIS_WMS NO
    <map_tile_layer name="DEMIS_WMS" image_format="PNG" http_header_expires="168.0"
    concurrent_fetching_threads="3">
    <external_map_source url="http://www2.demis.nl/mapserver/wms.asp" request_met
    hod="GET" timeout="15000" adapter_class="mcsadapter.WMSAdapter" transparent="tru
    e" clipping_buffer="0">
    <properties>
    <property name="service" value="WMS"/>
    <property name="srs" value="EPSG:4326"/>
    <property name="format" value="image/png"/>
    <property name="layers" value="Countries,Borders,Coastlines"/>
    <property name="transparent" value="true"/>
    </properties>
    </external_map_source>
    <tile_storage root_path="/tilecache/"/>
    <coordinate_system srid="8307" minX="-180.0" minY="-90.0" maxX="180.0" maxY="
    90.0"/>
    <tile_image width="256" height="256"/>
    <zoom_levels levels="10" min_scale="5000.0" max_scale="5.0E7" min_tile_width=
    "0.003057205631621593" min_tile_height="30.572056316215935">
    <zoom_level level="0" name="" description="" scale="5.0E7" tile_width="30.
    572056316215935" tile_height="30.572056316215935"/>
    <zoom_level level="1" name="" description="" scale="1.7969068E7" tile_widt
    h="10.98702717691827" tile_height="10.98702717691827"/>
    <zoom_level level="2" name="" description="" scale="6457748.0" tile_width=
    "3.948532710638615" tile_height="3.948532710638615"/>
    <zoom_level level="3" name="" description="" scale="2320794.0" tile_width=
    "1.4190288973267207" tile_height="1.4190288973267207"/>
    <zoom_level level="4" name="" description="" scale="834050.0" tile_width="
    0.5099724714107979" tile_height="0.5099724714107979"/>
    <zoom_level level="5" name="" description="" scale="299742.0" tile_width="
    0.1832745860867039" tile_height="0.1832745860867039"/>
    <zoom_level level="6" name="" description="" scale="107721.0" tile_width="
    0.06586504956878192" tile_height="0.06586504956878192"/>
    <zoom_level level="7" name="" description="" scale="38713.0" tile_width="0
    .023670720323393343" tile_height="0.023670720323393343"/>
    <zoom_level level="8" name="" description="" scale="13912.0" tile_width="0
    .00850636894942392" tile_height="0.00850636894942392"/>
    <zoom_level level="9" name="" description="" scale="5000.0" tile_width="0.
    003057205631621593" tile_height="0.003057205631621593"/>
    </zoom_levels>
    </map_tile_layer>
    SQL>
    Html code to use it. Modify it for your installation and MV version
    <html>
    <head>
    <script language=javascript src="/mapviewer/fsmc/jslib/oraclemaps.js"></script>
    <script language=javascript>
    var mapview;
    function showMap()
    var baseURL = "http://localhost:8888/mapviewer";
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(new MVMapTileLayer("mvdemo.demis_wms"));
    var mapCenterLon = -100.45;
    var mapCenterLat = 39.6706;
    var mapZoom = 0;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("EAST");
    var markerFOI = new MVFOI('markerfoi', mpoint, 'mvdemo.m.star',null,15,15);
    mapview.addFOI(markerFOI);
    mapview.display();
    </script>
    </head>
    <body onload="javascript:showMap();">
    <h2>WMS map tile example</h2>
    <div id="map" style="width: 100%; height: 70%"></div>
    </body>
    </html>

  • Labels in Oracle Maps (AJAX)

    I could not find a function to display a label at a particular point in Oracle Maps. I am trying to draw a runway (on a airport) and need labels for the runway numbers. Ideally it would be great if I can get orientated points in oracle maps.
    thanks for your help
    code I use to draw a runway
    var foiId = "Runway1";
    var foiCreateString = "MVSdoGeometry.createPolygon([-157.91303905390785,21.314907202015892,-157.91276094654899,21.31458724233246,-157.90591094906165,21.31978445897405,- 157.90618905139527,21.320104429818738,-157.91303905390785,21.314907202015892],8307)" ;
    var foiWidth = "20";
    var foiHeight = "30";
    var theme = "mvdemo.green";
    var shape=eval(foiCreateString);
    var foi = new MVFOI(foiId, shape, theme, "", foiWidth, foiHeight);
    if(!(mapview.addFOI(foi)))
    return;

    Use the Spatial functions for this (i.e. sdo_geom.sdo_buffer).
    Can you describe further what it is you wish to do? E.g. Display a buffer around a selected geometry (such as a highway or postal code area) or find things (e.g. restaurants) within the specified distance from the selected geometry and then display those.
    In either instance you'd use a theme with query parameters or construct a query (and hence a jdbc theme). See the
    JDBC theme based FOI example in the oracle maps tutorial (host:port/mapviewer/fsmc/tutorial/demos.html)

  • MV Oracle Maps 10.1.3.1 - Pie Chart BUG

    Hi,
    When using the pie chart in a basemap Oracle Maps Cache server produces multiple same charts within one polygon.
    thanks,
    Branislav

    Hi,
    here please see the flash video of that problem:
    http://www.freewebalbum.com/demo/piechart_bug/piechart_bug.html
    thanks,
    Branislav

Maybe you are looking for

  • How to use Berkeley DB in an application without installing

    I'm using Berkeley DB in a python project, and I am wondering if I can make the libraries available to python without specifically installing berkeley DB. How can you embed Berkeley DB in an application generally? Has anyone done this with python and

  • Windows 8.1 Capture through MDT Get Error -217217406 in MDT 2013

    zti error unhandled error returned by lti apply not found 217217406 0x80041002

  • Audiobook Importing: Quality vs Size

    Hello. I have many audiobook CDs that I'd like to backup and have easy access to (i.e. digital library). For this purpose, I'm considering buying a 160 GB iPod. In the meantime, I'd like to import these CDs to my computer. My question is as follows:

  • Queries about Spice Fire One FX

    I'm looking ahead to buy Spice Fire one MX, one of two FIrefox OS Phones available in India. I have few questions before I continue: 1. Which version of FIrefox OS comes installed in it? 2. Will I be able to update it to V.2 when its released? (I saw

  • Weight Formatted Search on Invoice

    Hi all, I need to have the weight of the items on the Invoice screen. The problem is that I have a formatted search on Quantity field and with this, the Weight of the Items do not appear. When I delete the Quantity formatted search, then the Weight a