Tagged Questions
3
votes
1answer
56 views
Is there a service that would return me all streets in a city (ZIP)?
I am looking for a service that you know of, that would return me all streets in a city (ZIP) for the purpose of building a drop-down (or auto-complete) address entry field.
Thanks
0
votes
0answers
35 views
Re-enabling a web service API call that has stopped working unexpectedly
so we have are running an instance of ArcGis Server, and have a handful of services running. These were set up by someone who is no longer working with the company. Some of them are built into ...
0
votes
2answers
158 views
Access geoprocessing service via REST, get JSON back
I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this:
http://server/arcgis/rest/services/MyService/GPServer/MyTask
The task takes a parameter. I was hoping I could ...
0
votes
1answer
38 views
Updating the reference data for an existing geocode service
I created an address locator in an ArcSDE gdb, based on data stored in a point feature class in the same SDE gdb. I then shared the locator as a geocode service and am consuming it in a Silverlight ...
2
votes
1answer
253 views
Auto-update the map service & REST in ArcGIS server 10.1
I have one map service which is updating per day so I need to manually overwrite the service in ArcGIS 10.1
In previous versions 10.0 its very easy..just update the .mxd then REST will be auto ...
3
votes
1answer
116 views
C# Where to create GP service output files
How to get path of default scratch workspace(folder) using c#?
I'm making REST GP tool, where you pass some input parameters, tool collects data, create csv files, and archive them. Then tool return ...
2
votes
1answer
147 views
Can you script publishing a GP service?
I have a geoprocessing service in ArcGIS for Server 10.1.
I would like to share this service with a number of external organisations that also have ArcGIS Server 10.1.
i.e I dont want them hitting ...
1
vote
0answers
69 views
Possible error when adding objects date atributte in ArcGIS rest
I have published in ArcGIS server 10.04 (on win 2008 r2 64 bit + sde + oracle) table ACCESS_LOG on FeatureServer with esriFieldTypeDate field. Then i try to add record with /addFeatures:
[
{
...
1
vote
0answers
157 views
Geographic limit to overlay analysis in geoprocessing service
Function:
I've created a geoprocessing service that serves a toolbox containing a custom python tool. This python tool selects a polygon and buffers it by 1 mile. This buffer is then used to ...
1
vote
1answer
326 views
Use of esriFieldTypeDate field in Add Features REST service
I need to use Add Features REST service to add a new record to a table in a SDE database.
One of the field is type of esriFieldTypeDate, but I don't know how to populate this field in JSON script. An ...
2
votes
0answers
92 views
How to tell if an ArcGIS Service is secure?
I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not.
Is there a property on a MapService that would tell me this in either ...
2
votes
1answer
277 views
ArcGIS Server Object Extenstion REST Endpoint That Supports GET and POST
I have a Server Object Extension for ArcGIS Server 10.0, that implements IRESTRequestHandler. The extension contains many individual RestOperations. By default each RestOperation supports HTTP GETs ...
2
votes
0answers
97 views
ArcGIS Server - E-Tags
From an ArcGIS Server (9.3.x or 10.x) instance, can anyone confirm if REST HTTP response headers are modified when the data within a layer is updated?
For example, if I query a layer at time x and ...
4
votes
1answer
1k views
ArcGIS 10 Rest services regulary stop working
I have a problem with a new installation of ArcGIS Server.
The installation is ArcGIS 10 on Windows Server 2008r2 with IIS 7.
I have followed this guide to configure the IIS ArcGISServicesAppPool: ...
1
vote
1answer
246 views
Changing display properties of a layer using ArcGIS Server REST API Export Map function
I have a quick question I hope someone can help with.
Using the ArcGIS Server (10) REST API's Export Map function can I specify the boundary type, colour, fill colour and other properties in the ...
3
votes
1answer
178 views
Adding table to the MapServer so the layers and tables can be associated
I'd like to add tables to my MapServer. I want it to include both feature layers and tables which enables me to associate the layers with the relevant tables and retrieving the necessary fields of the ...
3
votes
3answers
544 views
Large scale geoprocessing through ESRI REST interface?
A typical limitation of web based processing is that urls are limited to 2 thousand characters for a GET request. From my understanding of how the ESRI Javascript API works, JSONP is utilized to ...
3
votes
2answers
815 views
Send Geometry to query using ArcGIS REST API
I am writing a windows console app in VS 2010 to perform an overlay using the ArcGIS Rest API.
My first REST query returns information about the geometry for a specific feature. I then want to send ...
17
votes
5answers
1k views
ArcGIS REST vs. SOAP API
When is it appropriate to use the ArcGIS Server REST API vs. the SOAP API and vice-versa? What do you see as the advantages of one over the other?
For example, the SOAP service can be consumed as a ...
4
votes
1answer
443 views
How do I find the resolution of a scale range from the Arcgis Server REST services?
What's the best way to determine a LOD's resolution from the esri REST API?
Currently, I make a request for a specific extent to the server from the flex api, and from that I divide the width of the ...
2
votes
1answer
440 views
Why is sometimes geometryType not returned in JSON from ArcGIS Server layer REST API?
Does someone know why the geometryType not always get returned from ArcGIS Server layers?
According to the API documentation Layer / Table the geometryType is returned on layers:
//properties ...
3
votes
1answer
189 views
What are the consequences of setting the SupportedImageReturnTypes to MIME in ArcGIS Server
I am currently exploring using the ExportMap function on the rest endpoint of a Cached Map Service.( I want to export only some layer within a Mapservice).
I have found that if you change the ...
7
votes
2answers
314 views
Is anyone indexing ArcGIS Server services on the web?
In looking at the REST API, it seems like it wouldn't be that hard to write a bot that crawls the web and indexes services (Map Services, GP Services etc.)
Is anyone already doing this?
Update1:
I ...
5
votes
2answers
364 views
Is there a RESTful way to cancel a GP Job?
I have an asynchronous gp service that I can successfully run and cancel from within Arcmap.
Using fiddler I see that arcmap communicates with the GP service via SOAP.
I'd like to cancel the job ...
3
votes
3answers
2k views
WKID (Well Known ID) for national projection for ArcGIS REST API
I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any ...
6
votes
1answer
185 views
How can I get more verbose messages from a GP service?
When I run a tool I've published as a gp service, the only messages I get are these:
esriJobMessageTypeInformative: Submitted.
esriJobMessageTypeInformative: Executing...
...
6
votes
1answer
1k views
Have Legends been implemented for ESRI's REST API?
ESRI's 10.0 documentation for legend indicates that this url should return a legend:
http://map.floridadisaster.org/GIS/rest/services/Facilities/Critical_Facilities/MapServer/legend
But it doesn't ...
2
votes
2answers
402 views
ArcGIS Server Object Extension for Analyzing Linearly Referenced Data
I have just begun learning about the ArcGIS Server Object Extension (SOE) capabilities, specificially with ArcGIS 10.
Is there an example available of an SOE that can return information about ...
5
votes
3answers
560 views
How do I get a json list of REST SOE's supported by a Mapservice?
The html returned by a rest mapservice url includes "supported extensions" down at the bottom. However the json returned does not list the extensions. Is there a way to get this list of SOE's in a ...
4
votes
1answer
210 views
How are bound variables specified in an ArcGIS REST SOE?
In the documentation for using handler functions with ArcGIS Server Rest SOE's, they don't explain how the keys in the boundVariables collection are determined. When I search through the entire ...
5
votes
1answer
237 views
Can GeoProcessor use credentials?
I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though,
I get a 401 error when using ...
4
votes
2answers
4k views
How do I serialize/deserialize .NET dictionary without key value elements?
I'm trying to get my C# class to serialize to a json that complies with GP Job, for example:
{
"jobId" : "jb10b153b77e74a839e31af53e5d4d0d1",
"jobStatus" : "esriJobSucceeded",
...
5
votes
2answers
1k views
why is a gdb query WHERE clause invalid according to the ArcGIS REST API?
Update: This only occurs when the layer being queried has a join.
It doesn't matter if it has a join to a different database or not. And the query that fails is not trying to access columns in the ...
0
votes
1answer
656 views
Layer intersection
I'm trying to implement an intersection with ArcGIS 9.3.1, flex and rest api.
I have two layers, I query the first one that returns a Graphic object, with this Geometry I want to query a second layer ...
6
votes
4answers
188 views
What happened to the sample Portland gp services?
I'm trying to use a sample asynch gpservice.
The Portland services ( http://sampleserver2.arcgisonline.com/ArcGIS/rest/services/Portland )
returns 500.
It is used as a reference implementation in ...
17
votes
9answers
4k views
How can I implement ESRI REST API?
ESRI announced that they are releasing the ArcGIS REST API as open technology. I've got an ISP running Sql Server 2008 with IIS7.
Does anyone know of a good walk through showing how I can write C# ...



