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)

Similar Messages

  • About label Oracle Map Builder

    Hello! I have a question about Oracle Map Builder.
    There are three layers in basemap: the first - a polyline, the second - a point, and the third - a polygon with a solid color (top). Labels are included to the first two signatures. While viewing the map shows a third (polygon) layer, and the signature of the first two.
    Question: Is there a possibility to remove the appearance of signatures of the lower layers (disabling signatures by minimum scale for display is not suitable, as they are used outside of polygon layer), and how to do it?
    Thank you!

    I'm not sure I understand the question. Here's is my assumption of what the question is.
    You have three layers in a basemap : a polyline, a point, and a polygon in that order. That is polyline rendered first, points on top of it, and then the color-filled polygon layer on top of those two.
    The part I don't understand is what you mean by signatures of the polyline and point layers.
    Anyway, if the solid color-filled polygon layer is rendered last (i.e. on top) then the other two layers should not be visible at all unless their extent (the area they cover) differs from the extent for the polygon layer or the polygon layer does not completely cover the map extent or it's not a solid color fill but one with some transparency setting.
    Scale ranges can be applied to each layer when adding them to a basemap in MapBuilder. Choose the scale mode (e.g. ratio) and set the max and min scale values for each layer. e.g.
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="STATES_DENSITY" min_scale="Infinity" max_scale="2.5E7" scale_mode="RATIO"/>
    <theme name="COUNTY_POPDENSITY" min_scale="2.5E7" max_scale="0.0" scale_mode="RATIO"/>
    <theme name="HIGHWAYS_LINE"/>
    <theme name="CITIES" min_scale="1000000.0" max_scale="1000.0" scale_mode="RATIO"/>
    </map_definition>
    The above says render the states_density layer while zoomed out to the full extent and up until the user zooms in to a 1:250,000,000 scale. When zoomed in further do not render/display the states population density layer. Display the county population density instead. Always display the highways. And start to display cities when the map in zoomed to 1:1,000,000 and up until 1:1,000 scale.
    If you want to set the labeling scale ranges on a per layer (theme) basis then set it using the Other Properties panel in Map Builder. For the Cities layer above the styling rule with label scale ranges set is:
    <styling_rules>
    <scale_ranges>
    <mode> RATIO </mode>
    <min_labeling_scale> 1.0E8 </min_labeling_scale>
    <max_labeling_scale> 10000.0 </max_labeling_scale>
    </scale_ranges>
    <rule>
    <features style="M.ALL_CITY_L1_8X8"> (POP90 &gt; 1000000) </features>
    <label column="CITY" style="T.S03_CITIES_L1"> 1 </label>
    </rule>
    </styling_rules>
    i.e. show city names from 1:100,000,000 till 1:10,000
    1/100,000,000 is a smaller number than 1/10,000
    Hope this helps.

  • Raster Theme with "Oracle Map -mapviewer ajax"

    Hi, Everyone,
    I tried to add a raster theme by using "Oracle Map".
    If I add my raster theme as based map, the mapviewer will correctly render image.
    If I add my raster theme as a FOI theme layer, the mapviewer will not render the raster image for me.
    Does anyone know if "Oracle Map" supports raster theme, or just vector theme? I just want to make sure if I am right on tract.
    TIA

    This didn't solve the problem.
    tile size is 2048 X 2048 where as map size is 800X800 but when a request is made, it fetches around 9 tiles.
    If I reduce the tile size to 256X256 it fetches around 33 tiles and from logs for each jpeg fetched querying/rendering time is 15 to 25 seconds.
    So it takes around 2 minutes to complete one request.
    It is too high, what can be done to improve mapviewer's performance with georaster themes?

  • 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 javascript client

    Hello,
    I'm trying to integrate the Oracle Maps client into a web page that will run on a different host and a different app server than OC4J. First of all, is it possible?
    Do I understand correctly that if I copied the sampleApp.html to a diffenent host and changed the baseURL, the page should start talking to the map server host?
    var baseURL = "http://127.0.0.1:8888/mapviewer";
    When I examine the HTTP requests and responses from and to the AJAX client, I get:
    http://127.0.0.1/mapviewer/proxy?rtarget=http://127.0.0.1:8888/mapviewer/ReturnLocaleOper&_i0=Pan%20NorthWest&_i1=Pan%20North&_i10=Zoom%20In&_i11=Zoom%20Out&_i12=Scale%20at%20the%20center%20of%20the%20map&_i13=MapView%20baseURL%20is%20not%20set%2C%20please%20check&_i14=km&_i15=mi&_i16=m&_i17=ft&_i18=Home&_i2=Pan%20NorthEast&_i3=Pan%20West&_i4=Pan%20East&_i5=Pan%20SouthWest&_i6=Pan%20South&_i7=Pan%20SouthEast&_i8=Slider%20Bar&_i9=Drag%20To%20Zoom
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /mapviewer/proxy was not found on this server.</p>
    <hr>
    <address>Apache/2.0.55 (Win32) PHP/5.1.2 Server at 127.0.0.1 Port 80</address>
    </body></html>
    What's the business with proxies and AJAX not talking directly to the map server's base URL? What am I missing?
    Thanks for any help,
    -Simon

    I ran into this problem also, but the solution seems to be fairly easy. They provide a mvproxy.jar. Create a webapp, mapping /proxy to their servlet. You'll also need to package mapviewer.jar for some of the other core classes.

  • JDBC THEME-MAPVIEWER-05517 Request string is too long for Oracle Maps' non-

    hi,
    if I need a quite complex query to be added to dynamic JDBC theme I get this error:
    [MAPVIEWER-05517] Request string is too long for Oracle Maps' non-AJAX remoting.
    -why? I am using Oracle Maps JS API so it is AJAX remoting, or not?
    -what is the limit of a JDBC theme definition?
    regards,
    Brano

    hi,
    yes, having look at MVMapView.enableXMLHTTP(true) in doc explains a lot...
    thanks,
    Brano

  • 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

  • Problem with Item Labels in ORacle 10g

    Hi,
    We have unchecked the item labels in oracle discoverer 10g. when we create the portlet(after moved server from 10.1.0.2 to 10.1.2), it showing item labels for the discoverer report.
    we dont want item labels to be displayed in portlets.
    Can one any tell us why this occurs?
    Thanks in advance.

    Hello,
    We have unchecked Item Labels (not to display the column names in the cross tab) in Discoverer plus (Tools ----> Options -----> Sheet -----> Show Item Labels).
    And created the discoverer worksheet portlet in Oracle Portal with Options to display the cross tab.
    The Item Labels are displaying in this discoverer worksheet portlet.
    We donot want to display the Item Labels.
    How can i achieve this?
    Thanks,

  • Projection problem in OracleAS Map Viewer

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

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

  • 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 Map Builder Network Models

    We are working on a project that displays road networks in Oracle Map Builder. Many of the network tables were irrevelant so they were deleted in SQL Developer. However, in Oracle MapBuilder all the Network Tables are still listed. Does anyone know how to synchonize Oracle SQL Developer and MapBuilder?
    Thank you,
    Renee

    Hi Renee,
    Were you using the Network Themes to create new Network Themes or were you using Geometry Themes?
    If you used Network Themes, when you deleted the network (tables), did you delete its entry in user_sdo_network_metadata?
    If you were using the Geometry Themes, did you delete the entry from user_sdo_geom_metadata after you delete the geom. table?
    Try to remove the entries in the network/geom metadata views when you no longer need the network/geom tables.
    You also need to commit after you deleted the tables.
    What version of MapBuilder are you using? (click Help->About Oracle Map Builder)
    jack

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

  • How to show pie chart in Oracle Map?

    I created predefined theme with pie chart style using MapBuilder. When I requested map using XML map request, the pie chart are shown with background and base map behind. Unfortunately, I tried to use Oracle Maps JavaScript Client API and it showed only background with base map behind.
    I’m using this code
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','geoadmin.pie_province ');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    geoadmin is my username and pie_province is my pie chart predefined theme
    Sorry for my English
    Many thanks
    581554

    Hi
    You can create chart by chart wizard in layout model in report 6i.
    1. Create Query in data model
    2. Go Layout model and right click
    3. Select Chart Wizard then select Chart type
    4. Select Axis (X axis column and Y axis column)
    5. Choose your chart placement
    PS

  • The latest version of Oracle Maps ?

    Hi,
    I am trying to check some features of Oracle Maps with the version Ver11_1_1_4_B110225 .
    Is this the latest official version of Oracle Maps ?
    Thanks.

    Additional Info: On the server i found the following log information:
    2011-06-16 12:02:01.741 NOTIFICATION Initialize tile layer MVDEMO.GOOGLE_MAP
    11/06/16 12:45:28 java.lang.OutOfMemoryError: PermGen space
    11/06/16 12:45:28 at java.lang.ClassLoader.defineClass1(Native Method)
    11/06/16 12:45:28 at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    11/06/16 12:45:28 at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2378)
    11/06/16 12:45:28 at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1539)
    11/06/16 12:45:28 at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    11/06/16 12:45:28 at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    11/06/16 12:45:28 at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1721)
    11/06/16 12:45:28 at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1682)
    11/06/16 12:45:28 at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1667)
    11/06/16 12:45:28 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    11/06/16 12:45:28 at com.evermind.server.ejb.StatefulSessionEJBHome.processTimedOutSessions(StatefulSessionEJBHome.java:401)
    11/06/16 12:45:28 at com.evermind.server.ejb.StatefulSessionEJBHome.cleanUpMaintenance(StatefulSessionEJBHome.java:306)
    11/06/16 12:45:28 at com.evermind.server.ejb.EJBTask.run(EJBTask.java:47)
    11/06/16 12:45:28 at com.evermind.util.Task.schedule(Task.java:51)
    11/06/16 12:45:28 at com.evermind.util.TaskManager.run(TaskManager.java:233)
    11/06/16 12:45:28 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    11/06/16 12:45:28 at java.lang.Thread.run(Thread.java:595)

  • Oracle Maps and ADF Faces integration

    Hello,
    Developing ADF Faces application with integrated JavaScript Oracle Maps I came across a problem.
    I have Search Form on my JSF page that searches for some object. I want to pass the object's ID to a backing bean that connects to database, uses Oracle Spatial function to locate object via ID and calculate X,Y position for Oracle Maps.
    On the page I want to use setCenter(X,Y,srid) but I don't know how to get those parameters from backing bean or how to access JavaScript object on the page from backing bean.
    Any help?
    Branislav

    You can probablly write a reusable javaScript setCenter() function that takes the x,y as parameters. Note your setCenter() function will need to set the center and also call mapview.display() so that the map will be actually refreshed in the current preview release (this will be made easier in the next preview release of MapViewer).
    Then, during the render-response stage of your search form, where you are creating the result table to be displayed to the user, you can add a click button to each row that says 'center the map on this feature'. Then prewire the 'onClick' function of each button to invoke the setCenter() function above, using the corresponding (x,y) that is in the backing bean of your search results.
    thanks
    LJ

Maybe you are looking for

  • Error when running "role usage synchronization" job in ERM

    I get an error in my job log when I run "role usage synchronization".  Has anyone seen this before: 179 12/8/09 5:02:47 PM Ready Job created 179 12/8/09 5:03:31 PM Running Include users for user access review: A,L 179 12/8/09 5:03:31 PM Running Exclu

  • Locked threads

    What is the point of having a forum if they lock thread discussions because people with valid comments and or questions post and a sensible rebutal is not possible?

  • Predefined user accounts on a new server

    Hi, i'd like to know how can i "copy" an existing users definition (/etc/passwd and /home) from a production server to a new test server in such a way that user's passwords remain as now. We are using shadow passwords... thanks!!

  • Filter Dependent BAdI

    Assume I have implemented the following BAdI: BBP_DOC_SAVE_BADI Furthermore, assume I have defined a single filter value: BUS2200 Does this mean that my BAdI implementation will be called ONLY when the filter value is BUS2200. Is it possible that the

  • Lumia 920 - Features in India?

    I don't see features data sense and find my phone (though it is available in settings for no use), why should we spend 37k on this if these features are not available? Help me if these are exists?