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

Extract Feature Service ArcGIS API Python [closed]

I have a feature service server and map service server and I'd like to export them to shapefiles/geodatabase. Map Service: https://tataruang.jakarta.go.id/server/rest/services/DCKTRP/UDGL/MapServer/0 ...
0
votes
1answer
18 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
24 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
24 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
7 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
45 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
37 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
16 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
17 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
18 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
157 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
11 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
50 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
22 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
117 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
88 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
31 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
32 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()....
1
vote
1answer
44 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
107 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
119 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
201 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
0answers
48 views

AGOL REST API: Why do linestrings auto-convert to multilinestrings w/ 0 z elevation?

I'm using the ArcGIS Online REST API to add/delete features from a 3D web layer. I'm able to POST linestrings to the layer. But, seemingly randomly, some (not all) of the linestrings get converted to ...
0
votes
0answers
44 views

Pass coordinates to recenter google map iframe from parent page

Can somebody tell me where my code is wrong? Here is the code block to pass from the parent to the iframe: document.getElementById('street').contentWindow.map.setCenter({lat:latt, lng:lon}); This ...
0
votes
1answer
178 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
42 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
323 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
42 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
93 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
73 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
36 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
44 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
12 views

Retrieving an Asset ID using HTTPCaller

I have been asked to create a workflow that can create an asset tag for each feature class. The company who we hold a contract for have set up Web Services that provide the asset ID, called AIMS (...
0
votes
0answers
22 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
251 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
478 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
47 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
480 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
27 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
vote
1answer
34 views

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

Returning area of interest image upon lat/long input?

I would like to know if it's possible to give a latitude and longitude (or bounding box) for a certain location and return an area of interest image, including a target property and a list of nearby ...
2
votes
1answer
98 views

Finding tables related to layer using ArcPy?

We have an ArcGIS map service that includes about 50 layers, and many of them have related tables. I need to build a schematic of this service that includes layer name, source feature class (or table),...
1
vote
0answers
51 views

REST End Point Still Showing Old Alias of Updated Field After Publishing

Using ArcGIS 10.6 and ArcGIS Server 10.6. I have changed the Alias of a Feature Class to ObjectID like and it is showing in the attribute table like (After Saving and even re-booting the MXD) but ...
1
vote
2answers
45 views

Getting Exent of Queried Results using ArcGIS Python API?

Im trying to use the ArcGIS Python API to query a few results and gather the extent, I can query the results fine but as soon as I try to extract the extent I retrieve empty results. Using one of the ...
1
vote
1answer
99 views

Need syntax to restyle some data via dynamic layers and ArcGIS REST API

I produce maps using Leaflet and the Esri Leaflet plugin. Here is a MapService layer from the USGS pertaining to the risk of debris flow. Note that if attribute combhazcl=3 then this data is ...
1
vote
2answers
198 views

Obtaining Elevation for single point from ArcGIS REST API?

I have spent quite a while trying to get the ESRI API working. Basically we would like to pass a lat, long to a service and obtain the elevation back. Our previous service stopped working - we were ...
1
vote
1answer
140 views

Unauthenticated sensitive Information Disclosure - ArcGIS REST services

Recently a security audit has been done on our servers and applications which has ArcGIS enterprise installed on it. Our Architecture setup : We have ArcGIS installed on the server, ArcGIS exposes ...
1
vote
1answer
200 views

Wildcard SQL in ArcGIS REST API

I'm querying the ArcGIS REST API and I'm trying to write a request that includes a wildcard. The normal request (without wildcard) looks like this: https://serviciosgis.catastrobogota.gov.co/arcgis/...
-1
votes
1answer
501 views

Getting a token access to feature layer using Postman and Python

I am trying to query a feature server using postman as ESRI'S documentation: https://developers.arcgis.com/labs/rest/get-an-access-token/ I have succesfully added the Authorization to the body of the ...

1
2 3 4 5 6