[Mapserver-users] Loading data from another server
Ed McNierney
ed at topozone.com
Wed Aug 27 08:48:55 PDT 2003
Jeff -
Yes, the data can be in another location, but not one accessed via HTTP. MapServer reads data files using regular filesystem I/O, so the SHAPEPATH needs to point to a filesystem address (i.e. a local or network directory). If you have trouble with that, let us know what operating system you're using and what kind of network access you have to the data server and we can be more specific.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
-----Original Message-----
From: Jeff L. [mailto:nf10 at hotmail.com]
Sent: Wednesday, August 27, 2003 11:13 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Loading data from another server
Hi,
I was wondering if the location of data used in MapServer can be a different
location from the one where MapServer is running.
I would like to run the MapServer in a server pointing to data in another
server. I tried to change this tag in the .map file:
SHAPEPATH "http://www.MyServer.com/data/"
There was an error:
msOpenSHPFile(): Unable to access file. (MyLayerData)
My data do exist in the "http://www.MyServer.com/data/" location.
I'm using MapServer 3.6.
Thanks,
Jeff Lacoste
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list