[Mapserver-users] Loading data from another server

Gregory S. Williamson gsw@globexplorer.com
Wed, 27 Aug 2003 13:25:02 -0700


Perhaps you've already discarded this idea, but FWIW, push the shape the files into a spatial database (postgres, for instance) and then access that database for data. You could probably automate most (all?) of the process if you are dealing with new shape files by dropping them into a directory and then having a daemon or cron job load them into a given table.

Greg Williamson

"When the only tool you have is a hammer, all problems look like a nail."

-----Original Message-----
From: Jeff L. [mailto:nf10@hotmail.com]
Sent: Wednesday, August 27, 2003 8:13 AM
To: mapserver-users@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@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users