Hello Geoserver users list,
I try to use the OSCache plugin for Geoserver as explained at this page : http://docs.codehaus.org/display/GEOSDOC/Caching
I specified, in the file oscache.properties, this line : cache.path=C:\\cache, but I didn't found images that I got with a WMS request. The other properties in my oscache properties are :
cache.memory=false
cache.persistence.overflow.only=true
cache.algorithm=com.opensymphony.oscache.base.algorithm.LRUCache
cache.capacity=5000
cache.unlimited.disk=true
In the Tomcat logs, I can see :
20 mars 2007 18:04:59 com.opensymphony.oscache.web.filter.CacheFilter doFilter
INFO: <cache>: New cache entry, cache stale or cache scope flushed for /geoserver/wms_GET__Svvq961aOZln4vSRkNSdVA==
So I can think that the caching process has correctly been done.
Cheers,
Cédric B.
Hmmm... That's disappointing.
We're working to improve our caching story, hoping to build a cache built for WMS, though perhaps oscache may be one of the backends.
Until then, what we're recommending is TileCache. See: http://docs.codehaus.org/display/GEOSDOC/TileCache+Tutorial
The only downside it's written in Python, so it's another piece to configure and install. But everything else about it is great, and when we build our custom cache we'll borrow heavily from its design.
Chris
Cédric Briançon wrote:
Hello Geoserver users list,
I try to use the OSCache plugin for Geoserver as explained at this page : http://docs.codehaus.org/display/GEOSDOC/Caching
I specified, in the file oscache.properties, this line : cache.path=C:\\cache, but I didn't found images that I got with a WMS request. The other properties in my oscache properties are :
cache.memory=false
cache.persistence.overflow.only=true
cache.algorithm=com.opensymphony.oscache.base.algorithm.LRUCache
cache.capacity=5000
cache.unlimited.disk=true
In the Tomcat logs, I can see :
20 mars 2007 18:04:59 com.opensymphony.oscache.web.filter.CacheFilter doFilter
INFO: <cache>: New cache entry, cache stale or cache scope flushed for /geoserver/wms_GET__Svvq961aOZln4vSRkNSdVA==
So I can think that the caching process has correctly been done.
Cheers,
Cédric B.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4005,460019a814601702038478!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
Hi,
I am very new to mapping standards and just getting the first maps serving
up through geoserver.
We are developing a Biodiversity Portal, with tables of upwards of
100million records (with a geospatial Point). Currently we also
preprocess data into 1x1 degree counts to display our maps (e.g.
http://newportal.gbif.org/geography/AU). We are using our own cell_id to
identify cells, but I am also keen to move to a more standards based
aproach here.
So far with geoserver I have pointed it at a primitive table and displayed
dots on a map. However, for the volumes of data we use, I need to use a
preprocessed table, which will show say counts per 1x1 deg bounding box at
global views, and then as you zoom in, when it hits a certain level,
switch over to the table with single points and pick up a different SLD.
Can someone please point me in the direction of where this switch over
would take place and how this is represented correctly (if at all) in a
getFeatures requst? Would / can they be served as a single layer?
I am very keen for us to move to a more standards based approach as
currently we are rather proprietory.
Many thanks for any pointers,
Tim
trobertson@anonymised.com ha scritto:
Hi,
I am very new to mapping standards and just getting the first maps serving
up through geoserver.
We are developing a Biodiversity Portal, with tables of upwards of
100million records (with a geospatial Point). Currently we also
preprocess data into 1x1 degree counts to display our maps (e.g.
http://newportal.gbif.org/geography/AU). We are using our own cell_id to
identify cells, but I am also keen to move to a more standards based
aproach here.
So far with geoserver I have pointed it at a primitive table and displayed
dots on a map. However, for the volumes of data we use, I need to use a
preprocessed table, which will show say counts per 1x1 deg bounding box at
global views, and then as you zoom in, when it hits a certain level,
switch over to the table with single points and pick up a different SLD.
Can someone please point me in the direction of where this switch over
would take place and how this is represented correctly (if at all) in a
getFeatures requst? Would / can they be served as a single layer?
GetFeatures has no notion of zoom, you're just asking for data.
So you'll have to either use two tables, or have one with a discriminator column that you can use in a filter to tell apart
the summarized and full data (provided that summarized data has
the same schema as the full data, otherwise you're bound to
use two tables and thus two feature types anyways).
GetMap is a different beast, you can use SLD to switch layers on off
depending on the zoom.
Cheers
Andrea