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 ...
16
votes
4answers
16k views

Programmatic authentication to ArcGIS Server secured layers via RESTful API

I have an ArcGIS 10.1 Server instance exposing secured mapservices on the Internet. My need is to code down a client application (which I am currently building using the 3.3 version of the ArcGIS ...
9
votes
2answers
6k 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 ...
9
votes
2answers
7k views

How to navigate the REST endpoints and retrieve Field information programatically

I'm adding a Dynamic Map Service to an ArcGIS Server JavaScript API map, and I need to get hold of each component layer and its fields, so I can run a query. See the sample ArcGIS Server services ...
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: ...
8
votes
1answer
6k views

Struggling with ArcGIS REST API and tokens

I'm doing my best to secure my AGS (9.3.1) services, but have struggled with tokens. As you can see, my nw account belongs to the agsadmin and agsusers roles: I have assigned these same roles to my ...
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 ...
7
votes
2answers
2k 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 ...
6
votes
3answers
3k 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 ...
6
votes
1answer
4k 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 ...
6
votes
2answers
1k 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 ...
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 ...
6
votes
1answer
1k 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 ...
5
votes
1answer
2k views

ArcGIS REST Server Object Extension Examples

I'm looking for a few good examples of a REST server object extension (SOE) showing more than the common ESRI sample. I'd like to see some RestOperation samples as well and a few different TryGet ...
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 ...
5
votes
2answers
617 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 ...
5
votes
1answer
1k 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 ...
5
votes
1answer
2k 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 ...
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 ...
4
votes
1answer
2k views

How to find the polygon containing a given coordinate using ArcGIS Geometry Service?

Say I have an ArcGIS Server GeometryService running, and a map service containing ZIP code polygons (all ArcGIS 10.1). I want to pass a coordinate, and have it return which ZIP code contains that ...
4
votes
3answers
2k 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 ...
4
votes
2answers
820 views

Connecting to ArcGIS ImageServer in QGIS?

I'm having trouble opening an ArcGIS ImageServer layer in QGIS. The city of Fort Worth, TX has a 2017 ortho imagery service which can be opened in ArcGIS. I've tried to connect to it as a WMS Layer ...
4
votes
2answers
297 views

QGIS print composer, export as image, rest ESRI raster as basemap

I am trying to export an image from the print composer using this layer [ESRI rest layer][1] as a basemap. http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer I ...
4
votes
2answers
4k 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 ...
4
votes
1answer
709 views

How to query nearest date in ArcGIS Server REST?

How to query nearest date (today) in ArcGIS Server REST? Table: ID NAME DATA 1 test 2013-06-01 13:00:00 2 test1 2013-06-01 16:00:00 3 test2 2013-...
4
votes
2answers
4k 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 operation.\",\"...
4
votes
1answer
4k 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 ...
4
votes
1answer
122 views

ArcGis Rest Vehicle Routing Time Problem

I am using the ArcGis vehicle routing rest service. It works fine until I add in the EarliestStartTime for my route, then it no longer assigns the orders to the routes (delivery windows and breaks ...
4
votes
2answers
1k 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 http://sampleserver6.arcgisonline.com/arcgis/rest/services/EmergencyFacilities/...
4
votes
1answer
975 views

Creating mapping application with user input to dynamically weight/shade map layers? [closed]

Does anyone know of any examples of web-apps that allow user-input to change variable weights used to calculate symbology? My organization is looking to build a dynamic mapping application and while ...
4
votes
1answer
382 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, ...
4
votes
1answer
1k views

ArcGIS Vehicle Routing Problem Service via REST

I am trying to get a Vehicle Routing Problem to work as a geoprocessing service on one of our servers. I used the default_date with unix time stamp in miliseconds and set the times of orders and ...
4
votes
1answer
322 views

Call ArcGIS Server Buffer command without using SOM

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
0answers
214 views

Publishing tile cache map service with full scale range without artificially over-sizing it on ArcGIS Online? [closed]

I'm working within the ArcGIS platform including the ArcGIS Online account. I've got some high detailed orthophoto that I'd like to tile cache and than publish as a map service to my AGOL account. ...
3
votes
2answers
1k 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 ...
3
votes
1answer
769 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: http://<...
3
votes
1answer
7k views

Searching dates using 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 ...
3
votes
1answer
3k views

How to perform datum transformation in ArcGIS server REST API exportmap

I have a ArcGIS server 10.0 mapcontext in one projection (swedish grid sweref99 TM) which uses its own datum, also named Sweref99 . When I use the REST API's map service export function I want to ...
3
votes
1answer
770 views

Is it possible to find the Map Services URLs used in ArcGIS Flex or Silverlight web applications?

With the ArcGIS Server JavaScript API, you can find the URLs in the map services in the source code. Do the Flex and Silverlight APIs completely obfuscate the map services URLs? As an example, the ...
3
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 ...
3
votes
4answers
9k views

WKID (Well Known ID) for national projection for ArcGIS REST API

I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any ...
3
votes
1answer
665 views

How to get around the 1000 ObjectIDs limit on ArcGIS Server

I need use the ArcGIS REST API to query my ArcGIS Server services, the where parameter is like ObjectID in (1, 2, 3,...,2000). When the number of object ids is larger than 1000, the returned result ...
3
votes
2answers
415 views

QGIS fails to open REST Service

I'm using QGIS 2.18.10. I want to open the following WFS into QGIS: http://www.geoportal.lt/inspire-services/rest/services/INSPIRE/Transport_networks_CommonTransportElements/MapServer/exts/...
3
votes
1answer
2k views

Leaftlet and ArcGIS Server REST

I am fairly new to all of this and am looking for some guidance. Any information is appreciated! I am trying to use leaftlet to display shapefiles from an ArcGIS Server using the REST URL. I have ...
3
votes
1answer
3k 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 ...
3
votes
1answer
5k views

arcgis server & reverse proxy server

internet -- router -- reverse proxy server -- arcgis server Had this config. working great, after following this proxy server setup tutorial: http://support.esri.com/en/knowledgebase/techarticles/...
3
votes
1answer
208 views

Change the colors of the features

I've developed an application on Vue JS which loads the services from the ArcGIS Server via REST API. When I load a service by the URL http://arcgis/.../query?f=json&outFields=*, the layers are ...
3
votes
1answer
345 views

Forestry Service Raster ImageServer in QGIS

I routinely use these Raster Services (http://forestrymaps.alaska.gov/arcgis/rest/services/Rasters) for reference in GoogleEarth, but I'd much rather have access to them in QGIS. I've tried various ...
3
votes
1answer
309 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, ...
3
votes
1answer
647 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 ...