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
0
votes
0answers
21 views

Generating GeoPackge from WFS

How I can generate GeoPackge from WFS? I already searched on Google and didn't find something useful . For example, I want to convert this WFS layer as GeoPackge https://services.arcgis.com/...
1
vote
1answer
14 views

What format must the 'file' parameter be in the createItem function in arcgis-rest-portal?

I am attempting to upload a file (I have tried shapefile.zip and GeoJSON) using the createItem function from arcgis-rest-portal. The file is local and not passed via a form. Do I pass a local path? Or ...
0
votes
0answers
24 views

Problem with imagery extents returned by ArcGIS-REST server in QGIS

I am using the ArcGIS REST server for the Department of Resources, Queensland within QGIS 3.20.2-Odense and keep getting a mismatch between the extent of the imagery and the extent of the map-canvas. ...
0
votes
0answers
12 views

Survey123 Rest API: authentication token does not work?

I'm trying to use the arcgis API to write a script that calls the createReport REST API. The first step is to authenticate, and I am stuck there. I first get the token with: curl --location -g --...
1
vote
1answer
33 views

Getting token without providing credentials

In Getting correct sign-in token for ArcGIS REST Service using ArcPy with ArcGIS Pro I found that I was trying to use a token received from one source, on a different server, which didn't work. Now I'...
0
votes
1answer
10 views

Crop Corine LC via REST API

Using Corine's raster layer and REST API at https://copernicus.discomap.eea.europa.eu/arcgis/rest/services/Corine/CLC2018_WM/MapServer/1, is it possible to pass an extent/bounding box to crop the ...
1
vote
0answers
51 views

Getting correct sign-in token for ArcGIS REST Service using ArcPy with ArcGIS Pro

I would like to pull data from an ArcGIS Map Service, using Python (ArcPy/ArcGIS Pro), but I'm having trouble getting a token. My guidance: https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/...
0
votes
0answers
39 views

Using ArcGIS Pro to measure change in land use over time (dynamically evolving maps)

How can I use ArcGIS Pro to record change in land use over time? I am working with this landuse dataset for London. I would like to know what use any given polygon was being put to each year between ...
1
vote
0answers
31 views

Using ArcGIS REST Servers with QGIS 3.20 - Server issue or it's me?

So I'm trying to connect to this ArcGIS REST MapServer (which is used by colleagues with ArcMap without issues ofc). I have QGIS 3.20, with the fused ArcGIS REST Servers API. https://sintegram.gov.mt/...
0
votes
0answers
33 views

What is the syntax to query a raster layer in ArcGIS Server?

I'm familiar with querying a feature layer in the ArcGIS Server REST API, for example including a where clause, specifying the desired output fields, choosing whether or not to return the geometry: ...
1
vote
1answer
17 views

Get MapServer URL from webmap content using ArcGIS Runtime API for .NET to call SOE

My application is basically to call the SOE, and use its results in my mobile application, but in order to access it I need the REST URL. Here is what I got I have a map service published that ...
0
votes
0answers
26 views

Query point-intersection layer values with ArcGIS webmap (Python REST API)

I've created a webmap with ArcGIS. It has about 7 layers of information that are valuable to an app I am building. Is there any way to query intersecting layer values if I provide coordinates? For ...
0
votes
1answer
45 views

How to, if possible, copy data from an ArcGIS REST Service?

I do not believe this is a copy of Download Dataset From ArcGIS REST Service or Extracting data from ArcGIS REST endpoint? due to the source and type of service. I would like to copy the features from ...
0
votes
0answers
76 views

Batch geocode addresses using a REST API (ArcPy, CSV, Server)

My stand-alone Python script tries to geocode a CSV file of addresses. The script successfully geocodes this CSV file when using the *.loc file for this locator but not the published REST API. ArcGIS ...
0
votes
1answer
28 views

Using ArcGIS Python API to consume standalone ArcGIS REST API

I have access to a ArcGIS REST API service running on a standalone, unfederated ArcGIS Server. (Not AGOL or ArcGIS Enteprise) ie (https://xxxx.xxxxx.com/arcgis/rest/services/xxxxxx/xxxxMap/MapServer) ...
0
votes
0answers
16 views

Displaying map from ArcGIS REST API using Python

Is there any way to display an ArcGIS map from a standalone ArcGIS Server URL ie (https://xxx.xx.xxx/acgis/rest/services/MapServices/xxxxxmap/MapServer/) using Python? ideally ipyleaflet.
0
votes
1answer
37 views

ArcGIS ElevationSync no longer working?

I was using the ArcGIS REST elevation for a year or longer. However it stopped working, giving http 400 responses. According to documentation nothing changed. Anybody had a same issue or some further ...
0
votes
0answers
34 views

Add ArcGIS MapServer in a Folium Map

WMS can be added to Folium Maps. Similarly, is there a way to add ArcGIS MapServer in Folium Map as a layer? For example, I want to add this server to the Folium map https://ags02.sec.usace.army.mil/...
1
vote
0answers
20 views

Loading JSON with image link and extents into ArcGIS Pro

One of the ways to get data from ArcGIS REST API in image format is this. https://services.twdb.texas.gov/arcgis/rest/services/Base/BaseLayerQueryService/MapServer/export?bbox=-11360770.018835%...
1
vote
1answer
54 views

How to load JSON with image link and extents into QGIS

One of the ways to get data from ArcGIS REST API in image format is this. https://services.twdb.texas.gov/arcgis/rest/services/Base/BaseLayerQueryService/MapServer/export?bbox=-11360770.018835%...
0
votes
0answers
43 views

ArcGIS REST API query all features inside a Polygon Geometry

I have Feature Layer A and Feature Layer B Both layers are Poligons type. I query a feature from Layer A using que /query endpoint and get the geometry object like this const data = { f: "...
0
votes
0answers
17 views

Aligning and overlaying maps from different providers

I am quite new to this whole GIS domain, so I was hoping someone could shed some light into a problem I have been trying to solve for a while. I consume data from 2 different providers: http://www.bom....
0
votes
0answers
42 views

Return total of features with ArcGIS REST API

I'm trying to query an ArcGIS REST API endpoint and would like to get an added field with the count of features in the search. If I use Return Count Only as true, I will get the count, but not the ...
1
vote
2answers
107 views

Can QGIS load maps from a web viewer?

Some GIS maps can be viewed online by using a web browser. We can identify the data-link of the web map by, Right-clicking -> 1) Inspect -> 2) Sources -> 3) Locate the Data Link Can a web map ...
0
votes
0answers
46 views

Batch change pooling parameters in ArcGIS Server

I am trying to write a script in order to change the pooling parameters of all services within an ArcGIS Server 10.5 folder. I am having difficulty looping through and editing the JSON. The script ...
0
votes
1answer
34 views

How to enable “supportsAppend” in ArcGIS Online REST API

I am looking for some help using AGOL and the REST API. We have a project where users are making new routes for a network. We need to be able to upload and append their GPX data to an AGOL feature ...
0
votes
0answers
28 views

Layer legend symbol in OpenLayers from ArcGIS REST API

I am using OpenLayers to display vector layers coming from Esri ArcGIS REST API. Each layer has an attribute called renderer which has the information needed for drawing a legend. Is there a built-in ...
0
votes
0answers
18 views

Is there a .NET ArcGIS Server REST Wrapper library that supports 10.6 or later?

I am looking for a .NET wrapper for the ArcGIS Server REST API. I have found several on nuget and github but they haven't been updated in several years. I didn't see a a REST wrapper on https://...
0
votes
2answers
73 views

Unable to get shape data from ArcGIS REST API

I'm trying to download hurricane data from ArcGIS. There are two things I can do. I can go to their web interface at https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/...
0
votes
0answers
39 views

Editing and Versioning with ArcGIS Rest API

I'm developing a web app with ArcGIS REST API. I created Version A from default version, made some edits on an event layer where I acquired locks for Route A, then deleted Version A. (The API I called ...
4
votes
2answers
134 views

ArcMap Open Carto 2 WMTS not displaying in QGIS

I am a little perplexed as to why I cannot get the OS Open Carto 2 Basemap from Arcmap's Rest Services to display in QGIS. The WMTS link is here *(OS Open Carto 2) but upon adding it to QGIS through ...
0
votes
0answers
238 views

How to load specific ArcGIS vector tile layer using OL?

We have a react application using OpenLayers. We want to load a grayscale background layer. I found one at https://www.arcgis.com/home/webmap/viewer.html?useExisting=1&layers=...
1
vote
1answer
80 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
15 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
27 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
64 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
266 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
52 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
161 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
1answer
382 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
46 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
107 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/...
1
vote
0answers
19 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
17 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
38 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
44 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
82 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
66 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
43 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 ...
1
vote
1answer
19 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
2 3 4 5
7