Andrea
since it’s at the moment not possible to have absolute paths in the image mosaic index shp, I tried to put the shp file in the directory where the data is. As you mentioned in this thread it should be possible to use also network drives that are mounted in the local file sytem. I don’t get it going for network drives… I get the following error: java.io.FileNotFoundException: /home/apollo_home/jdkva/bjsvwzie/ortho03/ortho03.shp etc. etc. It works for folders that are on the local drive.
Stefan
-----Ursprüngliche Nachricht-----
Von: Andrea Aime [mailto:aaime@anonymised.com]
Gesendet am: Mittwoch, 19. Dezember 2007 11:08
An: Kathrin KÖHL
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] data path questions
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
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Geoserver-users mailing list
Geoserver-users@anonymised.comceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users