ArcGIS Server REST API is used to access ArcGIS for Server and ArcGIS Online services

learn more… | top users | synonyms

3
votes
0answers
38 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
2
votes
2answers
52 views

RESTful Geoprocessing Service Request returns empty Result object without errors

This is a bit difficult for anyone here to test as our ArcGIS Server 10.2 instance is behind a firewall. I'll try to present all the necessary information, but feel free to ask for more and I'll ...
1
vote
1answer
53 views

Is editing feature service through the REST API an okay approach?

I have a database that receives real-time data from alarms throughout the day, or on request. I'd like to create a web map that displays the "bad" alarms. My current idea is to create a Python ...
1
vote
0answers
36 views

How to go about creating a custom tool/adding special functionality for a web app

In my soon to be developed web app, I will have an image service and also a feature service that is essentially an index to the image service, with all kinds of attributes. I would like for the user ...
0
votes
0answers
28 views

How do I get a better thumbnail from ArcGIS Online using REST interface?

The thumbnail field points to a very small image that is (ostensibly) generated by ArcGIS - I would like to either make a call to generate a larger image, or specify that a larger thumbnail is ...
0
votes
1answer
40 views

Do ArcGIS Online feature services support a DISTINCT or returnOnlyUniqueValues option?

ArcGIS Server REST API has: returnDistinctValues Description: If true, then returns distinct values based on the fields specified in outFields. This parameter applies only if the ...
0
votes
0answers
25 views

How to tell “Publish Service Definition”-Task to publish into a folder?

I'm currently working on publishing a SD-File using C#. Through another Question (Is it possible to publish a map service from an SD File purely over REST (no arcpy)?) I had a look on the source code ...
1
vote
1answer
48 views

How to acquire an ArcGIS access token with Windows Authentication (single sign on)

Consider the following scenario: The end user is running an in-house build Windows desktop client that uses the ArcgGIS WPF library for rendering ArcGIS maps. The end user is authenticated via ...
0
votes
0answers
43 views

Is it possible to get URLs from ArcGIS Server by map service name?

We have a number of map services published to ArcGIS server that we consume in our applications (C#/Silverlight). Whenever a new service is published, it changes the urls of some of the other ...
0
votes
0answers
22 views

Sample FindNearest ArcGIS REST URL

Could anyone provide me with a sample FindNearest URL using the REST API for Arc GIS? It should look something like this: server.arcgis.com/FindNearest/submitJob/, but I have not been able to get a ...
0
votes
1answer
34 views

How get the link or file from uploads forder of feature service arcgis

I have succeeded in adding a file to arcgis server with the upload method of a feature service on arcgis server. But i can't see how to download what i have uploaded to. Do you have any idea on how I ...
0
votes
1answer
93 views

using REST “delete features” in arcgis api for javascript

I am developping a web application that uses a feature service, what i want to do is save the data in the feature server, and then delete all the features at the start of the application. I am able to ...
2
votes
1answer
98 views

How to access the datasource from a REST service

I have a ArcGIS REST service, is it possible to access the data source of the layer that is within the rest service. For example I have a layer called "Conservation Area" within the service, that ...
0
votes
0answers
29 views

Access multiple feature servers through ArcGIS REST API

we are adapting a web app to support an ArcGIS server back end through the use of Javascript ajax calls which in turn display the data using Leaflet. The current version of the application runs ...
2
votes
1answer
83 views

ESRI REST Api - need to download batches of tiles

So I wanted to use the ESRI REST Api to fetch map tiles for an application. Right now I am calling for each tile as I need it via its X/Y and zoom level(which is generating a bunch of http calls), but ...
0
votes
0answers
64 views

Place arcgis layer on top of google map

This is my old code that loaded arcgis layers on top of the arcgis map: function init(mapServer) { map = new esri.Map("map", { basemap: "topo", ...
0
votes
0answers
24 views

Not able to display fill symbol with other styles except esriSFSSolid

I am using a Unique Value Renderer and the only time I see the Simple Fill Symbol display the fill is when I use esriSFSSolid style. Other styles don't display any fill when used with rest api, just ...
0
votes
1answer
164 views

Lat Long to State Plane conversion

I am using the ESRI javascript API and I have a set of lat/long points I need to convert to a state plane coordinate system. My spatial reference is wkid 3418. I can easily use the GeometryService ...
1
vote
1answer
68 views

How to “Apply Edits” to an ArcGIS Server edit session using Python

ArcGIS Server allows the user to apply edits in an editable layer. Eg the sample layer at http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/3/applyEdits will accept a ...
0
votes
0answers
34 views

ArcGIS Server Rest API Export with Class Breaks

I'm trying to export a map of a dynamic layer with class breaks. I can export the dynamic layer like this: $mapURL = ...
0
votes
0answers
426 views

Unable to resolve constructor for: 'dijit.layout.TabContainer'

I have started using ArcGIS for the first time, actually my first time using GIS. So I have taken the demo codes and changed them to what I needed. So first I took some code for a tab control on the ...
1
vote
0answers
61 views

Problem with long running services in ArcGIS Server 10.2

I published a lot services for geoprocessing. Most of them are the long running services. Those services manipulate data but user do not wait for the results. When I use REST Submit Job in the web ...
2
votes
1answer
118 views

Get folder structure in code from arcgis/rest/services

I have never worked with maps before, and I got assigned on this project with ArcGIS. Noone to ask, cause noone has worked here either so I am turning to you guys. I have to create a tree of ...
0
votes
1answer
333 views

How do I search dates using the ArcGIS REST API?

I'm trying to understand how dates are queried in the ArcGIS Server REST API (v10) using the query functionality (...MapServer/find?searchText=...). If I search on a string attribute I can get a ...
1
vote
1answer
46 views

Help with Routing..RouteEventArgs cannot be serialized

Hi I created a routing service in ArcGIS Server that allows the Service Area task. I've hit the REST service for this routing service and passed in a single facility XY and it works perfectly fine. ...
2
votes
0answers
173 views

No domain coded values on REST Arcgis 10.2

We have created a map service using version 10.2 from a map which all layers data source are point to an SDE connection service using DB2 database. However, the coded value domain not appear in the ...
0
votes
0answers
44 views

Arcgis custom Legend rest service

There is a description for Legend services on arcgis web site. The legend supports the following layer types: ArcGISDynamicMapServiceLayer, ArcGISTiledMapServiceLayer, FeatureLayer and ...
1
vote
0answers
106 views

How to create static image file with geometries from shapefile using ArcGIS Online?

I'm trying to create static map images, including overlaid geometry features imported from a shapefile, server-side (in PHP if that matters), in order to use them in generated PDFs. We're using ArcGIS ...
2
votes
1answer
106 views

Is it possible to query raster from ArcGIS Server 10.1 REST?

I have a map service that contains a SDE raster layer and served out by ArcGIS Server 10.1. Is it possible and how to query through REST service on the raster layer? Basically what I want to do is to ...
0
votes
0answers
24 views

Portal Sharing API - “created” search parameter

I was wondering if anyone had an example of a working REST string searching using the "created" parameter. I have read the docs three or four times and every time I try to use it, it returns 0 ...
0
votes
0answers
31 views

how to add arcgis 10.1 rest service in openlayers [duplicate]

I need to add ArcGis 10.1 rest services to openlayers. Can any one share the ideas, it would be great.
1
vote
1answer
123 views

How to get JSON response from submitJob operation?

I'm trying to get the JSON response of the submitJob operation launched by a restful call: http:///submitJob. I'm using Java7. The response I'm getting is an HTML response, using the code below: ...
1
vote
2answers
109 views

Any restrictions on the use of ArcGIS REST API?

I'm building a PHP script which ends up with an array of latitude, longitude pairs (around 2,500), and I want to be able to reverse geocode them into full adresses, then recording them on my database. ...
4
votes
1answer
148 views

How to query nearest date in ArcGIS Server REST?

How to query nearest date (today) in ArcGIS Server REST? Table: ID NAME DATA 1 test 2013-06-01 13:00:00 2 test1 2013-06-01 16:00:00 3 test2 ...
1
vote
1answer
115 views

Consuming Forecast.io Radar Data in an API or ArcMap

I want to consume forecast.io's radar data as an ArcGIS Server REST or JSON to use in an API or ESRI's ArcMap GIS Software. MapBox is doing it here. I don't think forecast.io is currently making the ...
1
vote
0answers
65 views

Use ArcGIS-server restapi to return geometries as Json objects

I'm very new to ArcGIS-server REST api, but have been using ArcGIS desktop and other web maps for a while. In one of the Buffering example, I found one GP service which takes geometres in as ...
2
votes
0answers
187 views

Can I highlight a selected feature using the ArcGIS REST API only?

I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
0
votes
1answer
44 views

Handle string or int in server object extension

How would you also check to see if the value you are passing into into an SOE is an integer as well? This checks for string, but returns 0 when passing number: string searchValStr; int ...
3
votes
0answers
205 views

ArcGIS REST Server Object Extension Examples

Hi I'm looking for a few good examples of a REST SOE showing more than the common ESRI sample. I'd like to see some RestOperation samples as well and a few different TryGet statements (ie. returning ...
0
votes
0answers
83 views

ESRI reverse proxy setting

My application is running on https but my arcgis server is not running on https hence I configured revrse proxy on my webserver.Even though map loads but when I query the rest services the url I ...
1
vote
0answers
151 views

ArcGIS Server Object Extension (SOE) RestOperation configuration

How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information? So, if string is 'owners' then get names of ...
1
vote
0answers
368 views

QGIS connecting to ArcGIS world imagery - not loading correctly

Have connected QGIS to ArcGIS World Imagery using python console as described on http://www.northrivergeographic.com/qgis-adding-an-arcgis-rest-service. QGIS Seems to connect and make a raster layer ...
4
votes
1answer
189 views

Web_Map_as_JSON from latest esri jsapi?

I'm trying to do a print export using arcgis 10.1 and latest esri jsapi. Is there any out of the box way that I can extract out Web_Map_as_JSON from a given webmap? esri.tasks.PrintTask generates a ...
0
votes
0answers
85 views

How to retrieve FeatureServer and ClassExtensions error messages?

I am having problems when publishing a service with a FeatureServer capabilities. This service is pointing to a FeatureClass on the Geodatabase and this FeatureClass has a classExtension associated. ...
1
vote
0answers
250 views

Multiple Country Codes? - World Geocoding Service (ArcGIS REST API)

Using single field geocoding, (ArcGIS REST API) I am having an issue with the World Geocoding Service when it comes to getting results that include both USA and US territories, like Puerto Rico for ...
2
votes
1answer
404 views

Date Time Format output in REST API in 10.1

It looks like the output format for dates is in ticks. Has this always been the case? Can it be changed at the server level or the request level?
0
votes
1answer
316 views

How tow use an ArcGISCache layer along with an ArcGIS93Rest layer?

I want to have two layers in my OpenLayers map. The BaseLayer, as well as the overlay layer are being served by ArcGIS Server. I have a problem with ArcGIS93Rest when using ArcGISCache as basemap. ...
2
votes
1answer
82 views

Why is pooled geoprocessing service not available via the ArcGIS Rest API?

I'm using ArcGIS Server 10.0. I've published a pooled asynchronous python geoprocessing service. It works correctly using the Rest API. When I configure the service not to be pooled, I can't access ...
1
vote
0answers
157 views

How can I export an image from an ArcGIS map service where the bounding box wraps?

I'm trying to export maps from an ArcGIS REST Service using WGS84 and have run into difficulty when the bounding box ends up exceeding latitude 180. I was hoping that the map would wrap, but it ...
1
vote
0answers
66 views

How to check if a GP service (async) has any jobs that are not completed yet?

I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...