[Mapserver-users] Loading data from another server

Fawcett, David David.Fawcett at state.mn.us
Wed Aug 27 14:41:06 EDT 2003


As Lowell said below, you have two options:

1.  To access the data directly, you have to configure your server(s) so that you can 'see' it as a directory in a path on your machine.  SHAPEPATH has to be a valid path (not URL).  

I think that the key here is that based on the hardware and software platform and security scheme you are utilizing, you need to figure out how to map/mount/access a remote drive.  This is more a question for your admin than this list.  

2.  You can set up a WMS server using MapServer, which I haven't done, but I understand isn't that hard.  Depending on the data that you need, you could also potentially hit an existing WMS server that contains the data.  

Heck, if this is just for a demo, you could possibly put the data on a CD and point your SHAPEPATH to a folder on the CD.  

I think that the key here is that based on the hardware and software platform you are utilizing, you need to figure out how to map/mount/access

> ----------
> From: 	Jeff L.[SMTP:nf10 at hotmail.com]
> Sent: 	Wednesday, August 27, 2003 1:03 PM
> To: 	lfilak at medinaco.org; mapserver-users at lists.gis.umn.edu
> Subject: 	Re: [Mapserver-users] Loading data from another server
> 
> Hi,
> 
> I went through the documentation "WMS client and WMS server", however it's 
> seems that server location of the data have to have mapserver installed. I 
> might be wrong. And also there is no suggestion about replacing the 
> "SHAPEPATH".
> 
> My need is to run the demonstration project, but by decoupling the data from 
> the application.
> I can run the demo fine if every is installed in the same server. Now i 
> moved the shape data to another web server and want to be able to run the 
> demonstration.
> 
> My understanding is that i would be able to that by making modifications to 
> the .map file only. I guess i was wrong.
> 
> If there is any example, how to run the demo (or another project) using 
> remote data, that would be great.
> 
> Jeff Lacoste
> 
> 
> >From: "Lowell Filak"<lfilak at medinaco.org>
> >To: "Jeff L." <nf10 at hotmail.com>, lfilak at medinaco.org,   
> >mapserver-users at lists.gis.umn.edu
> >Subject: Re: [Mapserver-users] Loading data from another server
> >Date: Wed, 27 Aug 2003 12:47:27 -0400
> >
> >http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?WMSMapServer
> >http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?WFSMapServer
> >HTH
> >Lowell
> >
> >The following message was sent by "Jeff L." <nf10 at hotmail.com> on Wed,
> >27 Aug 2003 16:11:35 +0000.
> >
> > > Thanks Lowel for your answer. Could you please point me to how to do
> >that ?
> > > a document or an url about accessing remote data would be great.
> > >
> > > Jeff Lacoste
> > >
> > >
> > > >From: "Lowell Filak"<lfilak at medinaco.org>
> > > >To: "Jeff L." <nf10 at hotmail.com>, mapserver-users at lists.gis.umn.edu
> > > >Subject: Re: [Mapserver-users] Loading data from another server
> > > >Date: Wed, 27 Aug 2003 12:05:50 -0400
> > > >
> > > >That format for accessing data requires that the data looks like a 
> >local
> > > >file whether it is network mounted or etc.
> > > >There is also an option of reading data in a WMS or WFS fashion from a
> > > >remote source.
> > > >HTH
> > > >Lowell
> > > >
> > > >The following message was sent by "Jeff L." <nf10 at hotmail.com> on Wed,
> > > >27 Aug 2003 15:12:32 +0000.
> > > >
> > > > > 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
> > > >
> > >
> > > _________________________________________________________________
> > > The new MSN 8: smart spam protection and 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> >
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus
> 
> _______________________________________________
> 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