[Geoserver-users] data path questions

Hi List!
I have a question. Maybe it sounds stupid but I' new to Geoserver.
I installed Geoserver on Linux and everything is working fine.
But I have a question about the data path. I know I'm supposed to put all my data in file:data/ but actually I don' t want to, as it's to much data. So I know that there are 3 possibilities of changing the path to the actual storage of the files (http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+Data+Directory).
So my questions are:
- Does it also work when the data is on a different server than Geoserver and both are connected via Network?
- Can I only set one location or is it possible to combine data from 2 different servers in the same network as the server where Geoserver is on?
- How do I do it if I can set more than one location?
- Is it possible to combine Shapefiles connected via Network and SDE database also via Network?
That's it for now. Maybe there is somebody who can help me.
Regards
Kathrin

Kathrin KÖHL ha scritto:

Hi List!
I have a question. Maybe it sounds stupid but I' new to Geoserver.
I installed Geoserver on Linux and everything is working fine.
But I have a question about the data path. I know I'm supposed to put all my data in file:data/ but actually I don' t want to, as it's to much data. So I know that there are 3 possibilities of changing the path to the actual storage of the files (http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+Data+Directory).
So my questions are:
- Does it also work when the data is on a different server than Geoserver and both are connected via Network?
- Can I only set one location or is it possible to combine data from 2 different servers in the same network as the server where Geoserver is on?
- How do I do it if I can set more than one location?
- Is it possible to combine Shapefiles connected via Network and SDE database also via Network?
That's it for now. Maybe there is somebody who can help me.

That documentation is quite outdated unfortunately. The GeoServer
data directory is primarily a configuration directory, and you can
use it to store data too if you need to move it around (file:/data/xxx paths are relative so you can take the data directory to another
server and have it working without any configuration change).
I've tried to fix it: http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+Data+Directory

You can store your
data on directories other than the data directory provided that you
refer to them with an absolute path.

In the case of network drivers, you can use them too provided they
are mounted on your local file system, that is, we have no facilities
to directly open an url like smb://host/share

As for servers like spatials dbms or sde, you can have them running
on whatever box you want.

Hope this helps
Cheers
Andrea

Thank you for your help!
I tried now some test shapefiles that I put in the predetermined folder and that worked well.
Does the network driver has to be mounted on the server where GeoServer is installed? Or on my local PC? I guess it's GeoServer's server. I will then try again
Kathrin

Andrea Aime wrote:

Kathrin KÖHL ha scritto:

Hi List!
I have a question. Maybe it sounds stupid but I' new to Geoserver.
I installed Geoserver on Linux and everything is working fine.
But I have a question about the data path. I know I'm supposed to put all my data in file:data/ but actually I don' t want to, as it's to much data. So I know that there are 3 possibilities of changing the path to the actual storage of the files (http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+Data+Directory).
So my questions are:
- Does it also work when the data is on a different server than Geoserver and both are connected via Network?
- Can I only set one location or is it possible to combine data from 2 different servers in the same network as the server where Geoserver is on?
- How do I do it if I can set more than one location?
- Is it possible to combine Shapefiles connected via Network and SDE database also via Network?
That's it for now. Maybe there is somebody who can help me.

That documentation is quite outdated unfortunately. The GeoServer
data directory is primarily a configuration directory, and you can
use it to store data too if you need to move it around (file:/data/xxx paths are relative so you can take the data directory to another
server and have it working without any configuration change).
I've tried to fix it: http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+Data+Directory

You can store your
data on directories other than the data directory provided that you
refer to them with an absolute path.

In the case of network drivers, you can use them too provided they
are mounted on your local file system, that is, we have no facilities
to directly open an url like smb://host/share

As for servers like spatials dbms or sde, you can have them running
on whatever box you want.

Hope this helps
Cheers
Andrea