[mapserver-users] Mapfile displaying in red

Paul Curran paul_everton at hotmail.com
Wed Jul 15 06:19:41 EDT 2009


Hi 

 

When i load my map file which can be seen below i can view the outline of map but the actual map displays as red. I am viewing the map via the mapserver.exe (e.g.http://localhost/cgi-bin/mapserv.exe?mode=map&map=c:/ms4w/apps/openlayers-2.5/data/test.map&layer='map')

 

Here is my map file, Can anyone spot were i am going wrong? any help greatly appreciated.

 

The uk.shp file i am attempting to load consists of .tiff images amd was put together using FWTools

 

MAP
NAME test
  # Map image size
  SIZE 400 600
  IMAGECOLOR 249 245 186
    IMAGETYPE PNG24
  OUTPUTFORMAT
    NAME PNG24
    DRIVER 'GD/PNG'
    MIMETYPE 'image/PNG'
    #IMAGEMODE PC256
    EXTENSION 'png'
  END
  EXTENT -888385.321101 -31000.000000 1548385.321101 1271000.000000
   
  WEB
 IMAGEPATH "\ms4w\tmp\ms_tmp\"
    IMAGEURL "\ms_tmp\"
    METADATA
     WMS_SRS "EPSG:4326 EPSG:900913"
 END
  END

  LAYER
    NAME 'map'
    DATA 'C:\ms4w\apps\openlayers-2.5\data\map.shp'
    TYPE polygon
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
    ''
    END
    CLASS
       NAME 'map'
       STYLE
         COLOR 255 0 0
       END
       LABEL 
   TYPE bitmap
    END
    END
  END

END

 

_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090715/857a8498/attachment.html


More information about the mapserver-users mailing list