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
1
vote
1answer
20 views

Does ArcGIS Server support querying multiple layers of service in single request?

I am using ArcGIS REST services from a server-side app and parsing the JSON response. I need information from several different layers on the same service, and my queries are always for points. Is ...
0
votes
0answers
13 views

Using extra parameters on ArcGIS print templates service

I am using ArcGIS Server 10.5. And I am creating my own print template MXD files on ArcMap to print maps on web page. Then I am publishing them on ArcGIS Server. But I want to print extra information ...
0
votes
1answer
22 views

How to define projection when adding features to a feature service layer using its ArcGIS REST endpoint?

Using Python, I have an api with security incidents that I want to populate into a feature service layer. I've achieved this successfully using Add Features via the ArcGIS REST API endpoint (described ...
0
votes
0answers
32 views

Getting lat/lng for latest Wkid:3435, Wkid:102671 and rings

I've seen similar question as Getting lat/lng from wkid, latestwkid and x y coordinates but not sure how to put rings into ArcGIS server REST endpoint. Should I take every two coordinates and process ...
1
vote
2answers
70 views

REST Queries for ESRI Map Service Raster Layers

I'm having trouble getting REST queries to work for any ESRI Map Service raster layers. Right now I've just been working with the query generator as part of the ESRI Service Directory. Here's are two ...
0
votes
0answers
23 views

How to enable “supportsAppend” on a feature layer in ArcGIS Server?

ArcGIS Server has an Append function which allows the user to append data to an existing feature layer. The feature service has a property supportsAppend: A feature service returns the supportsAppend ...
0
votes
0answers
27 views

How to specify the data to be inserted in the ArcGIS Server REST API's Append function?

I have a feature layer that is hosted in ArcGIS Server 10.71 and I would like to insert new data into this layer using the ArcGIS Server REST API's Append function. As shown by the appendUploadFormat ...
1
vote
1answer
49 views

Adding multiple ground overlays to Google Maps API to toggle with checkmarks

I found this answer here by user @hoogw very useful regarding Overlaying ArcGIS REST API on Google Maps. I've been trying to add several layers to be toggled by checkmarks to no avail. The base URL ...
0
votes
0answers
88 views

Survey123 data with REST API

I need to access the data collected in Survey123. I reached out to ESRI and they have no training available on this topic and the documentation was lacking at best. I saw that there was a python ...
0
votes
1answer
14 views

How to get the job status of gis.item.export or make it execute synchronously?

I'm using the ArcGIS API for Python to export a feature service to a FGDB and then download it. My problem is that the export function appears to be asynchronous even though I set wait=True. The ...
0
votes
0answers
34 views

ArcGIS REST API invalid URL JSON

I'm using the ArcGIS REST API to create an OD cost matrix by using this link https://logistics.arcgis.com/arcgis/rest/services/World/OriginDestinationCostMatrix/GPServer/...
0
votes
0answers
20 views

ArcGIS REST OD Cost matrix based on matching ID points

In ArcGIS online it's quite easy to create an OD matrix based on matching ID points. If I have a layer with origins and a layer with destinations, I can easily create a matrix based on a common field. ...
1
vote
0answers
16 views

ArcGIS REST API requesting features over the dateline

I'm trying to get ArcGIS REST API Feature Server layers working on a map application. I'm trying to query a feature server using a bbox extent or the esriGeometryEnvelope going with their ...
1
vote
1answer
13 views

Cannot access `properties` key/value content when querying ArcGIS Feature Service for GeoJSON

Using ArcGIS with a developer account, I created a new layer, uploaded a .geojson file, and happily followed along the "query a feature layer" tutorial on their labs site. I successfully ...
0
votes
1answer
21 views

Why are web maps able to display features from a REST endpoint that is disabled?

Let's say I have web service X: maps.example.com/servername/rest/services/folder/ServiceName/MapServer/0 If I navigate to X in my browser's search bar, I get the following error: { "Error": "...
0
votes
1answer
31 views

Returning Geometry - ArcGIS REST service

Query Esri service won't return geometry. I'm using a query on ArcGIS REST service, the first link returns geometry, but with the same query parameters the second link won't return geometry. First ...
0
votes
2answers
33 views

Turn on labels for an ArcGIS dynamic MapServer layer

While I am generally knowledgeable about using the ArcGIS Server REST API to work with dynamic MapServer layers, this is the first time I have tried to turn on labels. Below is a call for a tile that ...
0
votes
0answers
9 views

importTiles operation via post request using python requests stopped working seemingly at random, why?

Writing a script to import tiles into an existing tile service on AGOL it was working fine up until the other day and now I get a 400 status code returned when making the request. The only coinciding ...
0
votes
0answers
49 views

No response from addPart operation when trying to upload parts of .tpk to AGOL (Python, requests, ArcGIS REST API)

Trying to automate the updating of a large .tpk on AGOL. When the .tpk is updated on my servers I do the following: Break into parts Call updateItem operation with multipart = true Make a request to ...
0
votes
0answers
38 views

Layer not completely drawing in ArcGIS published service

I am publishing a service and one of my polygon feature layers is not completely drawing when viewing the published data through ArcGIS REST API. All features within this feature class are drawing ...
0
votes
0answers
28 views

Retrieve count of unique values in a field grouping by another field in ArcGIS REST

I have a Feature Service hosted on ArcGIS Online, which I am querying through the ArcGIS REST interface. Unfortunately, I cannot share the service but I hope that with the following explanation it ...
1
vote
1answer
18 views

What do the response values from ArcGIS Rest API Elevation Profile function represent?

So I am trying to use the ArcGIS API and asked it to profile a route between two lat/longs: (52.106505, 1.186008) (52.113621, 1.246862) My results are a series of points between the two and they ...
1
vote
0answers
22 views

GeoJSON to ArcGIS JSON using Java

I have an application built in Angular which will invoke a RESTful service in back-end application which in turn will call the ArcGIS REST API. For: a feature will be created in the Angular ...
1
vote
2answers
177 views

Snap a point to a line and get the line ID (using the ArcGIS REST API)

I have an external work order management system in which users create new sidewalk work orders (points). When a user creates a sidewalk work order, a Jython script will invoke a URL that passes the X ...
0
votes
0answers
14 views

Update AGOL Hosted Feature Layer Data Using REST

I am trying to update a hosted feature layer which is published from a FGDB, using a C# client. In the AGOL UI, there is an option to overwrite all features in the feature layer and the underlying ...
1
vote
0answers
67 views

Difficulty getting usable response from secured ArcGIS REST API 10.2

I am trying to script the export of subsets of data from an ArcGIS Server to clients based on shapefiles they provide me. Our data are on a somewhat old rest endpoint (10.2). I have tried a variety of ...
0
votes
0answers
26 views

Unable to enable sync on AGOL via REST api3

I feel I'm doing something fundamentally wrong here - the update doesn't seem to be taking effect (when I look in the console afterwards it's still false). I'm writing a process in C# to update a ...
1
vote
0answers
123 views

Update Esri SOAP to REST

I'm new to ArcObjects, not a GIS professional so please be patient with my lack of GIS knowledge. I have an .Net Web application with ESRI.ARCGIS.SOAP references, looking to update them with rest. ...
0
votes
0answers
135 views

Getting polyline midpoint coordinates using ArcGIS REST API

I have an ArcGIS 10.7.1 feature service that integrates polyline GIS assets to a work order management system. In the work order management system, I want to retrieve the midpoint coordinates of the ...
0
votes
0answers
34 views

Publishing image service with JSON in ArcGIS Server creates inaccessible service

I used the following JSON to publish but it created inaccessible layer that I could not modify or delete. { "serviceName":"Suitability_1574658353.68_proj", "type":"ImageServer", "...
0
votes
0answers
37 views

Creating named user token vs app token for ArcGIS Online

I'm creating an ArcGIS Online token through C# and SSIS. So far, so good - the following code creates one: public void Main() { Dts.Variables["User::Token"].Value = GetToken().GetAwaiter()....
2
votes
1answer
46 views

REST service sources

Is it possible to retrieve a list of REST Services from an ArcGIS Server along with their MXD, and data sources (DB)?? I am using ArcGIS Enterprise 10.7.1
0
votes
2answers
135 views

ArcGIS JavaScript 3.3 add ArcGIS REST API Queried Feature Layer URL as Layer

Using the Query Generator on an ArcGIS REST Feature Layer, I generated a URL that filters the data by a geometry extent ({xmin: -104, ymin: 35.6, xmax: -94.32, ymax: 41}) This returns Current River ...
0
votes
0answers
199 views

ArcGIS online - How do I set-up the feature layer definition to allow me to truncate feature layers via REST API

I have written a script to automate the process of refreshing the data in a map in ArcGIS using R. As part of this I have been attempting to use the ArcGIS online REST API to truncate a feature layer ...
0
votes
2answers
288 views

Using ArcGIS Geocoding Service in QGIS?

Is there a way to use an ArcGIS Geocoding Server with QGIS? I recently lost access to my ArcMap License, so an alternative would be very helpful. The service in question would be: https://tnmap.tn....
0
votes
1answer
252 views

ArcGIS REST API query failing with large geometry as input

I am querying different ArcGIS Services passing a polygon as the input geometry to get the features from the service that intersect with it. However, depending on the polygon's geometry I get ...
0
votes
1answer
47 views

Query Data in ArcOnline REST API. Set-up error

I am attempting to query data that has been loaded into ArcGIS in the form of layers. I am attempting to query out basic data (Any data at this point) from a imported Layer. I think the error is ...
1
vote
1answer
408 views

ArcGIS Feature layer data update using API in PHP

I'm facing an issue with update data on the ArcGIS feature layer using API in PHP. Data is updating on the feature layer as expected, But data on the map is not representing. Every time when I'm ...
0
votes
0answers
46 views

Use a map service exposed via ArcGIS REST API as a data source in Data Integration Extension ETL tool

I am trying to use the SpatialETL tool in ESRIs Data Integration Extension to cut out rasters from a map service exposed via a REST URL on the following format http://utility.arcgis.com/usrsvcs/...
1
vote
1answer
36 views

ArcGIS Rest API returns No Results When Should Intersect

I can download statewide NY senate districts using ... https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Current/MapServer/56/query?where=STATE+%3D+36&text=&objectIds=&...
0
votes
2answers
119 views

ArcGIS REST layer doesn't show up in OpenLayers

I try to show a WMS layer with OpenLayers 4.6.5 but the tiles don't show up. I use the following code to load the WMS layer as ArcGIS REST service: new ol.layer.Tile({ source: new ol.source....
0
votes
1answer
80 views

Points in Polygon with ArcGIS-REST-JS library

I am trying to get the points in polygon with Node JS libraries. Using Simple JS, I can get using QueryTask. But there is no queryTask in Node lib. var queryFeat = require('@esri/arcgis-rest-feature-...
0
votes
0answers
41 views

Using REST API to update feature class that is not a published layer

Let me give a bit of a background on what I have: I have 3 published layers using a SQL view as a DataSource. The reason for this is because I have a layer for points, lines, and polygons that all ...
0
votes
0answers
60 views

How to change symbology on layer only available on Esri REST service?

I'm trying to work with a layer I can only find from an Esri REST service and I need to change the color of the layer, as the default blue it comes in doesn't show up well against an already-...
0
votes
0answers
23 views

ArcGIS REST service is returning error when distinct param is supplied

ArcGIS REST service (10.4.1) is returning the error Unable to complete operation. Unable to perform query operation. When ReturnDistinct=true and InputGeometry is supplied. This operation works ...
2
votes
2answers
384 views

Downloading layers as shapefile from ArcGIS Online maps?

I would like to download some features in this website. Now I can download ".lyr" file through clicking the apostrophe in the "layer list" (e.g., here). However, the ".lyr" file cannot be exported as ...
0
votes
1answer
686 views

Using REST API to get the data collected in Survey 123?

I'm trying to figure out how I can get the data collected with Survey 123 out of ArcGIS Online via the REST API. I am using Postman to try and formulate the POST request, but, all it shows me is the ...
1
vote
1answer
50 views

ArcGIS REST API ElevationSync result is empty?

I would like to use the ArcGIS REST elevation service. Providing a list of locations I would like to receive a list of elevations relative to these locations. After some struggling with the syntax I ...
1
vote
0answers
594 views

Seeking C# code to convert Easting/Northing to latitude/longitude in GDA94 / MGA zone 56? [closed]

I am very new to GIS. I'm pulling data from an ArcGIS Rest API service for a city in Australia to display as pins on a map in another system. The data I'm getting back has all the actual coordinates ...
0
votes
0answers
29 views

Create/deploy REST API using ArcGIS/Python

I've written a bit of Python code that utilizes ArcGIS to perform some analysis on a specific location. Running this locally on my computer works great. However, I am struggling and am unfamiliar with ...

1
2 3 4 5
7