[Geomoose-users] REST Services

Tim Hennig timhbellevue at gmail.com
Fri Nov 6 06:07:42 PST 2015


Thank You Tanya,

 

I will be asking about the REST services that are offered at Brown County, WI.  I’ve tested them in ArcMap and QGIS and they appear to be working fine.

 

I’ll have to read up on REST services, etc. during the weekend.  I think you’re on to something….. If I find anything I’ll let everyone know.

 

Tim Hennig

 

From: TC Haddad [mailto:tchaddad at gmail.com] 
Sent: Thursday, November 05, 2015 5:17 PM
To: Tim Hennig
Cc: Mark Volz; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] REST Services

 

 

Hi Tim,

Just one more idea to explore: when I look at the service page here:

http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer

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 www.spatialreference.org). It could be that the server is not set to respond to requests using EPSG codes? 

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. 

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....

Tanya

 

On Thu, Nov 5, 2015 at 2:29 PM, Tim Hennig <timhbellevue at gmail.com> wrote:

Hi Mark,

 

I was able to call the REST service by name.  I forgot to add the src = “ags/sirens”.   Everything works (no errors in Firebug) except the projection/overlay.

 

I did add the projection='EPSG:2929’ within the map-source tag.  This did not help.   

 

I tried all the image formats to see if by chance it would overlay.  No luck.  

 

I am stumped.

 

Thanks,

 

Tim Hennig

 

From: Mark Volz [mailto:MarkVolz at co.lyon.mn.us] 
Sent: Thursday, November 05, 2015 8:27 AM


To: Tim Hennig; geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] REST Services

 

Tim,

 

1)      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.

2)      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.

3)      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.

 

Sincerely,

Mark Volz, GISP

 

 

From: Tim Hennig [mailto:timhbellevue at gmail.com] 
Sent: Thursday, November 05, 2015 7:58 AM
To: Mark Volz; geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] REST Services

 

Hi Mark,

 

Thanks for the reply!

 

I see what I did wrong….

 

                <layer title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/>  

 

                src = “ags/sirens”

 

I set the source wrong.  It works now!

 

However, I might have a projection issue, not sure how.  The REST data is not overlaying.  Hmmmm….

 

Tim Hennig

 

 

From: Mark Volz [mailto:MarkVolz at co.lyon.mn.us] 
Sent: Wednesday, November 04, 2015 4:31 PM
To: Tim Hennig; geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] REST Services

 

Tim,

 

For some reason ArcGIS likes to use numbers for layer names…

 

 

                <map-source name="PictometryArcServer" type="wms" reference="false" projection='EPSG:103749' tiled="true" width='256' height='256' transition_Effect="resize">

                                <url>http://gis.lyonco.org/arcgis/services/LyonGIS/Basemap_AirPhotos/MapServer/WMSServer? <http://gis.lyonco.org/arcgis/services/LyonGIS/Basemap_AirPhotos/MapServer/WMSServer?%3c/url> </url>

                                                <layer name="1"/>

                                                <layer name="2"/>

                                                <layer name="3"/>

                                                <layer name="4"/>

                                                <param name="STYLES" value=""/>

                </map-source>

 

Sincerely,

Mark Volz, GISP

 

 

From: Geomoose-users [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Tim Hennig
Sent: Wednesday, November 04, 2015 3:59 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] REST Services

 

Hi Everyone,

 

I am trying to incorporate a ArcGIS REST Service from a county server.

 

I am having no luck with this, can anyone help me regarding this.  Here is my test syntax.

 

                <map-source name="ags" type="ags">

                                <url>http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export <http://maps.gis.co.brown.wi.us/arcgis/rest/services/Sirens/MapServer/Export%3c/url> </url>

                                <layer name="Sirens"/>

                                <param name="FORMAT" value="PNG"/>

                </map-source>                

 

 

                <layer title="Test" src="Sirens" show-legend="false" legend="false" fade="false" unfade="false"/>

 

This is my error message from FireBug (No pink screen).

 

TypeError: this._modalconnects is undefined

	
...ferred){this._fadeOutDeferred.cancel();}this._modalconnects.push(dojo.connect(wi...

		
		

dojo.js (line 14, col 297062)

 

Thank you,

 

Tim Hennig

 


_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20151106/b15a6694/attachment-0001.html>


More information about the Geomoose-users mailing list