<div dir="ltr"><div><div>Hi all, I'm brand new to mapserver. <br>(The itasca workshop map works)<br><br></div>I can't get a raster to display. I've tried various extents and projections but suspect these are the cause. The mapfile is as below (IMAGEPATH and IMAGEURL are changed -- working with itasca) as well as info from gdal. Your help would be greatly appreciated!<br>
<br></div><div>Thanks,<br>Pete<br></div><div><br>MAP<br> NAME MyMap<br> STATUS ON<br> CONFIG "MS_ERRORFILE" "ms_error.txt"<br></div><div> DEBUG 5<br></div><div> STATUS ON<br>
SIZE 1000 600<br> EXTENT -20037508.34 -20037508.34 20037508.34 20037508.34<br> UNITS METERS<br> SHAPEPATH "data"<br> IMAGECOLOR 255 255 255<br><br> PROJECTION<br> "init=epsg:3587"<br>
END<br><br> WEB<br> IMAGEPATH "/var/www/localhost/htdocs/tmp/"<br> IMAGEURL "tmp/"<br> END<br><br> LAYER<br> NAME "wac-48_1_4.tif"<br>
DATA "wac-48_1_4.tif"<br> TYPE RASTER<br> TRANSFORM TRUE<br> STATUS ON<br> UNITS DD<br> PROJECTION<br> "init=epsg:4326"<br>
END<br> END<br>END<br></div><br>Driver: GTiff/GeoTIFF <br>
Files: data/wac-48_1_4.tif <br>Size is 512, 512 <br>
Coordinate System is: <br>GEOGCS["WGS 84", <br>
DATUM["WGS_1984", <br>
SPHEROID["WGS 84",6378137,298.257223563, <br>
AUTHORITY["EPSG","7030"]], <br>
AUTHORITY["EPSG","6326"]], <br>
PRIMEM["Greenwich",0], <br>
UNIT["degree",0.0174532925199433], <br>
AUTHORITY["EPSG","4326"]] <br>
Origin = (-95.777952659785427,49.001030999999998) <br>
Pixel Size = (0.019025026914202,-0.019025026914202) <br>
Metadata: <br>
AREA_OR_POINT=Area <br>
Image Structure Metadata: <br>
COMPRESSION=LZW <br>
INTERLEAVE=PIXEL <br>
Corner Coordinates: <br>
Upper Left ( -95.7779527, 49.0010310) ( 95d46'40.63"W, 49d 0' 3.71"N) <br>
Lower Left ( -95.7779527, 39.2602172) ( 95d46'40.63"W, 39d15'36.78"N) <br>
Upper Right ( -86.0371389, 49.0010310) ( 86d 2'13.70"W, 49d 0' 3.71"N) <br>
Lower Right ( -86.0371389, 39.2602172) ( 86d 2'13.70"W, 39d15'36.78"N) <br>
Center ( -90.9075458, 44.1306241) ( 90d54'27.16"W, 44d 7'50.25"N) <br>
Band 1 Block=512x5 Type=Byte, ColorInterp=Red <br>
Band 2 Block=512x5 Type=Byte, ColorInterp=Green <br>
Band 3 Block=512x5 Type=Byte, ColorInterp=Blue <br><br> <br>
</div>