example1 displays a blank .gif

epk at netsitemail.com.br epk at netsitemail.com.br
Sat Feb 17 13:51:08 EST 2001


hi there
i'm a newbie with MapServer. i've just finished to install it and the 'ms_demo'
application is running very well.
now i'm trying to do a simple test based on example1 of the doc-page at mapserver
site, but only a blank .gif is displayed.

does anybody know what is wrong with my files?

[-test740.html-START]
<!--<html>
<head>
<title>teste C740 : MapServer - teste 1</title>
</head>
<body bgcolor="#ffffff">
<h3>C740</h3>
<img border="1"
src="/cgi-bin/mapserv.exe?map=C:\Inetpub\websites\sinflor\maptest\test740.map&amp;mode=map">

<!--C:\Inetpub\websites\sinflor\maptest\ <==here are my .html and .map files
-->
 </p>
</body>
</html>-->
[-test740.html-END]

[-test740.map-START]
NAME mymaps 
EXTENT 74000 4775000 798000 5500000  #could be this parameter my problem?
SIZE 300 300 #
SHAPEPATH "C:\Inetpub\websites\mapas\c740" #here are my .shp files
LAYER 
  NAME "talhoes"  
  DATA C740 #my shapes files are C740.shp, C740.shx and C740.dbf
  STATUS ON #
  TYPE POLYGON #it's a polygan layer. it's a farm
  CLASS #
    COLOR 128 128 255 #
  END # end of class object
END # end of layer object
END # end of map file
[-test740.map-END]
-- 
Eduardo Patto Kanegae
eduardo at 4networks.com.br
UIN : 71431064
http://www.4networks.com.br
ForNetworks - Sistemas e Conectividade

http://www.netsitemail.com.br - Tenha seu e-mail grátis!



More information about the mapserver-users mailing list