Questions tagged [arcgis-rest-api]
ArcGIS Server REST API is used to access ArcGIS for Server and ArcGIS Online services
347
questions
1
vote
1
answer
31
views
ArcGIS REST API: Unable to complete operation on esriFieldTypeDate in query
I am trying to query the San Jose Crash Locations ArcGIS site by a esriFieldTypeDate field called CRASHDATETIME using the Python requests library. The where query was:
CRASHDATETIME < '1/2/2021'
I ...
0
votes
0
answers
9
views
Unable to complete operation. Error executing tool DBSCAN_Cluster
I have a problem with the executable tool I built using ArcGIS Desktop. Before I published the tool it was running fine. However, when running through rest, an error appears.
Can anyone provide a ...
0
votes
0
answers
8
views
ArcGIS REST API Connector
Is there a version of ArcGIS REST API Connector usable for QGIS version 3.10.8?
It only works until 2.99. I am trying to extract data from an ArcGIS MapServer.
0
votes
0
answers
15
views
ArcGIS mapserver returning green box
I am using a mapserver Export API to get historic satilite imagery. I have confimed that it does work with other dates. On the export page i get this:
Blank image with a green box in the middle. I ...
0
votes
0
answers
108
views
QGIS parsing error
I'm pretty much new to QGIS. I was trying to add this layer as ArcGIS Feature Service to apply some filters or build a query but it says "Reason: AFS provider getObjectIds failed:Parsing Error - ...
3
votes
1
answer
110
views
What URL to use when exporting data from an ArcGIS MapServer layer to GeoJSON using ogr2ogr?
I found an ArcGIS REST MapServer showing data I care about:
https://kart.ra.no/arcgis/rest/services/Distribusjon/Kulturminner20180301/MapServer
QGIS
I can visualize it in QGIS: Layer -> Add Layer -...
1
vote
0
answers
155
views
How to make a deep copy of a Hosted Feature Service
How can I make a deep copy of a Hosted Feature Service using ArcGIS Python for API?
My hosted feature service has one layer. I'd like to copy the hosted feature service and the layer. (I want to ...
0
votes
0
answers
108
views
Create a chart with JavaScript
I would like to create a chart with chart JS. I would like to load a JSON from my AGE rest and after that, create a cumulative chart with the length of my polylines.
My code blocks when I try to load ...
0
votes
0
answers
39
views
How to upload and publish a feature service from WAB to Portal using ArcGIS Rest API?
I have created a custom widget in WAB that allows user to upload the shapefile. Now i just want to publish the shapefile(.zip) as a hosted feature layer in ArcGIS Enterprise portal
0
votes
0
answers
192
views
Upload (POST) Content on ArcGIS Enterprise using Python
I have developed a script using the ArcGIS API for Python in order to add content and publish data onto ArcGIS Portal. However, I am looking for a methodology to move this data through a REST API ...
-1
votes
1
answer
460
views
Using tile server in Leaflet, how to find tile server urls?
https://gis.blm.gov/arcgis/rest/services/lands/BLM_Natl_SMA_Cached_without_PriUnk/MapServer/7
This is the info I want in a tile layer but I don’t know what URL to use.
Can someone explain how I can ...
1
vote
1
answer
70
views
Incomplete data from ArcGIS REST API query
Using an ArcGIS REST API call, I'm trying to access the Houston 311-reports public data (https://www.houstontx.gov/311/). Following Extracting data from ArcGIS REST endpoint?, I created a query that ...
0
votes
0
answers
56
views
QGIS Temporal Controller not working with ArcGIS REST API or Image Service
Scenario:
I am working with a public ArcGIS Image service that connects to QGIS through the ArcGIS ImagerServer Connector plugin and another that connects through the ArcGIS REST Server from the Data ...
0
votes
1
answer
60
views
Getting a list of projects from ArcGIS Image Service REST end point
I've made a script to get a list of projects from a ArcGIS REST end point, it works maybe 75% of the time but seems to suffer from time outs, possibly from making too many requests to the server?
I'm ...
1
vote
1
answer
442
views
Extracting ArcGIS REST Server from Webmap URL
I would like to view certain Webmap information in my desktop GIS software, and I'm looking for a way to extract a REST server (or, in future situations, WMS/WFS/WCS URLs) from a webmap website.
I ...
2
votes
1
answer
2k
views
Query Feature Service on ESRI ArcGIS REST API with Python Requests
I would like to query a feature service from a public resource, such as the Department of Public Works, to see if they have any buildings near a latitude and longitude. However, whenever I query the ...
1
vote
0
answers
176
views
Connect A 3rd Party API to ArcGIS Online [closed]
I am making a REST API that provides lat-long coordinates. I would like to create a pipeline to feed this API into an ArcGIS Online map. Is this doable? I am a programmer. Can ArcGIS online parse a ...
1
vote
0
answers
211
views
ArcGIS FeatureLayer Query not running when using not equals (!=) operator [closed]
I am using the ArcGIS REST Services Directory to run a query on my FeatureLayer and I'm having some trouble. In the documentation it says that the Where clause can take = and !=. The = works just fine ...
3
votes
1
answer
272
views
Add features to non-public feature layer using REST API
I have a feature layer that I query from a python script using the ARCGIS REST API. I also call the Geoprocessing service to create buffers, etc. all using a token generated via my [portal_root]/...
0
votes
1
answer
409
views
ArcGIS Portal REST API using access token
I'm trying to query my Portal's REST API via my-portal-hostname/webadapter/sharing/rest in POSTMAN. I am able to generate a token via /sharing/rest/oauth2/token however I am not able to then use the ...
0
votes
1
answer
103
views
Manage data versions using JavaScript for ArcGIS Enterprise
I developed a small web application that contains a Map view, and is loaded with features that were published. So I have (FeatureServer, VersionManagementServer).
I decided to to add the functionality ...
0
votes
1
answer
281
views
Unable to get distinct values in the table: Get error message "Error performing query operation" most of times
We are using ArcGIS REST Services (Version- 10.71), for querying distinct values in the table, however, most of the times our query return error: “Error performing query operation” with 500 error ...
0
votes
0
answers
20
views
Modifying a REST directory to add a "FindNearest" feature
I'm currently building a tool to help people find information about their address in Paris but ran into a problem :
Basically, I'm using an ArcGIS Rest service to find which building (polygon) an ...
2
votes
1
answer
87
views
Loading windmill layer from Vindbrukskollen's map to QGIS
My aim is to visualize the windmill locations at QGIS from Vindbrukskollen's map. To achieve this, right click on the map, select Inspect. I find this link (highlighted in blue, cursor over it):
...
0
votes
0
answers
90
views
ArcGIS REST API - Adding related records when using addFeatures
I'm using addFeatures in the REST API to add data to my table and it's working great. However... one of the fields in my data is a Related Record. I can query the Related Record fine using ...
0
votes
0
answers
170
views
ArcGIS REST Layer not showing up in QGIS
I have added a layer using this URL: https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Population_by_Race_and_Hispanic_Origin_Boundaries/FeatureServer
It adds just fine, but the ...
0
votes
0
answers
51
views
Pairwise multipoint intersection using ArcGIS REST API
I have multiple points I want to get information for using the ArcGIS REST API. However,I'm not sure this is possible when querying a Feature Service layer with multiple points at once.
Suppose I have ...
0
votes
1
answer
474
views
Adding ArcGIS webappviewer to QGIS?
I just started working with QGIS. I just found a webappviewer that I would like to put in a work of mine for my exam.
The map can be found on: https://provincieantwerpen.maps.arcgis.com/apps/...
0
votes
0
answers
86
views
Make request to REST services when HTML services are blocked
Is there a way to request ArcGIS REST services when HTTP access is blocked?
error 403 forbidden access
I was using Python to get the data from the ArcGIS MapServer but they blocked HTTP access so ...
2
votes
0
answers
148
views
REST API pagination with OGR
I am using OGR to ETL data from an ArcGIS Map Service into PostGIS. When I run ogrinfo on the service, I see ~47000 records:
ogrinfo -so -al "https://maps.bouldercolorado.gov/arcgis/rest/services/...
1
vote
0
answers
70
views
Loading BaseLayer with Leaflet from ArcGIS REST
Can someone explain why the second layer isn't working?
The page is loading, but the Mosaic shows up blank. I'm new to the world of GIS so I don't know exactly what's different between these two ...
1
vote
1
answer
27
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
0
answers
31
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.
...
1
vote
1
answer
444
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
1
answer
31
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
0
answers
892
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
0
answers
142
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
0
answers
284
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
0
answers
176
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:
...
0
votes
1
answer
339
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 ...
2
votes
0
answers
348
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 ...
2
votes
1
answer
393
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
1
answer
60
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 ...
1
vote
0
answers
46
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
1
answer
477
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
0
answers
271
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
2
answers
620
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
0
answers
72
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
1
answer
113
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
0
answers
100
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://...