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

learn more… | top users | synonyms

2
votes
1answer
146 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 ...
1
vote
1answer
16 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
22 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
23 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
0answers
233 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 ...
2
votes
2answers
30 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
24 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 ...
3
votes
1answer
65 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
1answer
138 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
49 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 ...
3
votes
1answer
501 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 ...
4
votes
1answer
183 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 ...
6
votes
2answers
236 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 ...
1
vote
1answer
83 views

List layer names from Map service using python

I am trying to get a list of layer names within our rest services for all services and folders. I have two codes that I am trying to put together and for some reason the layer code doesn't seen to ...
1
vote
1answer
18 views

How to view My Content post on ArcGIS Online?

I have posted my layers on ArcGIS Online using Esri toolbox and python script. Now I want to view the layers that are posted. What is the correct query that will return me Json result of "My ...
1
vote
0answers
21 views

Does ArcGIS Directions API take Traffic into consideration when calculating Driving Time?

I'm trying to calculate the Estimated Time of Arrival (ETA) between 2 locations and I need to take traffic into consideration. I found this API call but it isn't clear if it includes traffic in the ...
1
vote
1answer
64 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 ...
1
vote
1answer
314 views

Are folders always part of ArcGIS Server REST API service name?

I'm using an ArcGIS REST map service, and my question is how do I construct the URL to the service? Specifically, what relationship is there between the Service Name, the Test Server, and the folder ...
0
votes
0answers
28 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 ...
2
votes
2answers
88 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 ...
4
votes
1answer
415 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 ...
1
vote
1answer
70 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
42 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 ...
1
vote
2answers
237 views

How do you programmatically determine if a layer supports the query capability via the ArcGIS Server 9.3.1 REST API?

I am using ArcGIS Server 9.3.1 SP 1. I want to be able to determine the capabilities of each published layer, specifically I am looking for all layers with query capabilities. Being familiar with ...
0
votes
0answers
37 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
56 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
44 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
75 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
56 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
1answer
44 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
0answers
26 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 ...
2
votes
1answer
86 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 ...
2
votes
1answer
116 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
32 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 ...
1
vote
0answers
78 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 ...
0
votes
0answers
87 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", ...
1
vote
1answer
299 views

ArcGIS Reference Layer over ArcGIS Terrain base(or Imagery) Layer using OpenLayers

I am using Openlayers for a Map application which uses basemaps by ESRI (or ArcGIS). What I am trying to achieve is something like this: http://www.arcgis.com/home/webmap/viewer.html From Basemaps ...
0
votes
0answers
34 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
533 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 ...
0
votes
1answer
329 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
81 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
37 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
536 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
145 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
51 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. ...
0
votes
2answers
123 views

ArcPy add point to a FeatureServer Layer

What is the best practice to add a point to a FeatureServer Layer using arcpy? using rest services, write to db, etc? Where can I find a code sample?
0
votes
0answers
57 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
1answer
128 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
130 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
152 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 ...