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

learn more… | top users | synonyms

3
votes
0answers
611 views

How do I determine appropriate Date query syntax for a layer?

I'm writing a web mapping query tool to query Esri mapservice layers by date using the REST API. It has been said that the syntax depends on what kind of database is behind the mapservice layer, as ...
2
votes
0answers
46 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 ...
2
votes
0answers
399 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
0answers
155 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 ...
2
votes
0answers
218 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
586 views

Can I highlight a selected feature using the ArcGIS REST API only?

I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
2
votes
0answers
883 views

QGIS connecting to ArcGIS world imagery - not loading correctly

Have connected QGIS to ArcGIS World Imagery using python console as described on http://www.northrivergeographic.com/qgis-adding-an-arcgis-rest-service. QGIS Seems to connect and make a raster layer ...
2
votes
0answers
566 views

Multiple Country Codes? - World Geocoding Service (ArcGIS REST API)

Using single field geocoding, (ArcGIS REST API) I am having an issue with the World Geocoding Service when it comes to getting results that include both USA and US territories, like Puerto Rico for ...
2
votes
0answers
431 views

How can I export an image from an ArcGIS map service where the bounding box wraps?

I'm trying to export maps from an ArcGIS REST Service using WGS84 and have run into difficulty when the bounding box ends up exceeding latitude 180. I was hoping that the map would wrap, but it doesn'...
2
votes
0answers
153 views

returning exceptions to user via AGS REST

I've got a python script that I run as a standalone and as a gp service in AGS (moving to 10.1 now...). For the standalone execution, I'm throwing a custom exception if there is no data found based on ...
1
vote
0answers
48 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
41 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
28 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
157 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
0answers
122 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 ...
1
vote
0answers
111 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
95 views

Import ARCGIS web dataset contours into Sketchup

My local council has online ARCGIS data sources including 1m elevation contours. I am trying to import these into a sandbox terrain model in sketchup to do some landscape planning. Conceptually I ...
1
vote
0answers
42 views

How to delete features with a date attribute before today's date with ArcGIS REST API?

I have a published feature service where road closure information is input to be shared with the public. The data input contains a couple of project date fields. I'd like to use a script that runs on ...
1
vote
0answers
58 views

How do I search with multiple parameters in ArcGIS API?

I need to perform a search on a MapServer that populates a datagrid with the resulting information such as in this example Show find task results in a DataGrid. However, I need to be able to have ...
1
vote
0answers
146 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 ...
1
vote
0answers
42 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: http://<...
1
vote
0answers
48 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
0answers
55 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 ...
1
vote
0answers
37 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 ...
1
vote
0answers
235 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
0answers
116 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
0answers
51 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
0answers
244 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 ...
1
vote
0answers
87 views

Use ArcGIS-server restapi to return geometries as Json objects

I'm very new to ArcGIS-server REST api, but have been using ArcGIS desktop and other web maps for a while. In one of the Buffering example, I found one GP service which takes geometres in as ...
1
vote
0answers
296 views

ArcGIS Server Object Extension (SOE) RestOperation configuration

How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information? So, if string is 'owners' then get names of ...
1
vote
0answers
171 views

How to check if a GP service (async) has any jobs that are not completed yet?

I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...
1
vote
0answers
178 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 ...
1
vote
0answers
153 views

Is it possible to save multi ring polygons to the ArcGIS server REST API?

I'm trying to insert new polygons that the user has drawn through the addFeatures REST endpoint and I'm getting an error when the user draws a bow-tie and tries to insert it. Is this simply not ...
0
votes
0answers
10 views

How to create a new datum transformation within the ArcGIS REST API?

I'm trying to get a new (EPSG) datum transformation parameter added to the ArcGIS REST API so that I can then get a WKID code for use in ArcGIS Online applications. Does anyone know how to get a new ...
0
votes
0answers
13 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 operation.","details":["...
0
votes
0answers
44 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, ...
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 query?where=objectid+%...
0
votes
0answers
47 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
0answers
37 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
31 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 ...
0
votes
0answers
170 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
124 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 ...
0
votes
0answers
35 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 ...
0
votes
0answers
55 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: '...
0
votes
0answers
49 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 ...
0
votes
0answers
95 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 ...
0
votes
0answers
93 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 services....
0
votes
0answers
70 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 ...