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
1 answer
33 views

Render a Legend for a FeatureLayer that is not present on the map in ArcGIS JS API

I have a scenario with an ArcGIS JS API map where I want to create a legend for a FeatureLayer that is not currently loaded onto the map. Let's say I know layer the endpoint, and I call to get the ...
Seth Lutske's user avatar
1 vote
0 answers
31 views

Can't connect to my company ArcGIS Online REST Server on QGIS 3.32/28

I've used the ArcGIS REST Server for many months in the past year to load feature layers and tables on QGIS and work with them, then in early December, out of the blue, I couldn't connect anymore to ...
NorthSon's user avatar
  • 339
0 votes
0 answers
36 views

ArcGIS REST query result order is random

What I try to do a identify operation on a polygon dataset in a ArcGIS REST MapService. For obscure reasons I can't change, the order of the results is important. To achieve this, the data is written ...
nielsgerrits's user avatar
  • 3,884
0 votes
0 answers
22 views

ArcGIS Enterprise view branch version differences between two points in time

When I try and see the differences between one moment and another using Branched Versioning (through the REST API), I can only see the differences of the latest version that was checked in. Workflow: ...
Michael Rut's user avatar
0 votes
1 answer
13 views

Using REST API of RUIAN dataset with CORS disabled

I have a problem with using the RUAIN REST API from Čúzk in the Czech Republic. RUIAN description link. The problem is the inability to use querying on web pages, when the problem is the CORS setting ...
Wenceslauw's user avatar
0 votes
1 answer
58 views

Is Esri REST API the same as REST API [closed]

Can an Esri REST API function in QGIS connect to a (non-Esri) REST API or are they significantly different and therefore won't work?
LiMoNiZeR's user avatar
0 votes
1 answer
51 views

How to get items of a user within a specific folder using ArcGIS REST API

I am trying to get items of a specific folder using the ArcGIS REST API. Reading through the documentation all it says for https://[root]/content/users/[username] is: The user content resource ...
Thomas's user avatar
  • 1,735
0 votes
0 answers
18 views

ESRI Feature Layer Labels from REST endpoint

I am using folium and calling this layer: https://spatial-gis.information.qld.gov.au/arcgis/rest/services/PlanningCadastre/LandParcelPropertyFramework/MapServer/19 What am I hoping to do is use the ...
mapface's user avatar
  • 431
0 votes
0 answers
33 views

How can you search dates using the ArcGIS REST API's find tool

Basically, I am trying to use a date as the searchText (e.g. `...MapServer/find?searchText=2023-10-19...), however it is not returning any results. The searchField I am using is a date time field, so ...
bravesheeptribe's user avatar
0 votes
0 answers
35 views

Why does Input Geometry work for one ArcGIS REST Service Map Layer but not another?

In an effort to limit the amount of data I'm retrieving from a couple of ArcGIS REST Services (and thus avoid timeouts) I'm using the Input Geometry field to limit my results to an area much smaller ...
Lost Mapper's user avatar
  • 1,941
0 votes
1 answer
64 views

How can I limit an ArcGIS REST Servers layer query to the current map extent on screen in QGIS?

I am trying to connect to an ArcGIS REST Service and retrieve vectors for 2ft Contours. It seems like QGIS asks for all features by default which ends up being too large a request and the request ...
Lost Mapper's user avatar
  • 1,941
0 votes
1 answer
90 views

Parameters to put in to a deleteFeatures request in a Feature Server via an ArcGIS REST API

I am trying to delete some features from a feature service using an ArcGIS REST API. This documentation shows the output, but I am trying to work out the input. I want to do this via code, rather ...
william3031's user avatar
0 votes
0 answers
29 views

Accessing Service Definition File (.sd) properties without publishing?

Is it possible to "open" or read a service definition file (.sd) using ArcPy, ArcGIS REST API, or some other method? I have a number of .sd files that I'd like to interrogate for their ...
aed2454's user avatar
0 votes
1 answer
122 views

Issues setting up MapProxy to download tiles from an ArcGIS REST Service

I am trying to set up MapProxy to download the tiles from an ArcGIS REST service. My yaml configuration is the following: services: demo: wms: md: title: "ArcGIS REST Service&...
Martin's user avatar
  • 1,263
1 vote
1 answer
129 views

ArcGIS REST Fails in OpenLayers TileArcGISRest - Works on Desktop

I'm trying to load ArcGIS REST map into OpenLayers and having trouble. The demo from https://openlayers.org/en/latest/examples/arcgis-tiled.html works great and I've modified it to try other URLs and ...
Andrew T's user avatar
  • 243
2 votes
1 answer
60 views

Creating QgsVectorLayer from ArcGIS feature Service layer using PyQGIS in QGIS 3.28

I'm developing a QGIS plugin in Python that lets you add layers from ESRI Feature Services (EFS) to the canvas. This feature has always worked correctly up to QGIS 3.28 (I've tried QGIS 3.28.4 and 3....
SimonCartoDev's user avatar
0 votes
0 answers
709 views

Error performing query operation Wait time of the request to the service

I am using the arcgis server 11.1 version. I have published the Map services and trying to query it through a rest endpoint. It used to work earlier but now started failing. I am trying to send a ...
Kamal Kant's user avatar
0 votes
0 answers
12 views

Error epoch in VRP

I'm currently using VRP for logistical routing needs, but when running it shows the error "Rtg_SaveVrp : 'UtcUtil_ToEpoch' failed because parameter 1 is not allowed to be null" on the web. I'...
dimas putra's user avatar
1 vote
0 answers
22 views

ArcGIS REST API to create a site using a template

We are exploring the ArcGIS REST API to set up a site using any available template(initiative). e.g. need to create a site using template "Active Transportation Outreach". Is there any REST ...
Shibu S R's user avatar
1 vote
0 answers
129 views

REST query input geometry

I'm trying to get a list of surrounding counties using https://tigerweb.geo.census.gov/ but I am having trouble querying their ArcGIS REST server. My goal is to send a county (I know the GEOID), get ...
Andrew T's user avatar
  • 243
2 votes
1 answer
37 views

Filtering legend entries from ArcGIS REST API

I'm currently trying to get images from a NOAA's Watches and Warnings MapServer instance, but I'm having a heck of a time trying to get only the values of interest. The data within is categorical, so ...
Tubbs's user avatar
  • 123
0 votes
0 answers
165 views

Nowcoast Service in QGIS with Time

I'm trying to bring a layer of data from NOAA's Nowcoast webserver into QGIS...I can bring it as WMS, and ArcGIS Map Service however I'm having no luck accessing the time layers only what I think is ...
tarnis's user avatar
  • 73
1 vote
1 answer
319 views

Query Feature Service on ArcGIS REST API for intercity bus data

I am currently trying to retrieve some data on intercity bus travel from (https://www.bts.gov/intercity-busing/data-maps-and-apps). The data is only available as an interactive map, but I need to ...
Joshua's user avatar
  • 13
0 votes
0 answers
15 views

Set VRP cluster using overrides parameter

I have a question about VRP. How does parameter overrides work in the ArcGIS REST API?. There are 2 ways to set overrides that I know of, namely "RSPPenaltyFactor" and "optimize for ...
dimas putra's user avatar
1 vote
1 answer
641 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 ...
Matt S's user avatar
  • 13
3 votes
1 answer
292 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 -...
zabop's user avatar
  • 1,810
1 vote
0 answers
554 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 ...
Thomas's user avatar
  • 1,735
0 votes
0 answers
212 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 ...
kael112's user avatar
0 votes
0 answers
404 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 ...
MoreMeowbell's user avatar
-1 votes
1 answer
927 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 ...
chovy's user avatar
  • 103
1 vote
1 answer
169 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 ...
PPR's user avatar
  • 491
0 votes
1 answer
106 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 ...
mapface's user avatar
  • 431
2 votes
1 answer
1k 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 ...
greyhug's user avatar
  • 77
4 votes
1 answer
5k 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 ...
Foggy's user avatar
  • 167
1 vote
0 answers
387 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 ...
Steve Scott's user avatar
1 vote
0 answers
490 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 ...
justanotherguy's user avatar
3 votes
1 answer
491 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]/...
regretoverflow's user avatar
0 votes
1 answer
758 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 ...
Jack's user avatar
  • 1
0 votes
1 answer
292 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 ...
ZZZ's user avatar
  • 574
0 votes
1 answer
803 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 ...
A.T.'s user avatar
  • 101
2 votes
1 answer
134 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): ...
zabop's user avatar
  • 1,810
0 votes
0 answers
161 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 ...
Chris Rae's user avatar
  • 111
0 votes
1 answer
1k 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/...
Sibe Laureys's user avatar
0 votes
0 answers
99 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 ...
gis_enthusiast's user avatar
2 votes
0 answers
284 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/...
jesnes's user avatar
  • 423
1 vote
0 answers
106 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 ...
cobbBR's user avatar
  • 51
1 vote
1 answer
39 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 ...
jamaro's user avatar
  • 11
0 votes
0 answers
58 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. ...
Stephen Billings's user avatar
1 vote
1 answer
892 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'...
Maxcot's user avatar
  • 265
0 votes
1 answer
44 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 ...
Simon's user avatar
  • 259

1
2 3 4 5
8