[mapserver-users] problem with raster

Valeria Muñoz valemunoz at gmail.com
Tue Aug 11 13:25:45 PDT 2009


HI

    i am trying to display a raster image(.tif) but mapserver return the
image attached

mapfile

MAP
  NAME satelite
  # Map image size
  SIZE 600 400
  UNITS dd
  EXTENT -70.524941 -33.366110 -70.500813 -33.346131
  PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
    ''
  END
  IMAGECOLOR 192 192 192
  IMAGEQUALITY 95
  WEB
    IMAGEPATH '/tmp/'
    IMAGEURL '/tmp/'
    METADATA
      'wms_title'           'satelit'
      'wms_onlineresource'  'http://my.host.com/cgi-bin/mapserv?map=wms.map&
'
      'wms_srs'             'EPSG:4326'
    END
  END
  LAYER
    NAME Mapa_WGS84'
    TYPE RASTER
    DATA 'data\image_1.tif'
    METADATA
      'wms_title' Mapa_WGS84'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
    ''
    END
  END
END

please help

RG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090811/b8610119/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raster_img.JPG
Type: image/jpeg
Size: 2542 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090811/b8610119/attachment.jpe>


More information about the MapServer-users mailing list