tutorial example 1

Ma marin at here.is
Mon Oct 30 16:47:55 PST 2000


if your data are in  e:\gisweb\library\hydrography\shapes\
for Win ver. of MapServer  the correct SHAPEPATH can be:
SHAPEPATH "library/hydrography/shapes"
or
SHAPEPATH "library\hydrography\shapes"
or
SHAPEPATH "e:\gisweb\library\hydrography\shapes"

---
Ma


Chad Nielsen wrote:

> For some reason I am unable to implement the first tutorial example. I've
> set everything up just like in the example but for some reason the image is
> not being displayed. I'm using the latest version of Mapserver on an NT
> Server. I've tried everything I could think of with the pathnames, quotes,
> different data, etc. Below is a copy of the mapfile and html tag I'm using.
> If anyone could give me some feedback on it I would appreciated it very
> much.
>
> Many thanks,
> Chad Nielsen
>
> MAPSERVER EXAMPLE #1:
>
> root: e:\gisweb\ = http://gisweb.co.tillamook.or.us/
> cgi folder: e:\gisweb\cgi-bin\ = /cgi-bin/
> project folder: e:\gisweb\webmap\tutorials\ = /webmap/tutorials/
> data layer: e:\gisweb\library\hydrography\shapes\hydro.shp =
> /library/hydrography/shapes/hydro
>
> *** Here's my mapfile: ***
>
> # Mapserver Tutorial 1
>
> NAME EX1
> EXTENT 7283578.700 505176.159 7495434.300 804253.028
> SIZE 300 300
> SHAPEPATH "/library/hydrography/shapes"
>
> LAYER
>   NAME "Hydrography"
>   DATA  hydro
>   STATUS DEFAULT
>   TYPE LINE
>
>   CLASS
>     COLOR 250 175 25
>   END # end of class object
>
> END # end of layer object
>
> END # end of map file
>
> ***Here's the image tag used to display the map***
>
> <img border="1"
> src="/cgi-bin/mapserv?map=/webmap/tutorials/example1.map&amp&;mode=map">
>
> 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