Questions tagged [arcgis-rest-api]

ArcGIS Server REST API is used to access ArcGIS for Server and ArcGIS Online services

The ArcGIS Server REST API, short for Representational State Transfer, provides a simple, open Web interface to services hosted by ArcGIS Server. All resources and operations exposed by the REST API are accessible through a hierarchy of endpoints or Uniform Resource Locators (URLs) for each GIS service published with ArcGIS Server or ArcGIS Online.

For more information see its home page.

360 questions
5
votes
3 answers

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 shows "Unable to complete operation".
Liu Guang
  • 63
  • 1
  • 5
2
votes
1 answer

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 it has a ton of different entries on its legends,…
Tubbs
  • 123
  • 3
2
votes
1 answer

ArcGIS Rest API returns No Results When Should Intersect

I can download statewide NY senate districts using…
wtgeographer
  • 900
  • 1
  • 13
  • 29
2
votes
5 answers

ESRI world imagery raster layer not working in Python Console

Have been using the usual code in python console to use the world imagery layer as a base map and have been pretty happy with this, from IEQGIS…
1
vote
1 answer

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 retrieve it into something I can analyze in Python…
Joshua
  • 13
  • 2
1
vote
1 answer

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 returned incomplete data. To elaborate, it…
PPR
  • 501
  • 1
  • 6
  • 18
1
vote
0 answers

ArcGIS FeatureLayer Query not running when using not equals (!=) operator

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 and it returns the expected values, but the !=…
1
vote
0 answers

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 documentation here…
Carson
  • 355
  • 2
  • 11
1
vote
1 answer

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 generated an OAuth Token in Postman, but when I changed the…
Devon Koch
  • 11
  • 1
1
vote
1 answer

How do I construct a REST query for ArcGIS to obtain the nearest SSA field office?

I am trying to use one of the US Social Security Administration's APIs, which is an ArcGIS REST service API. It looks extremely powerful, but overwhelming with how complex it is. I am hoping for an example for a simple query. I am using Python but…
Quinten
  • 113
  • 5
1
vote
1 answer

How to resolve "Not all features are shown" in ArcGIS JavaScript API

I need use a feature layer which includes 7000 features in SceneView. But the HTML page only shows part of data, and the error shows: [esri.layers.graphics.controllers.SnapshotController] Feature limit exceeded on layer "Community". Not all features…
Liu Guang
  • 63
  • 1
  • 5
1
vote
1 answer

How to retrieve highlighted dynamic map image in ArcGIS rest API for given polygon geometries?

I am using ArcGIS rest api export map operation in dynamic map service to retrieve png for given extent. I want to highlight specific polygon (already have geometry of polygon) with any colour using rest api and retrieve png from server. Is it…
0
votes
1 answer

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 on the RUIAN side. For example…
Wenceslauw
  • 752
  • 5
  • 17
0
votes
1 answer

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 returns information on the user's owned items. A user's…
Thomas
  • 1,735
  • 11
  • 26
0
votes
0 answers

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 queryRelatedRecords, but Is there some way I can add related…
Chris Rae
  • 111
  • 4
1
2