Map not rendering

Ed McNierney ed at TOPOZONE.COM
Sun Jan 8 19:21:44 PST 2006


James -

Set your layer to STATUS DEFAULT, instead of STATUS ON.  The WMS request
forces that layer to be displayed, since you must list it explicitly.
STATUS ON does not mean what you and 98,274 other new users (myself
included) thinks it means!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of James Net
Sent: Sunday, January 08, 2006 9:49 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Map not rendering

Hi all,

While I hope this is not a silly question, I fear it is, or at least
would have a simple solution.

I am trying to render a map with ms.

If I do the following, the map renders and all is fine:

http://myserver/cgi-bin/mapserv?map=/var/www/html/workshop/start3.map&SE
RVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=mymap

However, if I try the following, nothing is rendered - just a solid
white
square:

http://myserver/cgi-bin/mapserv?map=/var/www/html/workshop/start3.map&mo
de=map

I'm just using a simple map file:

MAP
  NAME           TEST
  IMAGETYPE      jpeg
  EXTENT         140 -40 150 -33
  SIZE           600 600
  #SHAPEPATH      "/home/data/map/Landsat Mosaic TM2000/GDA94LL/"
  DEBUG ON

#  TEMPLATEPATTERN 'start'

WEB
    TEMPLATE  'start_template.html'
    IMAGEPATH '/var/www/html/tmp/'
    IMAGEURL  '/tmp/'
END

PROJECTION
  "init=epsg:4283"   #required
END

LAYER
   NAME "mymap"
   DATA "mymap_mosaic_murray_geov2_WGS84.tif"
   TYPE RASTER
   STATUS ON
END

END


Is this odd? Shouldn't both URL's work?

I've also tried shp2img and the map correctly renders.

So why doesn't this work?:

http://myserver/cgi-bin/mapserv?map=/var/www/html/workshop/start3.map&mo
de=map

I'm using map server on redhat.

Thanks in advance.

_________________________________________________________________
Make your dream car a reality
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcarpoint%2Eninemsn%2Ecom
%2Eau&_t=12345&_r=emailtagline&_m=EXT



More information about the MapServer-users mailing list