Skip to main content
Pentaho Documentation

Troubleshooting Geo Maps

Geo Maps Partially Rendering

If your Geo Map visualizations in Analyzer are not correctly displaying, it's possible that the BA Server is not giving them enough time to fully render.

There is a static length of time that the BA Server waits for a Geo Map to finish rendering before the image is captured; this allows for all map tiles to be downloaded and points to be plotted. The default wait time is 1200 milliseconds, and it is set through the <map-export-javascript-delay> node in the /pentaho-solutions/system/pentaho-geo/settings.xml file:

<map-export-javascript-delay>1200</map-export-javascript-delay>

Extend the Cache Value for Geo Maps

If you run a Geo Map report and you do not see all of the points on the map that you expected, one thing you could try is extending the cache value for Geo Maps.

  1. Locate the ...biserver-ee/tomcat/webapps/pentaho/WEB-INF/classes directory and open ehcache.xml with a text editor.
  2. Look for the cache element and change the value for maxElementsInMemory to a larger number.
<cache
    name="pentaho-geo-{CUSTOM_ROLE_TYPE}"
    maxElementsInMemory="1000"
    eternal="false"
    overflowToDisk="true"
    timeToIdleSeconds="0"
    timeToLiveSeconds="0"
    diskPersistent="false"
    diskExpiryThreadIntervalSeconds="120"
  /> 
  1. Save and close the ehcache.xml file.
  2. Restart the BA Server.