DATA path problems

Ma marin at here.is
Tue Oct 24 20:41:04 EDT 2000


No.
If you have:
SHAPEPATH "c:\mygis\data\"
#but your data is c:\mygis\data\blah\myshape

 DATA "c:\mygis/data\blah\myshape"
or
  DATA "c:\mygis\data\blah\myshape"
or
  DATA "blah\myshape"
work perfect for MS Windows version of MapServer.

---
Ma


Chad Nielsen wrote:

> I'm trying to put our shape files into theme category folders, i.e.
>
> /library/hydro/shapes/hydro
> /library/transportation/shapes/roads
> etc.
>
> Trying to keep things organized on the webserver. The problem is I can only
> declare one shapepath.
> I tried setting the full path name at each DATA control, i.e.
> DATA 'e:\gisweb/library/hydro/shapes/hydro' - Doesn't like the colon.
> if I go
> DATA /library/hydro/shapes/hydro it can't find the data.
>
> only works if I put all the shapes in one directory and declare it with
> SHAPEPATH
> and only use the data file name, i.e. DATA hydro
>
> Is this the only way to do it?
>
> Chad M. Nielsen, GIS Programmer/Analyst
> Tillamook County Performance Partnership (TCPP)
> Tillamook Coastal Watershed Resource Center (TCWRC)
>
>   GIS:   http://gisweb.co.tillamook.or.us
>  TCPP:   http://www.co.tillamook.or.us/countygovernment/Estuary/homepage.htm
> TCWRC:   http://www.tbcc.cc.or.us/~tcwrc/






More information about the mapserver-users mailing list