[Geoserver-users] Strategies for dealing with hundreds of files?

Hi,

I am planning to serve GIS files for hundreds of species. Any recommendations on how to
do this without having a huge list returned from geoserver to the GIS client software?

Thanks!

  • Pete

Pete DeVries
Department of Entomology
University of Wisconsin - Madison
445 Russell Laboratories
1630 Linden Drive
Madison, WI 53706

Pete DeVries ha scritto:

Hi,

I am planning to serve GIS files for hundreds of species. Any recommendations on how to
do this without having a huge list returned from geoserver to the GIS client software?

Set up n separate geoserver instances. The wfs standard does not
allow for any kind of data partitioning in the capabilities.
And a single geoserver instance cannot handle multiple
data dirs at the moment.

Just rename the war to gs1.war, gs2.war, .... (maybe use better
names) and configure each one separately. Oh, and remember
to pump up memory and permgen memory to the virtual machine
or it'll blow out with a couple of wars deployed.
Params like:
-Xmx128m -Xmx512m -XX:MaxPermSize=256m -XX:MaxHeapFreeRatio=30 -XX:MinHeapFreeRatio=30 -XX:+UseParallelGC

should allow you to use something like 8 geoserver in parallel
in the same vm, maybe more (not sure, never tried).

Another option is to add a vendor parameter to the GetCapabilities
request so that some filtering will be done, something like:
http://host:8080/geoserver/wfs?service=WFS&request=GetCapabilities&namespaces=topp,cite
to have it return only data in the "topp" and "cite" namespaces.
This will work if you have a custom client, or if the client accepts
a capabilities document (instead of pretending the root of the
wfs service, that is "http://host:8080/geoserver/wfs?"\).

This would require custom coding thought. If you feel up to the
task grab the developer's guide and join us on the GeoServer
channel on irc, or join the developer's mailing list.
Otherwise you can pay someone to have it developed for you.

Hope this helps
Cheers
Andrea

I have 4000+ bird species in one table and use a filter to query the table by species name. So you’ll have only one table/layer listed, but the downside is that the client has to ‘know’ how to filter a single species.

Steve

Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University


From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Pete DeVries
Sent: Monday, January 28, 2008 3:56 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Strategies for dealing with hundreds of files?

Hi,

I am planning to serve GIS files for hundreds of species. Any recommendations on how to
do this without having a huge list returned from geoserver to the GIS client software?

Thanks!

  • Pete

Pete DeVries
Department of Entomology
University of Wisconsin - Madison
445 Russell Laboratories
1630 Linden Drive
Madison, WI 53706