[Mapserver-users] How to MapServer using shapefiles from different paths

Eduardo Spremolla edspremolla at Antel.com.uy
Tue Jun 24 12:45:07 EDT 2003


You can set :
SHAPEPATH "/var/shapefiles"

and then:

DATA "mydata/myfile.shp"
DATA "br/sp/sp_limits.shp"


Eduardo Spremolla
Montevideo,Uruguay

El lun, 23 de 06 de 2003 a las 16:51, Pericles S. Nacionales escribió:
> Eduardo,
> 
> You can just type the full path of your second shapefile on your map
> file.  Or, create a symbolic link:
> 
> ln -s /var/shapefiles/mydata /var/shapefiles/br/sp/mydata
> 
> and call DATA "mydata/fr_niv.shp" on your map file.
> 
> 
> Good luck!
> -Perry
> 
> 
> On Mon, 2003-06-23 at 14:00, Eduardo Patto Kanegae wrote:
> > Is there a way of using shapefiles from different paths?
> > 
> > example:
> > 
> > 1st Path: /var/shapefiles/br/sp/
> >                contains: sp_limits.shp / sp_cities.shp
> > 
> > 2nd Path: /var/shapefiles/mydata/
> >                contains: fr_1.shp / fr_niv.shp
> > 
> > thanks
> > 
> > Eduardo Patto Kanegae
> > eduardo at linkgeo.com.br
> > http://www.linkgeo.com.br
> > 
> > ***************************************
> > ***Fim da Mensagem / End of Message ***
> > ***************************************




More information about the mapserver-users mailing list