<div>Hi Jeff</div>
<div> </div>
<div> i removed projections objects, i use QGIS to get the extent parameter, but the result is the same</div>
<div> </div>
<div>new mapfile</div>
<div> </div>
<div>MAP<br>  NAME satelite<br>  SIZE 600 400<br>  UNITS dd<br>  EXTENT -70.524941 -33.366110 -70.500813 -33.346131<br>  IMAGECOLOR 192 192 192<br>  IMAGEQUALITY 95<br>  WEB<br>    IMAGEPATH '/tmp/'</div>
<div>    IMAGEURL '/tmp/'</div>
<div>    METADATA<br>      'wms_title'           'satelite'<br>      'wms_onlineresource'  '<a href="http://my.host.com/cgi-bin/mapserv?map=wms.map&">http://my.host.com/cgi-bin/mapserv?map=wms.map&</a>'<br>
      'wms_srs'             'EPSG:4326'<br>    END</div>
<div>  END</div>
<div>  LAYER<br>    NAME 'La_Dehesa_1_Mapa_WGS84'<br>    TYPE RASTER<br>    DATA 'data\La_Dehesa_1_Mapa_WGS84.tif'<br>    METADATA<br>      'wms_title' 'La_Dehesa_1_Mapa_WGS84'<br>    END<br>
    STATUS DEFAULT<br>    TRANSPARENCY 100</div>
<div>  END</div>
<div>END</div>
<div> </div>
<div><br>RG<br></div>
<div class="gmail_quote">2009/8/11 Jeff McKenna <span dir="ltr"><<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Valeria Muñoz wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">HI<br>     i am trying to display a raster image(.tif) but mapserver return the image attached<br> mapfile<br> MAP<br> NAME satelite<br> # Map image size<br> SIZE 600 400<br> UNITS dd<br> EXTENT -70.524941 -33.366110 -70.500813 -33.346131<br>
 PROJECTION<br>   'proj=longlat'<br>   'ellps=WGS84'<br>   'datum=WGS84'<br>   'no_defs'<br>   ''<br> END<br> IMAGECOLOR 192 192 192<br> IMAGEQUALITY 95<br> WEB<br>   IMAGEPATH '/tmp/'<br>
   IMAGEURL '/tmp/'<br>   METADATA<br>     'wms_title'           'satelit'<br></div>     'wms_onlineresource'  '<a href="http://my.host.com/cgi-bin/mapserv?map=wms.map&" target="_blank">http://my.host.com/cgi-bin/mapserv?map=wms.map&</a> <<a href="http://my.host.com/cgi-bin/mapserv?map=wms.map&" target="_blank">http://my.host.com/cgi-bin/mapserv?map=wms.map&</a>>' 
<div class="im"><br>     'wms_srs'             'EPSG:4326'<br>   END<br> END<br> LAYER<br>   NAME Mapa_WGS84'<br>   TYPE RASTER<br>   DATA 'data\image_1.tif'<br>   METADATA<br>     'wms_title' Mapa_WGS84'<br>
   END<br>   STATUS DEFAULT<br>   TRANSPARENCY 100<br>   PROJECTION<br>   'proj=longlat'<br>   'ellps=WGS84'<br>   'datum=WGS84'<br>   'no_defs'<br>   ''<br>   END<br> END<br>END<br>
 <br></div></blockquote><br>Hello,<br><br>My quick thoughts:<br><br>- remove all projection objects<br>- use the commandline gdalinfo utility to get the extents of your image (Lower Left and Upper Right coordinates) and use those values in the EXTENT parameter<br>
- test your mapfile with the shp2img utility (<a href="http://www.mapserver.org/utilities/shp2img.html" target="_blank">http://www.mapserver.org/utilities/shp2img.html</a>)<br><br>-jeff<br><br>-- <br>Jeff McKenna<br>FOSS4G Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br><br><br><br><br>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br>