Questions tagged [arcgis-rest-api]

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

Filter by
Sorted by
Tagged with
18
votes
4answers
18k 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 ...
7
votes
2answers
7k views

Sending 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 ...
2
votes
0answers
136 views

Problems using REST API to generate Tile Packages from World Topo (For Export)

Using the python script below it seems that I can request the generation of tile packages from an ESRI ArcMap REST service, and then download the resulting tpk file generated by ESRI. But when I try ...
5
votes
1answer
1k 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 ...
9
votes
0answers
3k views

ArcGIS 10 Rest services regulary stop working [closed]

I have a problem with a new installation of ArcGIS Server. The installation is ArcGIS 10 on Windows Server 2008r2 with IIS 7. I have followed this guide to configure the IIS ArcGISServicesAppPool: ...
6
votes
1answer
96 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 ...
5
votes
0answers
877 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
5answers
1k 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 qgis.utils.iface.addRasterLayer("http://server....
2
votes
2answers
2k views

Access geoprocessing service via REST, get JSON back

I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this: http://server/arcgis/rest/services/MyService/GPServer/MyTask The task takes a parameter. I was hoping I could ...
2
votes
3answers
993 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 ...
2
votes
1answer
1k 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
2k views

Understanding Date Time Format output in ArcGIS REST API?

It looks like the output format for dates from the ArcGIS REST API at 10.1 is in ticks. Has this always been the case? Can it be changed at the server level or the request level?
2
votes
2answers
2k 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 ...
1
vote
1answer
381 views

Manage Map Cache using ArcGIS Server 10.4 REST API using C#.net

I am trying to use the ArcGIS Server 10.4 REST API to manage map caches via C#.NET, System.Net.Http. I am able to access and utilize the REST API with this technology, so I know it can work. But this ...
1
vote
2answers
4k 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
1answer
1k views

How tow use an ArcGISCache layer along with an ArcGIS93Rest layer?

I want to have two layers in my OpenLayers map. The BaseLayer, as well as the overlay layer are being served by ArcGIS Server. I have a problem with ArcGIS93Rest when using ArcGISCache as basemap. ...
0
votes
2answers
442 views

ArcGIS REST API: hide/show layers

I've developed an application on leaflet JS, which loads the services from local ArcGIS server through Arcgis REST API. The following code loads the service: function addServiceToMap(service, layers ...