<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; "><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648187" style="font-family: Arial; font-size: 10pt; ">Try this...</span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648187" style="font-family: Arial; font-size: 10pt; "> </span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648191"
style="font-family: Arial; font-size: 10pt; "> <map-source name="NAIP_2009" type="wms" tiled="false" projection='EPSG:26919'></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648195" style="font-family: Arial; font-size: 10pt; "> <url>http://mapserver.maine.gov/wms/mapserv.exe</url></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648199" style="font-family: Arial; font-size: 10pt;
"> <layer name="NAIP_2009" queryable="false"/></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_130338963648199" style="font-family: Arial; font-size: 10pt; "><span class="Apple-tab-span" style="white-space:pre">                        </span><param name="map" value="c:/wms/orthos.map"/></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_1303389636481103" style="font-family: Arial; font-size: 10pt; "> <param
name="format" value="image/png"/></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_1303389636481107" style="font-family: Arial; font-size: 10pt; "> <param name="TRANSPARENT" value="TRUE"/></span></font></div><div class="yiv2095465251MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font size="2" face="Arial"><span class="yui_3_2_0_9_1303389636481111" style="font-family: Arial; font-size: 10pt; "> </map-source> </span></font></div></span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left:
5px;"><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> "Bistrais, Bob" <Bob.Bistrais@maine.gov><br><b><span style="font-weight: bold;">To:</span></b> geomoose-users@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 21, 2011 10:22 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Geomoose-users] Problem getting WMS to display<br></font><br><div id="yiv2095465251">
<style>
<!--
#yiv2095465251
#yiv2095465251 p.yiv2095465251MsoNormal, #yiv2095465251 li.yiv2095465251MsoNormal, #yiv2095465251 div.yiv2095465251MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv2095465251 a:link, #yiv2095465251 span.yiv2095465251MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv2095465251 a:visited, #yiv2095465251 span.yiv2095465251MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv2095465251 span.yiv2095465251EmailStyle17
        {font-family:Arial;color:windowtext;}
_filtered #yiv2095465251 {margin:1.0in 1.25in 1.0in 1.25in;}
#yiv2095465251 div.yiv2095465251Section1
        {}
-->
</style>
<div class="yiv2095465251Section1">
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">I’m trying to add a WMS layer to my GeoMoose
application, but am having trouble. So far, the best I can do is get the layer
to display in the TOC, but it’s a pink screen if you turn the layer on.
I’m not sure what I’m doing wrong. Here is what I have in my
mapbook.xml file:</span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">In the map source section:</span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <map-source name="NAIP_2009"
type="wms" tiled="false" projection='EPSG:26919'></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <url>http://mapserver.maine.gov/wms/mapserv.exe?map=c:/wms/orthos.map?</url></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <layer name="NAIP_2009"
queryable="false"/></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <param name="format"
value="image/png"/> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <param
name="TRANSPARENT" value="TRUE"/></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </map-source> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">And in the layer controls:</span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> <layer title="Aerial
photos" src="NAIP_2009/NAIP_2009" status="off"
fade="true" unfade="true" legend="false" /></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">The URL to the WMS service is as follows:</span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "><a rel="nofollow" target="_blank" href="http://mapserver.maine.gov/wms/mapserv.exe?map=c:/wms/orthos.map&SERVICE=WMS&">http://mapserver.maine.gov/wms/mapserv.exe?map=c:/wms/orthos.map&SERVICE=WMS&</a></span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">-it is a service which I know to work. Also, I have a
workable projection file for EPSG:26919</span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "> </span></font></div>
<div class="yiv2095465251MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">What am I missing here?</span></font></div>
</div>
</div><br>------------------------------------------------------------------------------<br>Benefiting from Server Virtualization: Beyond Initial Workload <br>Consolidation -- Increasing the use of server virtualization is a top<br>priority.Virtualization can reduce costs, simplify management, and improve <br>application availability and disaster protection. Learn more about boosting <br>the value of server virtualization. <a href="http://p.sf.net/sfu/vmware-sfdev2dev" target="_blank">http://p.sf.net/sfu/vmware-sfdev2dev</a><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.sourceforge.net" href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users"
target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br><br><br></div></div></blockquote></div></div></body></html>