test Mapserver

Ioan Ferencik ferencikioan at YAHOO.COM
Tue Mar 15 16:12:52 EST 2005


Hi list,

I have installed Mapserver 4 and tested it with folowing map file


MAP
 IMAGETYPE PNG
 EXTENT 388465 583750 398900 590850
 SIZE 200 200
 #SHAPEPATH "c:\web\xampp\htdocs\map\date"
 IMAGECOLOR 255 255 4
 NAME TEST
 UNITS METERS
 SIZE 400 400
PROJECTION
 "proj=stere"
 "ellps=krass"
 "lat_0=46"
 "lon_0=25"
 "k_0=0.99975"
 "x_0=500000"
 "y_0=500000"
 "no_defs"
END

LAYER
 NAME strazi
 DATA str
 STATUS ON
 TYPE LINE
PROJECTION
 "proj=stere"
 "ellps=krass"
 "lat_0=46"
 "lon_0=25"
 "k_0=0.99975"
 "x_0=500000"
 "y_0=500000"
 "no_defs"
END

CLASS
 COLOR 45 67 22
END
END
WEB
 IMAGEPATH "c:\web\xampp\htdocs\map\tmp\ms_tmp\"
 IMAGEURL "\ms_tmp"
 MAXSCALE 5000
 MINSCALE 100000
 TEMPLATE "test.html"
END
END

and folowing template file


<html>
<head><title>Testare MapServer</title></head>
<td valign="top" align=center>
<body bgcolor=#FFFFFF>
<center><h1>Testare Mapserver</h1></center>
<hr>
<form method=GET action="http://localhost/cgi-bin/mapserv.exe">
<center>
<table border=0 cellspacing=0 cellpadding=4 bgcolor="#000000">
<tr>
  <table cellpadding="0" cellspacing="0" border="0">
    <tr><td colspan="2"><INPUT NAME="img" TYPE="image" SRC="[img]"
width=400
height=400 border=1></td></tr>

    <tr>
      <td>&nbsp;<font size=-1 face="arial,helvetica"
color="#FFFFFF"><b>Powered by MapServer</b></font></td>
    </tr>
  </table>
</td>

when i try to put it to work using:
http://localhost/cgi-bin/mapserv.exe?map=c:/web/xampp/htdocs/map/test.map&mode=browse

i see a blank box,,and no data
when I change the mode to map
I see only a yellow png image
Am I missing someting?
I am a  newbie to mapserver,  I installed it just 2 days ago.
Thanks


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050315/a919a7d2/attachment.html


More information about the mapserver-users mailing list