I wanted to see what the best way was of calling the geometry service to carry out a Buffer operation on ArcGIS Server 10, without using the SOM. Ideally I want to consume the REST API, using a wrapper so that it was easy to call from c#.
Is the GISClient the way forward? From what I can determine, it looks like you only get stateless (and thus low footprint) access to the Mapserver and Geocode services.
I know that I could construct a call using a URL, but I wondered if there was C# API that wrapped the REST API for you.
-
3I've always used RestSharp (restsharp.org) for these kinds of tasks.Devdatta Tengshe– Devdatta Tengshe2013年03月05日 08:58:01 +00:00Commented Mar 5, 2013 at 8:58
-
Is using the SOAP API endpoint an option?Kirk Kuykendall– Kirk Kuykendall2013年06月25日 13:28:16 +00:00Commented Jun 25, 2013 at 13:28
1 Answer 1
Not quite sure why you would want to write something of your own when you could use the built in geometry service. Here is a sample of that in action: https://developers.arcgis.com/en/javascript/jssamples/util_buffergraphic.html