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

learn more… | top users | synonyms

3
votes
1answer
230 views

Adding table to ArcGIS MapServer so 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 ...
1
vote
0answers
8 views

How to retrieve highlighted dynamic map image in ArcGIS rest API for given polygon geometries?

I am using ArcGIS rest api export map operation in dynamic map service to retrieve png for given extent. I want to highlight specific polygon (already have geometry of polygon) with any colour using ...
2
votes
1answer
207 views

How to delete features/records in ArcGIS Server using Python

How can I use python to delete records from a table, or features from a featureclass, when they are stored in ArcGIS Server? using REST "delete features" in arcgis api for javascript shows ...
2
votes
2answers
36 views

Is there a size limit when adding features to ArcGIS Server programatically using POST?

I'm inserting new points using the ArcGIS Server REST API addFeatures method - this is working correctly. However, I'm finding that when the JSON reaches a certain (undefined) threshold the POST ...
7
votes
2answers
4k views

How to send long JSON objects (polygon geometry, table rows) in POST request to Geoprocessing Service?

I am seeking to understand my options for sending long JSON objects in a request to a Geoprocessing Service. In particular, I am looking for some example code to illustrate how to include two long ...
0
votes
2answers
308 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
170 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
1answer
49 views

ArcGIS REST API: using /addItem with secure service

Using the code below I am adding 100's of Map Services to a portal instance. The script successfully runs and adds them however the services are secure so I would like portal to store the username ...
0
votes
0answers
34 views

Examples of ArcGIS Server 10.x REST map service layers with OpenLayers 3?

I am looking around, but so far I have only seen examples for OpenLayers 2 that use ArcGIS REST map services (dynamic, not cached). Is there a way I can add an ArcGIS 10.x REST map service to ...
0
votes
0answers
32 views

OpenLayers 3 - in-house tiled ArcGIS basemap not visible

I am new to openLayers. I am trying to display an in-house cached basemap from an ArcGIS REST service. I can see the basemap if I use "ol.source.TileArcGISRest" for the source property, but the ...
5
votes
1answer
786 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 ...
3
votes
1answer
2k views

Auto-updating map service via REST in ArcGIS for Server?

I have one map service which is updating per day so I need to manually overwrite the service in ArcGIS 10.1 for Server. In previous versions 10.0 its very easy..just update the .mxd then REST will be ...
2
votes
0answers
17 views

Set the Cache-Control max-age of ArcGIS Server 10.1 tiles to a custom value

Using ArcGIS Server 10.1 I have a cached service. The service is set to allow clients to cache tiles and the images do contain max-age values: Cache-Control private, max-age=86400 However, I ...
4
votes
1answer
353 views

Programmatic Configuration of ArcGIS Server data and layers?

I'm trying to figure out how people in the ArcGIS Server world script configurations. In the GeoServer world we have the REST Config API, which lets you configure connections to a database or files, ...
1
vote
2answers
46 views

How to HTTP GET a full dataset from ArcGIS WFS server?

I would like to download this data set in a common format such as Shapefiles, GML, GeoJSON or another format which contains all information. An ArcGIS server is used to provide the data. I found the ...
2
votes
2answers
916 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 ...
1
vote
2answers
248 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 ...
4
votes
1answer
258 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
704 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
1answer
184 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
0answers
40 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 ...
1
vote
1answer
409 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 ...
0
votes
1answer
46 views

Querying subset of large ArcGIS server dataset via REST

I'm currently set up as follows: A large wetlands polygon dataset is stored in an arcgis.com account as a feature service (~395,000 polygons). I'm using the Esri-leaflet javascript library in ...
2
votes
5answers
290 views

ESRI world imagery raster layer not working in Python Console

Have been using the usual code in python console to use the world imagery layer as a base map and have been pretty happy with this, from IEQGIS page ...
6
votes
1answer
57 views

Where can I find more details about rasterFunctions?

I have published an Image service with ArcGIS Server 10, containing the results of an interpolation operation. The Image which is returned from the service is in greyscale. I wish to render it with ...
1
vote
0answers
17 views

How to delete feature from ArcGIS secured REST end in Android

I am trying to delete feature from secured ArcGIS feature layer using apply edits by passing a graphic array as input, but it is showing me the error unable to complete operation, no adds, ...
1
vote
0answers
29 views

What can I do (print, publish…) with Esri's “free” maps accessible via their rest api?

I am mostly working with python, and the matplotlib basemap toolkit has so far been sufficient for my mapping and plotting needs. However now I managed to get to an image size, where the included map ...
1
vote
0answers
22 views

Address Locator fails at REST

I am having trouble publishing my US Address - Dual Ranges Address Locator to our ArcGIS Server. I've created it with a very small sample of 7 streets around my local University just to test, with no ...
1
vote
0answers
165 views

How to identify parameters sent from ArcMap to geoprocessing service on ArcGIS Server?

I have a question regarding the use of ESRI geoprocessing services and maybe some of you can give me a hint for the following "problem"... I have set up a geoprocessing service which should solve a ...
0
votes
0answers
5 views

Esri post method for getting the routing details [duplicate]

I am trying to get the routing details by using the routing services provided by arcgis like this in ESRI ...
0
votes
0answers
62 views

“Invalid JSON primitive: geometry” when adding features

I'm trying to use the arcGIS Rest API to add features to a feature layer, but I get an "Invalid JSON primitive: geometry" error. I get the same results if I leave out the spatialReference. The ...
1
vote
3answers
106 views

Arcpy/REST: how to save raster dataset from URL

I have a script which downloads features from an ArcGIS MapServer via the REST API. Getting vector features is relatively trivial since the features can be retrieved as JSON. However, when retrieving ...
1
vote
0answers
77 views

ArcGIS historical traffic data with Impedance attribute of miles

I'm trying to solve a route using an impedance of miles (to get the shortest route) through ArcGIS Sever 10.3.1 rest API. However, I would also like to get the travel time of this route based on ...
2
votes
2answers
213 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
2answers
113 views

What is the expected QGIS behavior when adding an ArcGIS Rest vector MapServer layer to QGIS?

The instructions here: https://hub.qgis.org/wiki/17/Arcgis_rest are straightforward, but I'm getting the same 1000 features regardless of extent (with the 1000 feature outside the viewable map extent ...
6
votes
2answers
3k views

Download Dataset From ArcGIS REST Service

Looking at this information page for a dataset hosted on esri.com: http://fema-services2.esri.com/arcgis/rest/services/2012_Sandy/ImageCat_NLT/MapServer/layers Trying to figure out how I can get ...
0
votes
0answers
19 views

Transform/Reproject an ImageService with Esri REST Api

I have an image service that was created with a NAD_83 Stateplane Coordinate System. I need to make this match the started Web Mercator. Can I reproject from the REST API? From this reference it ...
1
vote
0answers
82 views

WKID issue when adding raster layer from ArcGIS “mapserver” to QGIS via REST

QGIS docs here describe how to do this. I am trying to add a layer from this MapServer: gps.digimap.gg/arcgis/rest/services/JerseyBaseMap/MapServer When I try the following command from the Python ...
0
votes
1answer
56 views

Returning feature at address using ArcGIS REST Geocoding Service?

I have a geocoding service running on my ArcGIS Server Advanced 10.2.2. One of my supervisors tasked me with figuring out if there was a way to use a REST call to return a feature that is located at a ...
0
votes
0answers
41 views

Is it possible to publish ArcGIS map tile service without publishing component layers of that tile service?

I have an ArcGIS tile service that covers an area but when I look for the respective mapserver layer for that tile I did not find respective layer in the map server layer published.e.g. For this map ...
0
votes
0answers
32 views

What is the maximum number of input geometries for the ArcGIS Server REST geometry service Intersect operation?

I am trying to troubleshoot an HTTP POST of a large intersect query on a geometry collection with just over 27000 geometries. The result is that I get back the HTML page for Intersect stating that: ...
2
votes
1answer
246 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 ...
1
vote
0answers
25 views

How do you enable HTTP GET for submitJob for a GPService?

I published a GPService to ArcGIS Server 10.2--the service is a copy of an existing service with a different name. I receive no errors during publishing, however I get 404 errors when attempting to ...
3
votes
2answers
262 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 ...
1
vote
1answer
53 views

Access ArcGIS Server directories in geoprocessing service

I would like to save a file in the output folder on the ArcGIS Server and then provide a link for the user so he can download it. I have two problems: I can't figure out how to access the output ...
0
votes
1answer
309 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
0answers
31 views

Upload Map to ArcGIS Online and convert to KML

Looking to upload any number of map types from a web application and then have ArcGIS online convert them to KML and then send them back the application. If the map can't be converted, give the user ...
4
votes
3answers
1k views

Feature-level authorisation in ArcGIS Server REST services

Is feature-level authorisation even remotely possible when accessing ArcGIS (10) via the REST APIs? From what I understand I can secure individual services but at most this gives me control over who ...
3
votes
2answers
2k views

'invalid parameters' on ArcGIS rest API used from Silverlight

I have an Silverlight application from which I'm trying to create new features to ArcGIS server. Every time I get error {\"error\":{\"code\":400,\"message\":\"Unable to complete ...
1
vote
0answers
13 views

Does ArcGIS tracking server 10.0 supports rest url?

I'm using ArcGIS Tracking server 10.0 . I know Tracking server 10.1 has web connector but 10.0 version does not. Does ArcGIS tracking server 10.0 supports rest url ? Is it possible to use ...