<div dir="ltr"><div><div><div><br></div>Hi Tim,<br><br></div><div>Just one more idea to explore: when I look at the service page here:<br><br><a href="http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer">http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer</a><br><br></div><div>I see that the only projection supported is:103404 which (I believe) is not an EPSG code (it looks like an ESRI code, but does not come up at <a href="http://www.spatialreference.org">www.spatialreference.org</a>). It could be that the server is not set to respond to requests using EPSG codes? <br><br></div><div>Either way, if you are a stakeholder / constituent of / friendly with the service owner, I always feel that it is worth politely asking if they are willing to "turn on" WMS support for their services - it's a simple check box or two in the configuration on their side, and it really does serve customers of all kinds, rather than just perpetuating vendor lock-in. <br><br>One reason governments are persuaded to buy from the big vendors is that they "support all the standards" after all - so any opportunity for users to encourage turning these features on is really just asking for your money's worth as a tax payer....<br><br></div></div>Tanya<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 2:29 PM, Tim Hennig <span dir="ltr"><<a href="mailto:timhbellevue@gmail.com" target="_blank">timhbellevue@gmail.com</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">Hi Mark,<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 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.<u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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. <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 tried all the image formats to see if by chance it would overlay. No luck. <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 am stumped.<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">Thanks,<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">Tim Hennig<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""> Mark Volz [mailto:<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>] <br><b>Sent:</b> Thursday, November 05, 2015 8:27 AM</span></p><div><div class="h5"><br><b>To:</b> Tim Hennig; <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> RE: [Geomoose-users] REST Services<u></u><u></u></div></div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:#1f497d">Tim,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p><u></u><span style="color:#1f497d"><span>1)<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><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.<u></u><u></u></span></p><p><u></u><span style="color:#1f497d"><span>2)<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><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.<u></u><u></u></span></p><p><u></u><span style="color:#1f497d"><span>3)<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><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.<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="color:#1f497d">Sincerely,<u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:12.0pt;color:#1f497d">Mark Volz, GISP<u></u><u></u></span></b></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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" target="_blank">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" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> RE: [Geomoose-users] REST Services<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:#1f497d">Hi Mark,<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">Thanks for the reply!<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 see what I did wrong….<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"> <layer title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/> <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> src = “ags/sirens”<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I set the source wrong. It works now!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">However, I might have a projection issue, not sure how. The REST data is not overlaying. Hmmmm….<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Tim Hennig<u></u><u></u></p><p class="MsoNormal"><span style="color:#1f497d"><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""> Mark Volz [<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">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" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> RE: [Geomoose-users] REST Services<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:#1f497d">Tim,<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">For some reason ArcGIS likes to use numbers for 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"><u></u> <u></u></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"><u></u><u></u></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" target="_blank">http://gis.lyonco.org/arcgis/services/LyonGIS/Basemap_AirPhotos/MapServer/WMSServer?</url</a>><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"> <b> <layer name="1"/><u></u><u></u></b></span></p><p class="MsoNormal"><b><span style="color:#1f497d"> <layer name="2"/><u></u><u></u></span></b></p><p class="MsoNormal"><b><span style="color:#1f497d"> <layer name="3"/><u></u><u></u></span></b></p><p class="MsoNormal"><b><span style="color:#1f497d"> <layer name="4"/><u></u><u></u></span></b></p><p class="MsoNormal"><span style="color:#1f497d"> <param name="STYLES" value=""/><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"> </map-source><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="color:#1f497d">Sincerely,<u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:12.0pt;color:#1f497d">Mark Volz, GISP<u></u><u></u></span></b></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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" target="_blank">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" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> [Geomoose-users] REST Services<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi Everyone,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am trying to incorporate a ArcGIS REST Service from a county server.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am having no luck with this, can anyone help me regarding this. Here is my test syntax.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> <map-source name="ags" type="ags"><u></u><u></u></p><p class="MsoNormal"> <url><a href="http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export%3c/url" target="_blank">http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export</url</a>><u></u><u></u></p><p class="MsoNormal"> <layer name="Sirens"/><u></u><u></u></p><p class="MsoNormal"> <param name="FORMAT" value="PNG"/><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"><u></u> <u></u></p><p class="MsoNormal"> <layer title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This is my error message from FireBug (No pink screen).<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">TypeError: this._modalconnects is undefined<u></u><u></u></span></p><table border="0" cellpadding="0" cellspacing="0"><tbody><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...<u></u><u></u></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></tbody></table><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">dojo.js (line 14, col 297062)<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Tim Hennig<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div></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" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></blockquote></div><br></div>