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

learn more… | top users | synonyms

0
votes
1answer
11 views

Jagged line and markers when publish map on ArcGIS Server

We develop native app with Esri iOS SDK and Esri Android SDK using ArcGIS Server, when we publish our map using Server, road lines become jagged. So when using this road service in our app ...
0
votes
0answers
12 views

Query Task Pagination

In the 10.3 REST API they introduced: Supports pagination in a query layer. Use resultOffset and resultRecordCountparameters to page through a query result. I don't see any options to take advantage ...
0
votes
0answers
8 views

Identify task to multiple tiled layers

I have a map consisted of many tiled layers that show points. How can i perform an identify task to the visible tiled layer. Be aware it is tiled layers not dynamic. Any suugestions?
0
votes
1answer
36 views

How to convert date field value returned by REST API to correct date? [closed]

I performed a query on this USGS feature service of Airport locations: Click for query And the value for the field LOADDATE is: LOADDATE: 1411380301000 However, when I pull the layer into ArcMap, ...
0
votes
0answers
16 views

With ArcGIS Server's REST API, can I request a non-default symbol size when requesting a legend JSON?

I am using the ArcGIS Server REST API to retrieve legend information for one of our map services. I am requesting that information as a JSON object, so my HTTP request URL looks like this: ...
0
votes
0answers
10 views

ArcREST PublishCSVParameters error

I am consistently receiving this error when trying to publish a CSV as a hosted service. My only hunch is that the layerinfo variable is incorrect, however by the ArcGIS documentation I am passing ...
0
votes
0answers
18 views

ArcGIS Rest Services JSAPI Not Displaying Relation to Applications

I have two user accounts. One can see imagery at the ArcGIS JSAPI interface on Rest Services. The other cannot. Does this definitively mean that the user with no access to the imagery in other ...
1
vote
1answer
76 views

Add Item and Publish Service with ArcREST or ArcPy

I would like to have an automated process which does the following: Adds a CSV to our portaL/AGOL organization account. Publishes the item as a hosted feature service. Consumes hosted feature back ...
1
vote
1answer
22 views

Hosted ArcGIS Online feature does not return any data?

I would like to share a table as a feature service hosted in ArcGIS Online. I am able to publish the table as a feature service but when using the REST API interface with for ArcGIS Server I am ...
0
votes
0answers
43 views

Trying to convert GPS LatLng Android coordinates to use in ArcGIS rest - esriMeters

I am getting the LAT and LNG position from Android. Both values are of type double, in Degrees. For example: NY, USA Latitude: 40.7142700 Longitude: -74.0059700 Then I have a service ArcGIS REST. It ...
0
votes
1answer
53 views

AddFeatures to an ArcGIS Online Feature Service?

Is it possible to add and delete features from an ArcGIS Online-hosted feature service? I'm able to do this with services hosted on our ArcGIS Server (example here), but don't see the option under ...
0
votes
0answers
21 views

How to get min/max values from range domain in ArcGIS Server REST API

I am publishing a table with a min value of 0 and a max of 10, how do I retrieve these values in the REST API interface? I would like to return all values. 0-10. I am using ArcGIS Server 10.2
1
vote
1answer
40 views

An unexpected error occurred processing the request when requesting the layer definition Url

When I publish my MXD in ArcGIS 10.0, the service url which returns the layer definitions in json format returns an error. {"currentVersion":10.05,"error":{"code":500, "message":"An unexpected error ...
1
vote
1answer
38 views

ArcGIS API for JavaScript RouteParameters vs REST API

I have the network analysis service and I need to get the route between two points, but I don't want the single path polyline, but rather set of paths representing the edges it travels though (pretty ...
1
vote
0answers
12 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 ...
0
votes
0answers
17 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
31 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 ...
2
votes
0answers
88 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 ...
0
votes
0answers
22 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 ...
1
vote
0answers
22 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
80 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 = ...
0
votes
0answers
23 views

Is map service tile size working correctly via REST API of ArcGIS for Server?

I am using a remote ArcGIS for Server map service like this: ...
0
votes
1answer
73 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 ...
0
votes
2answers
129 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 ...
0
votes
1answer
105 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
49 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. ...
1
vote
1answer
56 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 ...
1
vote
1answer
70 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
43 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
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
121 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
47 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
64 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 ...
2
votes
1answer
51 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 ...
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 ...
1
vote
0answers
116 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 ...
1
vote
1answer
59 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 ...
1
vote
1answer
184 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: ...
2
votes
1answer
572 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
74 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
72 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 ...
1
vote
1answer
85 views

Use ArcGIS Server REST geoprocessing service from the client without ArcGIS Web API's or ArcObjects

I'm checking to see if anyone knows how to execute and read the response from a custom Geoprocessor published on an ArcGIS Server as a REST web service without the use of ArcObjects or an ArcGIS web ...
1
vote
1answer
138 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 ...
0
votes
0answers
167 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 ...
1
vote
1answer
86 views

REST query to determine which polygons a geometry is inside and outside

I am experimenting with feature services (ArcGIS Server) using REST. I have a specific problem now I'd like to solve but not sure of the best way or syntax. I have an input geometry that I query to ...
2
votes
1answer
34 views

How to get the hostname for published services for particular arcgis credentials

I have been creating a desktop application using Rest API. I have ArcGIS account credentials on which I have posted some maps and layers. In my application, when I sign in to ArcGIS using my ArcGIS ...
2
votes
1answer
130 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 ...
2
votes
2answers
390 views

ArcGIS Rest performing query on feature service layers using within and intercepts

I am creating an application that needs to query a bunch of layers over REST to see which layers a point or line is within. At the moment I have a local ArcGIS server set up with some feature ...
0
votes
1answer
95 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 ...
2
votes
1answer
145 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 ...