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

learn more… | top users | synonyms

4
votes
1answer
277 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 ...
0
votes
0answers
11 views

can not find the route between two points

When I try to find the route between these two points 233.46362, 266.51697 and 290.34512, 330.4421 with this link it says {"error":{"code":400,"message":"Unable to complete ...
2
votes
2answers
297 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
181 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
0answers
32 views

How to add arcgis rest api layer to geoext layer tree panel

How to add arcgis rest service layers to geoext layer tree. My code is below Ext.create('gxp.Viewer', { portalItems: [{ region: 'north', height: 40, ...
1
vote
1answer
240 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
28 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 ...
1
vote
1answer
213 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 = ...
6
votes
1answer
3k views

How to let ArcGIS Server see related records in a geodatabase

I have an ArcSDE geodatabase which contains multiple relationship classes. If I add this layer to ArcMap, the relationship is automatically applied (eg, the Identify dialog allows me to drill-down to ...
0
votes
0answers
24 views

ArcGIS rest request for extent in QGIS

I'm trying to import an ArcGIS rest service for a specific extent, and I can't seem to find the format of such a request in QGIS. In the tutorial on the QGIS site I see appending ...
1
vote
1answer
75 views

Installing and using ArcGIS REST API Connector plug-in?

I downloaded this plug-in http://plugins.qgis.org/plugins/connector/ from the plugins link at QGIS.org and it unzipped into a folder entitled "connector" in my "downloads" folder (running Mac ...
0
votes
1answer
1k views

Layer intersection using ArcGIS Server with Flex/REST APIs?

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
1answer
965 views

Deserializing GP Result JSON?

The value part of a GP Result can be any type of GP object (or literal). Does anyone know of a general way to deserialize this, preferably with either WCF or Json.NET? I'd prefer not to have to ...
8
votes
2answers
4k views

ESRI JSON Polygon Ring Orientation?

I am having a hard time finding any detailed documentation defining ESRI's JSON specs. I am hoping someone can shed some light on the following two questions. Similar to the GeoJSON spec, the first ...
2
votes
3answers
1k views

Converting ArcGIS REST to OpenLayers Vector?

i am working with openlayers and esri rest services... in my api due to esriGeometryPolygon for all city , rendering map is taking lots of time ..there for i dont take a good result.. first of all is ...
2
votes
1answer
32 views

Accessing advanced metadata formats from ArcGIS REST API?

Esri allows us to choose the style of the metadata we would like to use: Those styles allow you to add more specific metadata e.g. more description about a specific field like this: the problem is, ...
2
votes
1answer
70 views

How can I get a map image from an ArcGIS mapserver centered on a single feature?

I have a Python program that is not using arcpy. I need to get an image from a mapservice centered on a single feature using the REST api. I can call the export method to get a map image: ...
0
votes
0answers
42 views

ArcGIS Server Rest API date Issue

I am using "date '2015-8-10'" in ArcGIS Server REST API to retreive records from map services. But it returns the error that "Fail to Execute". my date is stored as "10-AUG-15". when is write date ...
0
votes
1answer
54 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
2answers
54 views

ArcGIS Server returning all feature attachments as text/plain

Using the REST endpoint on a feature service, it appears that all attachments are returned with a context type of "text/plain" rather than what is displayed for the attachment. In my case, I have a ...
0
votes
1answer
59 views

QGIS: Connect to a REST service

I want to connect to this REST Service, from QGIS Essen, using its URI: http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Property/MapServer/2?f=pjson Any tips please? I tried adding it as ...
0
votes
0answers
33 views

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

I'm receiving an error from ArcGIS Server on a large-ish(≈3800 geometries) collection of geometries on the relation http post operation: { "error": { "code": 500, "message": "Error executing ...
0
votes
0answers
30 views

ArcGIS REST API Services name and alias

In a published service that I have (i.e. https://domain/rest/services/MyService/FeatureServer) I can see two lists, one with the layers (that have spatial info) and the other with tables (that do not ...
1
vote
1answer
436 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
83 views

ArcGIS Online, Convert Geospatial PDF to kml or shp

I have a client that wants to be able to upload Geospatial PDF documents and have them displayed as a KML layer on Google Maps. They have suggested using ArcGIS Online to accomplish this, however they ...
2
votes
2answers
3k views

ARC GIS 10 + Google Maps API

I am new to ArcGIS. Is it possible to create a website that uses Google Map API but imagery from the ArcGIS 10 REST service? Actually, I like the functionalities provided by the Google Map API like ...
6
votes
3answers
2k views

How to share a hosted feature service with an application on ArcGIS Online?

According to the ESRI REST API documentation on authentication, a registered application can log in to AGOL via an App ID and App Secret and will then have access to the data that has been shared with ...
1
vote
2answers
45 views

How to update ArcGIS online metadata using the API?

I am trying to update metadata (XML file) for ArcGIS online items using the REST API but I am not quite sure how to do that. It says in the documentation that I should be able to change the metadata ...
3
votes
1answer
234 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 ...
2
votes
1answer
240 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
87 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
481 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: ...
1
vote
1answer
80 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
127 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
101 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
956 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
41 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
358 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
78 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
992 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 ...
4
votes
1answer
851 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
221 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
618 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
65 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
432 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
59 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
44 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
39 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 ...