<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:"Calibri","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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
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";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.errormessage
{mso-style-name:errormessage;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle27
{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;}
/* List Definitions */
@list l0
{mso-list-id:1430656089;
mso-list-type:hybrid;
mso-list-template-ids:607700282 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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='color:#1F497D'>Hi Mark,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I was able to call the REST service by name. I forgot to add the </span>src = “ags/sirens”. Everything works (no errors in Firebug) except the projection/overlay.<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I did add the </span><span style='color:#1F497D'>projection='EPSG:2929’ within the </span><span style='color:#1F497D'>map-source tag. This did not help. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I tried all the image formats to see if by chance it would overlay. No luck. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I am stumped.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tim Hennig<o:p></o:p></span></p><p class=MsoNormal><span style='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"'> Mark Volz [mailto:MarkVolz@co.lyon.mn.us] <br><b>Sent:</b> Thursday, November 05, 2015 8:27 AM<br><b>To:</b> Tim Hennig; geomoose-users@lists.osgeo.org<br><b>Subject:</b> RE: [Geomoose-users] REST Services<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Tim,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>It looks like you did not specify a projection, therefore ArcGIS will serve the map but It apparently will not serve it in the same projection you are using. I think it defaults to web Mercator now? Try adding the projection and maybe things will work.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>In your code snippet you referenced “ags/sirens” instead of layer “1”. Please let me know if you can get GeoMOOSE to work with ArcServer by referencing the layer by name instead of the number.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#1F497D'>I forgot to mention previously that in GeoMOOSE that perhaps all the tools such as buffering, identify, etc work through MapServer. You can display layers from ArcServer, but that is about all you can do with ArcServer tools.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Sincerely,<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:12.0pt;color:#1F497D'>Mark Volz, GISP<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='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"'> Tim Hennig [<a href="mailto:timhbellevue@gmail.com">mailto:timhbellevue@gmail.com</a>] <br><b>Sent:</b> Thursday, November 05, 2015 7:58 AM<br><b>To:</b> Mark Volz; <a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> RE: [Geomoose-users] REST Services<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Hi Mark,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks for the reply!<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I see what I did wrong….<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal> <layer title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> src = “ags/sirens”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I set the source wrong. It works now!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, I might have a projection issue, not sure how. The REST data is not overlaying. Hmmmm….<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tim Hennig<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='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"'> Mark Volz [<a href="mailto:MarkVolz@co.lyon.mn.us">mailto:MarkVolz@co.lyon.mn.us</a>] <br><b>Sent:</b> Wednesday, November 04, 2015 4:31 PM<br><b>To:</b> Tim Hennig; <a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> RE: [Geomoose-users] REST Services<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Tim,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>For some reason ArcGIS likes to use numbers for layer names…<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <map-source name="PictometryArcServer" type="wms" reference="false" projection='EPSG:103749' tiled="true" width='256' height='256' transition_Effect="resize"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <url><a href="http://gis.lyonco.org/arcgis/services/LyonGIS/Basemap_AirPhotos/MapServer/WMSServer?%3c/url">http://gis.lyonco.org/arcgis/services/LyonGIS/Basemap_AirPhotos/MapServer/WMSServer?</url</a>><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> <b> <layer name="1"/><o:p></o:p></b></span></p><p class=MsoNormal><b><span style='color:#1F497D'> <layer name="2"/><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:#1F497D'> <layer name="3"/><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:#1F497D'> <layer name="4"/><o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#1F497D'> <param name="STYLES" value=""/><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> </map-source><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Sincerely,<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:12.0pt;color:#1F497D'>Mark Volz, GISP<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='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"'> Geomoose-users [<a href="mailto:geomoose-users-bounces@lists.osgeo.org">mailto:geomoose-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Tim Hennig<br><b>Sent:</b> Wednesday, November 04, 2015 3:59 PM<br><b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> [Geomoose-users] REST Services<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Everyone,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am trying to incorporate a ArcGIS REST Service from a county server.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am having no luck with this, can anyone help me regarding this. Here is my test syntax.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <map-source name="ags" type="ags"><o:p></o:p></p><p class=MsoNormal> <url><a href="http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export%3c/url">http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export</url</a>><o:p></o:p></p><p class=MsoNormal> <layer name="Sirens"/><o:p></o:p></p><p class=MsoNormal> <param name="FORMAT" value="PNG"/><o:p></o:p></p><p class=MsoNormal> </map-source> <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 title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is my error message from FireBug (No pink screen).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>TypeError: this._modalconnects is undefined<o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:0in 0in 0in 0in'></td><td style='padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>...ferred){this._fadeOutDeferred.cancel();}this._modalconnects.push(dojo.connect(wi...<o:p></o:p></span></p></td></tr><tr><td style='padding:0in 0in 0in 0in'></td><td style='padding:0in 0in 0in 0in'></td></tr><tr><td style='padding:0in 0in 0in 0in'></td><td style='padding:0in 0in 0in 0in'></td></tr></table><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>dojo.js (line 14, col 297062)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tim Hennig<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>