tutorial example 1

Chad Nielsen cnielsen at co.tillamook.or.us
Mon Oct 30 18:08:40 EST 2000


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