Mapviewer - Spatial Data Cache

I am trying to clear the spatial data cache in two different versions (mv10 & mv11ea) of Mapviewer without success. To confirm that the cache is being cleared I have enabled the report_stats as below in the mapViewerConfig.xml for both versions
    <spatial_data_cache   max_cache_size="64"
                          report_stats="true"
    />After a few requests I note the following in the log:
Cache group PARCEL_VIEW_SHAPE_82473_PDT_GEOM statistics:
   capacity: 262144
       size: 145988
load factor: 0.95
    # of chains: 88837
max chain depth: 8
avg chain depth: 1.6433242905546113
empty bucket %: 0.6611137390136719
total mem size : 28169KBKnowing (assuming) that this cache group is populated by a single theme that references the PARCEL_VIEW table I then issue the following via the Admin section of the Mapviewer control.
<?xml version="1.0" standalone="yes"?>
<non_map_request>
  <clear_theme_cache data_source="vicmap" theme="THEME_PARCEL" />
</non_map_request>Then, after waiting patiently for the next set of statistics to appear in the log (BTW, is there a way to change the frequency from 10 minutes to something more regular?) I notice that the information for the cache group has not changed.
Am I following the correct steps here? If I wish to clear the spatial cache, should I be monitoring these statistics?
All advice most welcome.
Ross.

Hi Ross,
we'll review the statistics reported and check why it is not changing. The frequency is currently hard-coded (5 minutes), and there is no parameter on the configuration file to change that. We may consider this in the future.
Joao

Similar Messages

  • Spatial data cache only 2048MB ??

    Why spatial data cache can be only less then 2048MB ??
    If I set up any value larger then this, it shows a negative numer of cache size in get_stats xml request (the same in logs when Mapviewer is starting).

    This is likely a bug. It assumes a 2gb limit.

  • Spatial Data Cache Setting

    Hi all,
    If I disable the cache, I mean if I set max_cache_size to 0 on mapviewerConfig, Will it affect mapviewer performance or speed?
    I have developed sample application to move a point data on web using mapviewer. After updating SDO_GEOMETRY column on database, I will refresh the map. The map will show moved point data only if I set max_cache_size to 0 on mapviewerConfig. Is there any mapviewer API is available to clear spatial data cache?
    Thanks,
    Sujnan

    This is likely a bug. It assumes a 2gb limit.

  • Mapviewer spatial data for Italy

    Hi experts,
    Could you please tell us where we download BIEE 11g mapviewer spatial data for Italy?
    Thanks.

    From one of the data providers, e.g.
    TomTom: http://www.tomtom.com/en_gb/licensing/products/maps/geospatial-oracle/
    Nokia (Here): developer.here.com
    GfK Geo-Marketing: http://www.gfk-geomarketing.de/en/digital_maps/softwarespecific_maps/maps_for_oracle_spatial.html

  • Mapviewer spatial data

    Hi experts,
    Could you please tell us where we download BIEE 11g mapviewer spatial data for China?
    Thanks.

    the Spatial Data needs to be downloaded from NAVTEQ
    Find the complete steps and download link here
    http://obieelive.blogspot.com/2012/06/map-viewer-configuration-in-obiee.html?utm_source=BP_recent
    Thanks,
    Sandeep

  • Controlling access to Oracle Mapviewer spatial data through VPD

    I am building a web GIS application in Oracle Application Express (APEX) and have used the Virtual Private Database feature of Oracle Database 11g Enterprise Edition so as to ensure row level security. I've integrated APEX with Oracle Mapviewer through Oracle Maps API in order to display a map.
    VPD feature is working properly through the command prompt at the database level but I also need to use the VPD policy at the application level so that each authenticated user can only see his own spatial data on the map.
    So far I have accomplished that by creating as many data sources as the number of application users on the mapViewerConfig.xml file. Every time a user logs in the web GIS application, the correct data source is being employed.
    I was wondering if there is any other parameterised way that I can perform this access control functionality without having to create all these data sources.
    Many thanks in advance.

    Yes you can define a single "secure" MapViewer data source to achieve VPD or make use of your database VPD setup. For more details and how to get the Apex app user to MapViewer and then onto VPD you can check out my blog post here: http://oraclemaps.blogspot.com/2008/09/apex-oracle-maps-and-secure-mapping.html
    hope this helps,
    LJ

  • Mapviewer - Spatial Data licensing

    Hi,
    I am working for a fortune 500 company and We are looking forward to use Oracle Mapviewer. My VPs straight question is how much the licensing cost per CPU? And I also know that in order to use MapViewer we need Oracle Spatial data how much will it cost per CPU?? Can any one help me with this question. We are using OBIEE 10g and SQL Server database.
    Thanks in advance,
    DK

    the Spatial Data needs to be downloaded from NAVTEQ
    Find the complete steps and download link here
    http://obieelive.blogspot.com/2012/06/map-viewer-configuration-in-obiee.html?utm_source=BP_recent
    Thanks,
    Sandeep

  • MapViewer spatial data for UAE

    Hi Experts,
    I have been integrating maps for OBIEE implementations. Now I have landed on a requirement to create a map for UAE countries.
    Is there any spatial data available in oracle for UAE.??
    Thanks in Advance,

    From one of the data providers, e.g.
    TomTom: http://www.tomtom.com/en_gb/licensing/products/maps/geospatial-oracle/
    Nokia (Here): developer.here.com
    GfK Geo-Marketing: http://www.gfk-geomarketing.de/en/digital_maps/softwarespecific_maps/maps_for_oracle_spatial.html

  • Disabling Spatial data cache for one theme?

    How can I accomplish this. I have a crude editing application and this cache is preventing the updates from being seen in the ThemeBasedFOI under oracle maps. The ThemeBasedFOI.refresh() seems to have no effect.
    I have confirmed that disabling the entire cache resolves the problem, but I have another application that needs this cache on the mapviewer, so turning off the whole cache isn't a good option.
    So, can I mark a single theme to be ignored in this cache?

    You can set the caching mode for each geometry theme individually (NONE, NORMAL (default) or ALL). Using MapBuilder, go to the Advanced panel on the theme editor, and select NONE as caching mode.
    Joao

  • Spacial Data Cache stats

    The mapviewer 10.1.2 UG talks about turning on the report_stats option in the conf file to dump out the cache stats every 5 minutes. Where does this data dump to? I assumed it would be the default log file, but I don't see this happening. What am I missing?

    Thanks, I switched the logging to finest and now I'm seeing the information being written. Another question, everytime is reports, it always reports:
    MapViewer Spatial Data Cache info (upper limit=524288kb):
    In Memory Cache Size: 0 kb
    Nothing ever seems to be saved in cache. Why is this?

  • Need Help about Spatial Data Load - Mapviewer

    Hello everybody,
    I need an immediate help about spatial data load. I installed Oracle mapviwer quick start and try to work on it. However, I could not pass the load step. My questions are;
    1- Where can I find and download my country's data set (spatial data)
    2- With mapviwer, how can I load spatial data to my tables on database (Oracle). Those tables have sdo_geometry columns and I want to query location data, but could not load
    Regards,
    Dilek

    For Mapviewer questions, please post in the following forum:
    MapViewer
    Thanks

  • Keep Oracle Spatial data in Coherence Caches?

    Can I keep Oracle Spatial data in Coherence Caches?

    You can store the Oracle Spatial data in Coherence caches. But creating Spatial indexes in Coherence neeeds too much effort, I guess. How do you create the Spatial geocoding package, map symbols, map styling rules and Spatial network model?
    Edited by: junez on 07-Jan-2010 12:24

  • Acquiring Oracle Spatial Data through WFS

    Hi,
    I have been researching for awhile and am slightly confused.
    I have Oracle Spatial 11g with geometry data and would like to be able to retrieve that data through a WFS to serve to a viewing application.
    Here's where I am confused:
    1) Spatial has a WFS service which needs to be configured. If I were configure that, would I be able to access the data through URL getFeature commands? The documentation I see for them has the getFeature requests in the form of XML files so I am not sure if I can do that. Also it seems like the service is returning .log files but I think I would want GML...
    If this is the option I should take, the tutorial to setup OC4J and the Web Services are for a Linux machine (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm) -- Is there one for Windows 64bit?
    2) Do I need another "application layer" to enable this URL support? I know MapServer can use URL requests.. can I just run this against the data in my DB and forget about the Oracle WFS?
    3) MapViewer seems to work with WFS Themes and handle requests through Java and SQL.. is this another option?
    I am basically confused as to where everything sits and what I should be focusing on to get my Spatial data out of the DB through a WFS. Any assistance on this matter would be greatly appreciated!
    Thanks!

    Any help debugging this issue would be greatly appreciated:
    As per the documentation:
    http://localhost:8888/SpatialWS-SpatialWS-context-root/wfsservlet?request=GetCapabilities&service=wfs&version=1.0.0
    :this get request should return the capabilities info however I receive this error message instead in the browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ogc:ServiceExceptionReport version="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8888/examples/servlets/xsds/OGC-exception.xsd" xmlns:ogc="http://www.opengis.net/ogc">
    <ogc:ServiceException code="WFS-1042">Exception during processing request</ogc:ServiceException>
    </ogc:ServiceExceptionReport>
    The sytem out from the oc4j container provides this error message:
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    INFO] No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    ERROR] Oracle Spatial WS Server could not set up configuration parameters: jav
    a.lang.RuntimeException: No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.servlet.WFSServlet, Tue Apr 27 15:47:38 MDT
    2010, FATAL] java.lang.RuntimeException: java.lang.RuntimeException: No subject
    specified in request.
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:705)
    at oracle.spatial.ws.servlet.WFSServlet.doGet(WFSServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: No subject specified in request.
    at oracle.spatial.ws.WSProperties.getUser(WSProperties.java:574)
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:695)
    ... 16 more

  • DISPLAY SPATIAL DATA USING JDBC ON A JAVA FRAME

    I am trying to set up some spatial data and need help in getting some sample
    code for displaying the data on a Java Frame using JDBC.
    The shapes I am setting up are simple polygons, lines, circles. I was going
    through the samples in the demo directory under $ORACLE_HOME/md/demo/examples, but could not find any JDBC
    I would really appreciate if you can point me towards some sample code and any other spatial resources.
    Madhukar

    Here you go. It uses JDBC to fetch geoms, convert them into Java JGeometry objects, which then create Java2D shapes (these are functions of the public sdoapi.jar library). It then uses some class in the sdovis.jar library (the rendering engine of MapViewer) to setup the necessary viewport transform. If you know how to setup the viewport transform, then you dont even need sdovis. sdovis.jar is found in an deployed MapViewer's WEB-INF/lib directory. Or you can extract it from the mapviewer.ear's web.war file.
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.sql.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import oracle.jdbc.OracleDriver;
    import oracle.sdovis.*;
    import oracle.sdovis.style.*;
    import oracle.sdovis.util.*;
    import oracle.spatial.geometry.JGeometry;
    import oracle.sql.STRUCT;
    * A very simple program that shows stuff from db in a JFrame
    * <p>
    public class tilsvgui2 extends JFrame
      final static int mapWidth  = 640;
      final static int mapHeight = 480;
      static JSDOGeometry geom = null;
      public tilsvgui2()
        setSize(mapWidth+40, mapHeight+40);
                    setVisible(true);
        this.addWindowListener(new java.awt.event.WindowAdapter() {
          public void windowClosing(WindowEvent e) { System.exit(0); }
            public void paint(Graphics g)
                    super.paint(g);
        int w = this.getWidth(), h = this.getHeight();
        Insets inset = this.getInsets();
        double[] mbr = geom.getMBR();
        //from sdovis; it will setup the viewport transform
        XFViewPort xfp = new XFViewPort();
        xfp.setDeviceView(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        xfp.setDataView(mbr[0], mbr[1], mbr[2], mbr[3]);
        AffineTransform af = xfp.getAffineTransform();    //get the viewport transform
        Shape shp = geom.createShape(af);    //create a proper shape that fits the viewport
        Graphics2D g2 = (Graphics2D) g;
        g2.setColor(Color.red);
        g2.drawRect(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        //draw the shape itself
        g2.setColor(Color.blue);
        g2.draw(shp);
      public static void getStuff() throws Exception
        System.out.println("Loading geometry...");
        Connection conn = getConnection("mapsrus.us.oracle.com", "1521", "orcl", "scott", "tiger");
        Statement  stmt = conn.createStatement();
        ResultSet  rset = stmt.executeQuery("select geom, totpop from counties where county='Merrimack' and state_abrv='NH'");
        while(rset.next())
          STRUCT st = (STRUCT) rset.getObject(1);
          geom = JSDOGeometry.loadFromDB(st);
          int population = rset.getInt(2);
          break; //displaying only the first geometry
        rset.close();
        stmt.close();
        conn.close();
      private static Connection getConnection(String host,
                                              String port,
                                              String sid,
                                              String username,
                                              String password)
        throws SQLException
        String thinConn = "jdbc:oracle:thin:@"+host+":"+port+":"+sid;
        Driver d = new OracleDriver();
        Connection conn = DriverManager.getConnection(thinConn,username,password);
        conn.setAutoCommit(false);
        return conn;
      public static void main(String[] args)
        try{
          getStuff();
        }catch(Exception e)
          e.printStackTrace(System.err);
        new tilsvgui2();
    }

  • Keep the Oracle Spatial data in memory

    I can keep any database tables in memory (for fast access) using Oracle Coherence (the In Memory Data Grid).
    Now I want to store Oracle Spatial data in memory, is it possible?

    I think it is possible. The difference is it is not easy to recreate some Spatial-related functions and procedures in caches. But you can invoke them from the in-memory applications using Oracle Spatial Java API.

Maybe you are looking for

  • There is no rental tab in my video app!

    There is no rental tab in my video app, it is only showing "movies, tv shows and music videos" I have rented before and I'm not sure what's happening..

  • WebStart

    Hi When I am trying to Load an .jnlp file i am getting an error java.lang.Exception: cache failed forhttp://sp4:13510/was6-webstart/j2ee-runtime-6_0_1.jnlp      at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)      at com.sun.javaws.L

  • Database limits of oracle lite

    Could anyone please tell me the database limits(eg table size,number of columns etc) of oracle8i lite Thanks, Debu

  • How come I can not buy a amazon gift card of $50 value for 5000 points?

    hi verizon wireless customer service for Verizon Wireless points website, how come I can not buy a amazon gift card of $50 value for 5000 points? you offer this in the verizon fios site.  The issue is I and like everybody else with a Verizon Wireless

  • 755p Hot Sync erased all previously saved pics...Adv​ice Please.

    Hello, When I Hot Sync from 755p to PC, all pics from device are usually saved to My Documents\Palm OS Desktop\755p\Photos\BackupForInternal\Palm so I typically delete the pics from device because all new pics are added to any that were saved previou