<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RASTER Layer.</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2>Ryan -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2>The example MAP file you give seems (at a quick look) OK if
all your input data is in the same projection. The only way you know
what projections to use is by knowing your source data. Some source
formats, like GeoTIFF, will have projection information embedded in them.
Others, like your shapefiles, usually do not - you need to know what you
have.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2>Do you think all your data is in the same projection?
What does the <STRONG>listgeo</STRONG> command tell you when you use it to dump
the metadata from the basin_alb.tif file?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2>I'm going to guess that your raster image is in the Albers
or other projection, and your shapefiles are in unprojected geographic
coordinates.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005><FONT face=Arial
color=#0000ff size=2> - Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=544201319-24052005>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com /
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford,
MA 01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Owens, Ryan J NWD02
CONTRACTOR<BR><B>Sent:</B> Tuesday, May 24, 2005 2:45 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] RASTER
Layer.<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>Hello
Listserv,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>I</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial size=2>’</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial size=2>m new to Map Server
and I am hav</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT
face=Arial size=2>ing</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us><FONT face=Arial size=2> some difficulties with getting a raster
output to work.</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT
face=Arial size=2> So far I have been able to get a TYPE LINE output to
work. I want to add another layer, a RASTER layer, but it does not work
and I don</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial
size=2>’</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial
size=2>t know what I am doing wrong. Will someone scan my code to see if I
have done something incorrectly? I am outputting my data to a Flash viewer
in a HTML template.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>Thank
you,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>Ryan</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial
size=2>============================================================</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>MAP</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
NAME
FMV_</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
EXTENT -544000 89800 1393000
1254000</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
WEB</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> log
"./test.log"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
TEMPLATE "test_template.html"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
IMAGEPATH "./tmp/"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
IMAGEURL "<A href="http://">http://</A></FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial size=2>[my
domain]</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial
size=2>/fmv/test/tmp/"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> DEBUG
ON</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
OUTPUTFORMAT</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> NAME
swf</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> DRIVER
"SWF"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
MIMETYPE "application/x-shockwave-flash"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
EXTENSION "swf"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
IMAGEMODE PC256</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
FORMATOPTION "OUTPUT_MOVIE=MULTIPLE"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> IMAGETYPE
swf</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
SIZE 460
500</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
SHAPEPATH "data"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
IMAGECOLOR 255 255 255</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
PROJECTION</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> #
"proj=laea"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> #
"ellps=clrk66"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> #
"lat_0=45"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> #
"lon_0=-100"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
#</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> # Alternatively,
you can specify an EPSG code.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> #
"init=epsg:2163"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
#</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> # Start of LAYER
DEFINITIONS ---------------------------------------------</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>LAYER</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> NAME
"basin"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> DATA
"data/basin_alb.tif"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> STATUS
DEFAULT</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> TYPE
RASTER</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> PROCESSING
"BANDS=1,2,3"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> OFFSITE 71 74
65</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>#
PROJECTION</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>#
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>LAYER</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> NAME
"river"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> DATA
missouri_river</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> STATUS
DEFAULT</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> TYPE
LINE</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
METADATA</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
"SWFDUMPATTRIBUTES" "NAME,LENGTH"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
CLASS</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> COLOR
0 0 254</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
LAYER</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> NAME
dcp</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> DATA
dcps</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> STATUS
DEFAULT</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
TYPE POINT</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
METADATA</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial
size=2> "SWFDUMPATTRIBUTES"
"MRADS_ID"</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
CLASS</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial
size=2> SYMBOL 0</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial
size=2> COLOR 0 0 254</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>
END</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2> # End of LAYER
DEFINITIONS -------------------------------</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>END # end of map
file/object^M</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us></SPAN></P></BODY></HTML>