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

learn more… | top users | synonyms

4
votes
1answer
338 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 ...
1
vote
1answer
117 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
2
votes
1answer
62 views

ArcGIS Server - Secured Services

Is there any way to tell, via the SOAP or REST APIs, if an ArcGIS Server map service requires an authenticated user? I have set an application to use a token service for accessing secured map ...
1
vote
0answers
9 views

How to get Set-Cookie header from ArcGIS REST services?

When I call an ArcGIS REST service, I get Cache-Control, Etag, Content-Encoding, Content-Type, Transfer-Encoding and Date headers. But I don't get Set-Cookies header. Is there a way to get this ...
4
votes
1answer
530 views

ArcGIS Feature Service - Return a Single Row / Record

Is it possible to get just one row/record returned from a feature service query -- similar to the TOP, ROWNUM and LIMIT in database queries? Of course, OBJECTID "1" is not guaranteed. Is there a trick ...
2
votes
1answer
131 views

Send query to ArcGIS REST from OpenLayers app

I am using OpenLayers application and sending WMS query to my geoserver. My polygon is sending to server and gets intersected features. var feature = Mypolygon; var filter = new ...
4
votes
1answer
215 views

Call ArcGIS Server Buffer command without using SOM

All, 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 ...
4
votes
1answer
132 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 ...
3
votes
4answers
4k 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 ...
1
vote
1answer
131 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 ...
1
vote
1answer
158 views

Proxy error with ArcGIS PrintTask - AMD

I am trying to add a simple layer of security to my ArcGIS JS app. I do not want to prompt my users for a login to retrieve a token. So instead I pass the username/password inside this PHP proxy: ...
3
votes
1answer
626 views

How to Query Layer using ArcGIS REST Services for Records with Date Closed Field less than 24 hours ago?

I am current trying to do layer definitions on a map and so I am trying to filter some records via a time factor so i was writing in the Where field DATE_CLOSED_ON > (CURRENT_TIME - 24) and ...
0
votes
0answers
11 views

Is it possible to intersect 2 feature layers and extract common data points using ArcGIS REST services

I am working on a GIS web application with ARCGIS web services, would appreciate any guidance on this problem: I have 2 Feature Layers with data points which i wish to intersect and extract the ...
0
votes
0answers
24 views

Group by substring of field using ArcGIS REST API?

I'm trying to fetch crime stats for a community application. The ArcGIS REST API provides the following fields: DISPATCH_DATE_TIME: 1226089860000 DISPATCH_DATE: 2008-11-07 DISPATCH_TIME: 20:31:00 ...
1
vote
0answers
47 views

Are the folders always part of the service name in the rest server response? [duplicate]

Possible Duplicate: ArcGis Rest – service name vs. folder - Are the folders always part of the service name? I'm using ArcGis with Rest. My Question is, are the folders always part of the ...
1
vote
0answers
121 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
0answers
52 views

ArcGIS server 10.1 rest api queries fail inconsistently

Apologies for length and xposting, here and geonet I have a set of map and esri feature services running on a 10.1 AGServer with SQL Server back end. When I query the layers for either the geometry ...
2
votes
2answers
603 views

ArcGIS REST export map features as geoJSON

Is it possible to export the features from a map as geoJSON using an ArcGIS REST service? I'm trying to make a vector layer in OpenLayers based on the output from the map's present view based on a ...
0
votes
1answer
29 views

Calling An ArcGIS Webmap's Scales

I am composing an Arcpy tool to help users cache their current mxd's webmaps (our own services). I want to know a way to call the ArcGIS Web Map's scales with ArcPy. Once I have the web maps scales, I ...
0
votes
2answers
1k 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
79 views

Adding feature layer to ArcGIS Online from REST API?

I need to add a feature layer to ArcGIS Online account from code. i have created a developer account where if i want to create a feature layer i have to upload a CSV file and it makes the feature ...
0
votes
0answers
19 views

arcGIS REST api sitemap empty unless service in root folder?

Running a 10.2.2 arcgis server. We have multiple folders, some secured some public. If the root folder is empty, the xml sitemap returned is empty. However, if we publish a service in root, the ...
0
votes
0answers
19 views
0
votes
1answer
54 views

Feature attributes won't update

I am trying to update feature attributes from a .NET application that I'm working on. I've cleaned the code down to the following example: string serviceUrl = ...
1
vote
0answers
17 views

Using REST Services acquiring limited data from DataBase like LayerDefinition

I am working with ArcGIS Server 10.2 and MS SQL DB. I have a requirement in which i need to retrieve limited data using a query from a bulk data using the same Map Service REST URL which can give me ...
0
votes
1answer
77 views

Attempt to generate ESRI REST Token generate 'no client_id specified' error even when client_id is in the request body

I'm making a HTTPS POST request to the following URL: http://www.arcgis.com/sharing/rest/oauth2/token/ In the Request body I've added the following JSON: ...
0
votes
1answer
51 views

ArcGIS Server 10.2.2 - Map Export Sometimes Returns Blank Image

I've run into a fun little issue with ArcGIS Server 10.2.2 to end my week with... I have discovered today that the export operation (the one that renders map layer images) is randomly returning blank ...
1
vote
1answer
46 views

ArcGIS - Suggest returning result but find not finding result?

I have done a bit of searching but have not found anything like what I am seeing when using ArcGIS Rest API. My setup is pretty much what is suggested on the documentation... I make a call to the ...
0
votes
2answers
99 views

Edit or update ArcGIS Online Web Map data using the REST API

Web Map data is described on the ArcGIS REST API site under the Common data types section. I am curious whether I can request the current JSON configuration as shown in the examples (using /data in ...
2
votes
1answer
204 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 ...
1
vote
1answer
64 views

Address Locator “Geocoding service”

I've already created an Address Locator sucessfuly and published it as a Geocoding service, but I need to verify that its working from the rest since its not working from my web mapping application ...
0
votes
0answers
160 views

Displaying ESRI REST Services in OpenLayers 3

I'm looking for an example that demonstrates how ESRI WMS can be displayed with OpenLayers 3. In OpenLayers 2, we had a OpenLayers.Layer.ArcGIS93Rest class (see example and docs). layer = new ...
0
votes
1answer
45 views

ArcGIS Server security settings via script

Can anyone point me to a method for setting a service, folder, or the site root security setting to public via script? It can be using one of the admin tools (e.g. ...
2
votes
1answer
258 views

Using ogr2ogr to download GeoJSON files from ArcGIS MapServer

I am trying to download as a GeoJSON file a line feature from a ArcGIS MapServer REST Service run by the National Park Service (link is here) so that I can open the data in QGIS. Using the guide ...
0
votes
0answers
36 views

How to use ArcGIS rest services with mapsforge or osmdroid?

I want to use ArcGIS rest services with mapsforge or osmdroid . How can i use dynamic map service of ArGIS for server ith osmdroid ? I just want to show a dynamic map with mapsforge or osmdroid? Does ...
0
votes
1answer
89 views

ESRI Online Geoenrichment POST

've been working on an app for a presentation and we are using ArcGIS Online to geoenrich Canadian Census Dissemination Areas upon the users click. The only catch here is that some of the polygons are ...
0
votes
0answers
22 views

select (analysis tool) runs fine as a tool but crashes miserably when invoked as a rest service

"depts" , a geotable stored in oracle. polygon type. in arccatalog i create a very simple model: the "select" tool (from analysis toolbox) is fed with "depts" run model. "success". No warnings, no ...
2
votes
1answer
111 views

ArcGIS Geoprocesing Service using map service data for input

I'd like to create a geoprocessing service in ArcGIS Server (10.2) which uses an existing map service as input. I have been trying to do this with a ModelBuilder model, but it's copying the existing ...
3
votes
1answer
44 views

ArcGis Rest Vehicle Routing Time Problem

I am using the ArcGis vehicle routing rest service. It works fine until I add in the EarliestStartTime for my route, then it no longer assigns the orders to the routes (delivery windows and breaks ...
0
votes
0answers
56 views

single quote escape for arcgis server rest query

This might possibly belong in stack overflow so let me know if I I should go there instead. I'm trying to create a simple query using the arcgis rest api and javascript. I think my problem is with ...
6
votes
0answers
2k 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: ...
0
votes
0answers
840 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 ...
2
votes
1answer
44 views

Why are REST LOD (scales) different to the WMTS Capabilities XML

I have an internally published ArcGIS webmap. The Rest's Level Of Detail (LOD) reports a different number to the WMTS capabilities XML. I checked out a few public services, and found the exact same ...
1
vote
0answers
100 views

Has anyone been able to programmatically generate and post web map definitions to ArcGIS Online and create web maps?

I'm using Python to build an ArcGIS Online web map definition JSON string, and then trying to post the configuration to ArcGIS Online to create a web map. I am using an admin account to generate the ...
2
votes
1answer
113 views

ArcGIS Online Web Map JSON ID Property

I am programmatically creating web maps via the ArcGIS Online REST API and noticed that the webmap json spec has an id property but I'm not sure where it comes from or how to best set it. For a given ...
3
votes
1answer
357 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 ...
1
vote
1answer
50 views

ArcGIS rest API error The given key was not present in the dictionary

I'm using the rest API to add a feature to a public feature layer and it's giving me the error "Error: 1000, Description: The given key was not present in the dictionary". What does this mean? How do ...
2
votes
1answer
437 views

ArcGIS93Rest for Openlayers 3

In Openlayers v2 I could get a map from an ESRI server that was not a cached service using code similar to below var arcims = new OpenLayers.Layer.ArcGIS93Rest("MyName", ...
0
votes
0answers
70 views

How to visualize a map with big layers and dynamic query filter on arcgis online?

I've inserted one million points on arcgis online. But, I could not visualize a map with dynamic filter using MapService REST API. Using FeatureService REST API, it's possible to visualize a map with ...
1
vote
0answers
65 views

How do I setup the initial entry point into the ArcGIS Geoservices REST API?

I am trying to implement the ESRI REST API with a non-esri service (MapProxy). I am able to add my service to ArcCatalog 9.3 as an 'ArcGIS Server'. However, none of the sample layers are displayed ...