<div dir="ltr"><div><div><br></div>For the record Bob, this sort of thing (use of numbers as default layer names in WMS) is common on ArcServers where the admins have not enabled "real" names for services.<br><br></div><div>So, not unique to NWI by any means....<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 12:18 PM, Bistrais, Bob <span dir="ltr"><<a href="mailto:Bob.Bistrais@maine.gov" target="_blank">Bob.Bistrais@maine.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:#1f497d">Think I got it now.  Once I updated the URL, the problem was with the layer name.  I had the layer name as “Wetlands” (that would seem logical).  But the actual layer name in the WMS is “1”.  I updated mapbook.xml
 accordingly, and it works.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">I hope this might help others out there.  If you use USFWS NWI service, please be aware of the layer names!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Bob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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""> <a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Bistrais, Bob<br>
<b>Sent:</b> Tuesday, March 03, 2015 3:08 PM<br>
<b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Geomoose-users] problem projecting a WMS<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Correction- I forgot to update the layer name for the Catalog checkbox.  Now that I’ve done that, I get the dreaded pink screen.  Still investigating on my end, but something’s weird about this updated NWI service. 
 Any thoughts?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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"">
<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a> [<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">mailto:geomoose-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Bistrais, Bob<br>
<b>Sent:</b> Tuesday, March 03, 2015 2:48 PM<br>
<b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> [Geomoose-users] problem projecting a WMS<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hello all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I needed to update my NWI layer references because of an apparent change by USFWS with the NWI service.  I thought it would be as simple as changing the URL and/or layer name.  But now the NWI layer does not show at all.  I am not getting
 any error messages in Firebug.  <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Our applications use EPSG:26919 as an SRS.  The NWI services supports 84, 4326, 3857, and 102100.  In the past I have made this work simply by setting the map-source projection parameter, but it doesn’t seem to be working now.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My suspicion is that that the layer is not being reprojected to the application’s projection, but this worked in the past.  This particular application is using GeoMoose 2.6RC1.  Here is the code from the mapbook.xml:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">                <map-source name="nwi" type="wms" reference="false" tiled="false" projection='EPSG:26919'><u></u><u></u></p>
<p class="MsoNormal">                                <url><a href="http://107.20.228.18/ArcGIS/services/Wetlands/MapServer/WMSServer?%3c/url" target="_blank">http://107.20.228.18/ArcGIS/services/Wetlands/MapServer/WMSServer?</url</a>><u></u><u></u></p>
<p class="MsoNormal">                                <layer name="Wetlands" queryable="true" status="off"/><u></u><u></u></p>
<p class="MsoNormal">                                                <param name="format" value="image/png"/> 
<u></u><u></u></p>
<p class="MsoNormal">                                                <param name="TRANSPARENT" value="TRUE"/>            
<u></u><u></u></p>
<p class="MsoNormal">                                                <param name="STYLES" value=""/><u></u><u></u></p>
<p class="MsoNormal">                </map-source><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If it helps, here is the URL to USFWS’s NWI page:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.fws.gov/wetlands/Data/Web-Map-Services.html" target="_blank">http://www.fws.gov/wetlands/Data/Web-Map-Services.html</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></blockquote></div><br></div>