Map not rendering

James Net james_marsnett at HOTMAIL.COM
Sun Jan 8 18:48:39 PST 2006


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&SERVICE=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&mode=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&mode=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