[mapserver-users] [Fwd: example1]

Jamie Smedsmo jsmedsmo at gis.umn.edu
Tue Jan 29 11:10:48 EST 2002



-------- Original Message --------
Subject: example1
Date: Tue, 29 Jan 2002 16:13:09 +0200
From: orkun <temiz at deprem.gov.tr>
To: projects at lists



Hi

I am newly acquaint with mapserver.
So I am trying to learn the basic things.
The problem I have run into is:

firstly I prepared a html file to fire up as:

<html>
<head><title>Heyelan</title></head>
<body bgcolor="#FFFFFF">

<center><h2>heyelan</h2></center>
<p><hr><p>

<form method=GET action="/cgi-bin/mapserv">

<input type="hidden" name="map" value="/var/www/html/demo.map2">
<input type="hidden" name="layer" value="heyha6">
<input type="hidden" name="program" value="/cgi-bin/mapserv">

<center><input type="submit" value="Initialize"></center>


</form>

</body></html>

Then maplist (as demo.map2)
 
NAME map
EXTENT 4660000 4520000 480000 640000
SIZE 100 100
SHAPEPATH "/var/www/html"
LAYER
 NAME "hey_ha6"
 DATA hey_ha6
 STATUS DEFAULT
 TYPE POLYGON
 CLASS
   COLOR 250 175 25
 END # end of class object
END # end of layer object
END # end of map file


But every time I get this message : msLoadMap(): Unable to access file. 
Illegal mapfile name.

could you tell me what I didn't  fulfill ?
I look at the example1. if I am not wrong, that only contains two files 
and doesn't any template file.
I just want see a single map shape file.
How can I do that with a GRASS map?

Thanks in advance
Ahmet Temiz




______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020129/d723d8a9/attachment.html


More information about the mapserver-users mailing list