<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.emailstyle20
        {mso-style-name:emailstyle20;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Johan,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>I
have tried out your fix to the compiled.js file and it is working for me too.
So far, I have not discovered anything in my setup that it “breaks,” so I will
keep the change in place for now. Like you said, it is easy to go back to the
original code if it doesn’t work over the long term. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Thanks
for the tip!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Liesa<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Johan Forsman
[mailto:Johan.Forsman@LA.GOV] <br>
<b>Sent:</b> Friday, September 17, 2010 10:48 AM<br>
<b>To:</b> Miller, Elizabeth (DOT); Len Kne; Dan Little;
geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> RE: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>That browser
size problem I have also seen, but only with screens of 1280x1024 dimensions
and greater. As you identified, not maximizing the browser is the solution
there. GM adds a considerable buffer to the image request. On my 1280x1024 main
screen I need to shrink the browser window to around 950x920 to obtain an image
from the FEMA WMS. The actual viewport of the map is only about 720x640 then.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>With the “fix”
below the FEMA WMS returns an image even on a browser window covering most (not
all) of my 1920x1200 screen. I also have MAXSIZE 10000 in the global mapfile.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>As you also
have experienced, specifying the HEIGHT and WIDTH parameters in the mapbook has
no effect. However, if you do it in the compile.js file it does work. At least
it does for me. You can test too, but please make a backup copy of compiled.js
first! This of course will fix the size for all sources, so it may break
something else for you.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>File is
geomoose2/htdocs/compiled.js, change lines 1473 and 1474 like so:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
/* reproject the bounds */<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
if(this.singleTile && this.projection.projCode !=
this.map.getProjection()) {<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
bounds = bounds.transform(this.map.projection, this.projection);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
}<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
var imageSize = this.getImageSize(); <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
var newParams = {<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
'BBOX': this.encodeBBOX ? bounds.toBBOX() : bounds.toArray(),<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
'WIDTH': 1024, //The image request is too large unless fixed.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
'HEIGHT': 1024<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>//
'WIDTH': imageSize.w, //These are the original parameters.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>//
'HEIGHT': imageSize.h<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
};<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
var requestString = this.getFullRequestString(newParams);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
return requestString;<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>I am typically
reluctant to change source code since I do not program much myself, and am
leery of making changes where I do not fully understand a function. In this
case it did not appear too complex and I felt it did not hurt to try once I
made a backup copy.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Much like you,
I am also unable to make the WMS-thru-MapServer method work, copying Len’s
suggested mapsource. If creating a legend is easier using a mapfile
intermediary, then that’s what I would prefer also. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>And my
disclaimer is still in effect: I may be going about this entirely the wrong
way. I can’t argue with the results, however: It appears to work for me this
way.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Give it a shot,
temporarily? You can always revert, and I am curious to hear what you find.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Take care,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Johan.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Miller, Elizabeth
(DOT) [mailto:Elizabeth.Miller@state.mn.us] <br>
<b>Sent:</b> Friday, September 17, 2010 9:55 AM<br>
<b>To:</b> Johan Forsman; Len Kne; Dan Little;
geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> RE: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Regarding
the first half of Johan’s email, I believe the issue may be one that we
experienced here with monitors that were set to a higher screen resolution.
That is, when I reference the FEMA WMS directly from the mapbook, I do not have
a problem if my monitor is set to 1024 x 768. However, when set to a higher
resolution I will get a pink screen in Geomoose. (It will correct itself if I
scale the browser window down to a smaller size though.) With other WMS’s I can
eliminate that problem by setting tiled=”true” but with the FEMA service that
won’t work as it won’t project correctly if tiled=”true.” I did play around
with trying to hardcode the WIDTH and HEIGHT in the mapsource to force them to
be less than 1024x1024 but didn’t get it to work. I also tried using the
“fixedwidth” parameter. Right now the solution here is “change your screen
resolution to something lower.”<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>I
would prefer to access the WMS through Mapserver and a mapfile anyway because
of the greater control at building a legend. Right now I am still stumped about
how Len has gotten it to work! I have been trying to imitate what he did but so
far, no success.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Johan Forsman
[mailto:Johan.Forsman@LA.GOV] <br>
<b>Sent:</b> Friday, September 17, 2010 8:49 AM<br>
<b>To:</b> Len Kne; Miller, Elizabeth (DOT); Dan Little;
geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> RE: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Now this is an
interesting discussion. On my end using the same sources I also get similar
errors.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>I have seen
these errors with just about every WMS I have tried as a direct source in the
mapbook (I have not tried using MapServer as an intermediary before), and in
every case it appears to be related to the size of the image requested by GM. I
may be going about this the wrong way, but here is what I have investigated:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Using GM 2.2
under FGS 95 on linux, with EPSG:900913 mapbook.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>For mapbook WMS
sources I may have something like:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><map-source
name="fema_wms" type="wms" tiled="false"
projection="EPSG:4326" ><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
<url>http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?</url><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
<layer name="Q3 Flood Hazards (red)" ></layer><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
<param name="format" value="image/png"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>
<param name="TRANSPARENT" value="TRUE"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'></map-source>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>This layer will
work just fine once I get to ~1:110000, presumably there is a scale limit on
the WMS.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>The issue is it
will ONLY work if I hard-code the WIDTH and HEIGHT parameters in compiled.js
using 1024 or less.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>The URL GM
sends if I do not restrict the sizes looks like e.g.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a
href="http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-91.08713148755879,30.503635126158578,-90.62673567465326,30.80975363607718&WIDTH=1341&HEIGHT=1036">http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-91.08713148755879,30.503635126158578,-90.62673567465326,30.80975363607718&WIDTH=1341&HEIGHT=1036</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>The end of that
URL is the culprit I think. Max size for the FEMA WMS source is 1024x1024.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>I attempted to
include the 1024 size parameters in the mapbook but that did not change the
requested size. It did however change the position of the size parameters in
the URL:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a
href="http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&HEIGHT=1036&WIDTH=1341&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-90.98756788893812,30.416629347292723,-90.52717207603257,30.723022605026703">http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&HEIGHT=1036&WIDTH=1341&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-90.98756788893812,30.416629347292723,-90.52717207603257,30.723022605026703</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>If I hard-code
the sizes in compiled.js, and remove the size parameter in the mapbook, then
the URL looks like<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a
href="http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-90.98825453445235,30.411299939414775,-90.52785872152884,30.717710003563038&WIDTH=1024&HEIGHT=1024">http://hazards.fema.gov/wmsconnector/wmsconnector/com.esri.wms.Esrimap/NFHL?FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&LAYER=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&LAYERS=Q3%20Flood%20Hazards%20(red)&BBOX=-90.98825453445235,30.411299939414775,-90.52785872152884,30.717710003563038&WIDTH=1024&HEIGHT=1024</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>This last one
produces a successful image. Note the WIDTH and HEIGHT parameters at the end.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>I noticed this
in the Firefox Page Info tool for the successful image request:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Dimensions:
1,024px × 1,024px (scaled to 1,341px × 1,036px).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>If I try using
MapServer as the intermediary to the WMS source, copying Elizabeth’s mapfile
nearly verbatim, it does not work at all. Pink screen and the following error
in the logfile:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>msDrawMap():
WMS connection error. Failed to draw WMS layer named 'avail_data'. This most
likely happened because the remote WMS server returned an invalid image, and
XML exception or another unexpected result in response to the GetMap request.
Also check and make sure that the layer's connection URL is valid.
msDrawRaster(): Image handling error. Unrecognized or unsupported image format
drawEPP(): Image handling error. /opt/fgs/tmp/ms_tmp/4c936dca_4f68_0.img.tmp is
not an EPPL file.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>The URL sent by
GM looks like<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a
href="http://geoview.dhh.la.gov:8080/cgi-bin/mapserv?map=%2Fopt%2Ffgs%2Fapps%2Fgeomoose2%2Fmaps%2Fsdwp%2Fother_agency_data%2Ffema_wms.map&layers=avail_data&mode=map&mapext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&imgext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&map_size=1341+1036&imgx=670.5&imgy=518&imgxy=1341+1036">http://geoview.dhh.la.gov:8080/cgi-bin/mapserv?map=%2Fopt%2Ffgs%2Fapps%2Fgeomoose2%2Fmaps%2Fsdwp%2Fother_agency_data%2Ffema_wms.map&layers=avail_data&mode=map&mapext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&imgext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&map_size=1341+1036&imgx=670.5&imgy=518&imgxy=1341+1036</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>A direct URL to
MapServer using the same extents works just fine and looks like<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><a
href="http://geoview.dhh.la.gov:8080/cgi-bin/mapserv?map=%2Fopt%2Ffgs%2Fapps%2Fgeomoose2%2Fmaps%2Fsdwp%2Fother_agency_data%2Ffema_wms.map&layers=avail_data&mode=map&mapext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&imgext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272">http://geoview.dhh.la.gov:8080/cgi-bin/mapserv?map=%2Fopt%2Ffgs%2Fapps%2Fgeomoose2%2Fmaps%2Fsdwp%2Fother_agency_data%2Ffema_wms.map&layers=avail_data&mode=map&mapext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272&imgext=-10997759.439297+3010701.1615728+-9357726.5607032+4278332.8384272</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>The only
difference I see between those two URLs is the last bit about the size.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Please note for
the MapServer examples I used a layer I know will draw at the full-state scale.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>I have stared
at this for so long I am very likely missing something terribly and
embarrassingly obvious, but there appears to be an issue, at least on my version
of GM2.2, with the requested image size being too large.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Perhaps we can
instruct the responsible code to look for size parameters in the mapbook first,
then default to a reasonably safe maximum if none is specified?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Thanks for taking
the time to read all this. I hope some of it helps troubleshooting.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>/Johan.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>----------------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Johan Forsman<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Geologist<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Safe Drinking
Water Program<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Louisiana
Department of Health and Hospitals<br>
Office of Public Health<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Telephone:
225.342.7309<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Telefax:
225.342.7303<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Len Kne
[mailto:lkne@houstoneng.com] <br>
<b>Sent:</b> Wednesday, September 15, 2010 11:56 AM<br>
<b>To:</b> 'Miller, Elizabeth (DOT)'; Dan Little;
geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>I
tried your map file and it works for me <a
href="http://dev.houstoneng.net/geomoose.html">http://dev.houstoneng.net/geomoose.html</a>
– using this as the map-source:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>
<map-source name="flood" type="mapserver"
tiled="true" ><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>
<file>./demo/landrecords/flood.map</file><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>
<layer name="Flood Data Availability"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>
</map-source><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Generally
if there are no error messages or pink screens, the issue is in the Mapbook -
like the map-source/layer does not match in the catalog.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>Len<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Miller, Elizabeth
(DOT) [mailto:Elizabeth.Miller@state.mn.us] <br>
<b>Sent:</b> Wednesday, September 15, 2010 9:57 AM<br>
<b>To:</b> Dan Little; geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'>I
put tiled=”true” in the map-source and still get nothing. I’ve also tried
resizing the browser window to see if that made a difference for Geomoose but
it didn’t.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dan Little
[mailto:danlittle@yahoo.com] <br>
<b>Sent:</b> Wednesday, September 15, 2010 9:07 AM<br>
<b>To:</b> Miller, Elizabeth (DOT); geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Geomoose-users] NFHL WMS from mapfile<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'>Given the email I just got
from Elizabeth and looking at the results of shp2img (from Brent's email), I
would bet serious money (like $20 or a couple cases of beer) that MapServer is
trying to request an image greater than 1024 x 1024. This is causing
MapServer to get an invalid response and returning a blank image.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'>Tell GeoMOOSE to tile the
layer and see if you start getting reasonable results.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'><o:p> </o:p></span></p>
</div>
<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> "Miller, Elizabeth (DOT)"
<Elizabeth.Miller@state.mn.us><br>
<b>To:</b> Dan Little <danlittle@yahoo.com>;
"geomoose-users@lists.sourceforge.net"
<geomoose-users@lists.sourceforge.net><br>
<b>Sent:</b> Wed, September 15, 2010 8:59:00 AM<br>
<b>Subject:</b> RE: [Geomoose-users] NFHL WMS from mapfile</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='color:#1F497D'>No, no pink screen. Just
nothing.</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> Dan Little [mailto:danlittle@yahoo.com] <br>
<b>Sent:</b> Wednesday, September 15, 2010 8:46 AM<br>
<b>To:</b> Miller, Elizabeth (DOT); geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Geomoose-users] NFHL WMS from mapfile</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'>Are you getting a Pink Screen
of Death in GeoMOOSE? If the image is blank then I would be that MapServer is
trying to request an image larger than the restricted size (1024x1024).</span><o:p></o:p></p>
</div>
<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> "Miller, Elizabeth (DOT)"
<Elizabeth.Miller@state.mn.us><br>
<b>To:</b> Dan Little <danlittle@yahoo.com>;
"geomoose-users@lists.sourceforge.net"
<geomoose-users@lists.sourceforge.net><br>
<b>Sent:</b> Wed, September 15, 2010 8:33:21 AM<br>
<b>Subject:</b> RE: [Geomoose-users] NFHL WMS from mapfile</span><o:p></o:p></p>
<div>
<p class=MsoNormal><span style='color:#1F497D'>Here is the map-source from the
mapbook:</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><map-source
name="fema" type="mapserver" tiled="false"
reference="false"></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<file>/ms4w/apps/metrogis/maps/mapfiles_metro/WMS/fema_wms.map</file></span><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'><span style='color:#1F497D'><layer
name="Flood Data Availability"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'></map-source></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>And in the catalog portion of
the mapbook:</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><a href="http://msc.fema.gov"
target="_blank">http://msc.fema.gov</a></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>I should also add that there are
scale restrictions on the various layers in the service, but I have tried
various layers and can’t get any of them to work. “Flood Data Availability” may
not have been the best example to use here because it does not display at large
scales (larger than 1:300,000).</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Also, the service is not tiled
and the maximum image size is 1024 x 1024 pixels. ArcMap is able to bring it in
and it displays correctly.</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>I can get the service to display
in Geomoose if I reference it directly from the mapbook but I would like to use
a mapfile and bring it in that way. If I pull it in directly in the mapbook
this works:</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<map-source name="fema" type="wms"
tiled="false" reference="false"
projection="EPSG:4326"></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<a href="http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL"
target="_blank">http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL</a>?</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<layer name="Flood_Hazard_Zones_General"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<layer name="Q3 Flood Hazards (red)"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<layer name="Floodways"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<param name="format" value="image/jpeg"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<param name="TRANSPARENT" value="TRUE"/></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
<param name="styles"
value=""/> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>
</map-source></span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> Dan Little [mailto:danlittle@yahoo.com] <br>
<b>Sent:</b> Tuesday, September 14, 2010 3:19 PM<br>
<b>To:</b> Miller, Elizabeth (DOT); geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Geomoose-users] NFHL WMS from mapfile</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'>Can you attach the Mapbook?
or Copy and paste the mapbook entry that pertains to the WMS?</span><o:p></o:p></p>
</div>
<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt'>From:</span></b><span
style='font-size:10.0pt'> "Miller, Elizabeth (DOT)"
<Elizabeth.Miller@state.mn.us><br>
<b>To:</b> "geomoose-users@lists.sourceforge.net"
<geomoose-users@lists.sourceforge.net><br>
<b>Sent:</b> Tue, September 14, 2010 11:32:59 AM<br>
<b>Subject:</b> [Geomoose-users] NFHL WMS from mapfile</span><o:p></o:p></p>
<div>
<p class=MsoNormal>I have not been able to bring in the FEMA NFHL Flood Mapping
WMS into my Geomoose map via a mapfile. What am I missing? Can anyone help???
Here is my mapfile. I have tried both “Flood Data Availability” and
“HDM:Q3_COUNTYMAP” as the wms_name, and have tried calling both from the map-source
in the mapbook file. Maybe there is a problem with the extent?<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Thank you for any help.<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Liesa Miller<o:p></o:p></p>
<p class=MsoNormal>MnDOT<o:p></o:p></p>
<p class=MsoNormal>Saint Paul, Minnesota<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>---------------------------------------------------------------------------------------------------------------------<o:p></o:p></p>
<p class=MsoNormal>MAP<o:p></o:p></p>
<p class=MsoNormal> NAME 'fema_wms'<o:p></o:p></p>
<p class=MsoNormal> SIZE 800 650<o:p></o:p></p>
<p class=MsoNormal> STATUS ON<o:p></o:p></p>
<p class=MsoNormal> EXTENT 189783.560000 4816309.330000 761653.524114
5472346.500000<o:p></o:p></p>
<p class=MsoNormal> UNITS METERS<o:p></o:p></p>
<p class=MsoNormal> IMAGETYPE PNG<o:p></o:p></p>
<p class=MsoNormal> TRANSPARENT TRUE<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>
WEB<o:p></o:p></p>
<p class=MsoNormal>
INCLUDE "../../temp_directory.map"<o:p></o:p></p>
<p class=MsoNormal>
END<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> PROJECTION<o:p></o:p></p>
<p class=MsoNormal> 'init=epsg:26915'<o:p></o:p></p>
<p class=MsoNormal> END<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> LAYER<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>
NAME Flood Data Availability<o:p></o:p></p>
<p class=MsoNormal> TYPE
RASTER<o:p></o:p></p>
<p class=MsoNormal>
STATUS DEFAULT<o:p></o:p></p>
<p class=MsoNormal>
OFFSITE 0 0 0<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> CONNECTIONTYPE WMS<o:p></o:p></p>
<p class=MsoNormal> CONNECTION "<a
href="http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL"
target="_blank">http://hazards.fema.gov/wmsconnector/wmsconnector/Servlet/NFHL</a>?"<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> METADATA<o:p></o:p></p>
<p class=MsoNormal>
"wms_title" "Flood Data
Availability"
<o:p></o:p></p>
<p class=MsoNormal>
"wms_srs" "EPSG:4326"<o:p></o:p></p>
<p class=MsoNormal>
"wms_name" "HDM:Q3_COUNTYMAP"<o:p></o:p></p>
<p class=MsoNormal>
"wms_server_version" "1.1.1"<o:p></o:p></p>
<p class=MsoNormal>
"wms_format" "image/png"<o:p></o:p></p>
<p class=MsoNormal>
"wms_styles" ""<o:p></o:p></p>
<p class=MsoNormal>
"wms_exceptions" "application/vnd.ogc.se_inimage"<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> END<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> PROJECTION<o:p></o:p></p>
<p class=MsoNormal>
"init=epsg:4326"<o:p></o:p></p>
<p class=MsoNormal> END<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> END #layer<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>END #Map<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> </span><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>