The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
25 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
0answers
31 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
44 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
33 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
49 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
32 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
135 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
27 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
33 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
62 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
56 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
27 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
20 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
11 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
15 views

AGS 10.61 REST endpoint only returns first 100 services

I am looking for a service at the REST endpoint an AGS 10.61. I can't find it but I know for sure it exist. The endpoint I am looking at is: https://tiles.arcgis.com/tiles/nSZVuSZjHpEZZbRo/arcgis/...
0
votes
0answers
19 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
71 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
132 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
29 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 ...
0
votes
0answers
13 views

Need to add ArcGIS REST data layers to MAPDOTNET UX RIMimMap control

I'm supporting an already-delivered product (in AngularJS, that I didn't write) which uses the MAPDOTNET ui.rimMap control (https://downloads.easyterritory.com/register/MapsJS/docs/isc.rim.widget.js....
1
vote
0answers
215 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
18 views

View the output of GP Server

My geoprocessing tool has 2 inputs 1 output. 1st input parameter type is a feature layer 2nd input parameter type is a String 3rd output parameter type is a shapefile when I run it, the window was as ...
0
votes
0answers
12 views

Why is my QueryTask not reflecting recent feature changes?

I am using ArcGIS for JavaScript v.3.27 with a REST server running v.10.31. I typically develop on Firefox 66 but I test on other browsers. The behavior I describe here has been verified in Firefox ...
0
votes
0answers
11 views

What could be causing my new Features to not have the event handling for that Layer (until reload of page)?

I am using ArcGIS for JavaScript v.3.27 with a REST server running v.10.31. I typically develop on Firefox 66 but I test on other browsers. The behavior I describe here has been verified in Firefox ...
0
votes
0answers
24 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 ...
0
votes
0answers
24 views

How to add a geojson file as a hosted feature service using the ArcGIS Rest API

I'm trying to programmatically create a hosted feature service from a .geojson file. I can do this manually without problem using the arcgis.com website. However I cannot get it to work using the rest ...
1
vote
1answer
25 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
25 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
51 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
40 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 ...
0
votes
0answers
148 views

Download Image (GeoTiff) from ESRI Server Rest Map service

Someone has setup (perhaps quite poorly) a ESRI GIS Server at our company, that has lots of image data, and exposed the data via a Rest Map Service. I am looking for (even a manual) way of ...
1
vote
2answers
35 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
61 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
110 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
69 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
117 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/...
0
votes
1answer
345 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
vote
1answer
880 views

Using output statistics in ArcGIS REST API query?

I am using an API to pull in some Web Mapping Service Layer data to my script. The API query has a max count limit of 1000 on returned features per request. There are 2 attributes I am trying to use ...
2
votes
1answer
51 views

Setting copyright of ArcGIS Server map service via ArcGIS REST API?

Knows someone a possibility to set the copyright of an ArcGIS Server Mapservice via REST API? Didn't found a property in the JSON but in ArcGIS Server Manager you can change the value. Also I found ...
1
vote
0answers
60 views

Edit arcgis-service-properties with REST-API

I want to change the properties of several services via REST-API with C#-HTTP-Client. Something goes wrong here so I tried first with Python. I found the example here on esri page. For convenience I ...
0
votes
1answer
472 views

Overlaying ArcGIS REST API on Google Maps?

For example I have ArcGIS REST API as us high way state city county https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer I want to see it on ...
3
votes
1answer
531 views

Not able to query on ArcGIS Server REST query end point

I have a map server published on ArcGIS Server and it has a Poles layer. It has following fields: Now when I am trying to run any query against this layer by passing queries like Owner IS NOT NULL ...
3
votes
1answer
215 views

Change the colors of the features

I've developed an application on Vue JS which loads the services from the ArcGIS Server via REST API. When I load a service by the URL http://arcgis/.../query?f=json&outFields=*, the layers are ...
0
votes
2answers
504 views

ArcGIS REST API: hide/show layers

I've developed an application on leaflet JS, which loads the services from local ArcGIS server through Arcgis REST API. The following code loads the service: function addServiceToMap(service, layers ...
1
vote
1answer
284 views

ArcGIS REST API find features which contain given point

I've developed an application which loads the services from the ArcGIS Server via REST API. I load a service, the service has multiple layers, each layer has multiple features (objects). By the URL ...
0
votes
1answer
110 views

ArcGIS REST API test performance

I need to test the performance of the ArcGIS REST API (Version: 10.51) on the map services I have created. The tester within our team is using swagger but it is not implemented in the ArcGIS REST API. ...
1
vote
1answer
289 views

How to create a simple Web Map with ArcGIS REST API

Following the instructions on this page Working with users, groups, and items—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers and the Add Item documentation I was able build a POST ...
0
votes
1answer
21 views

Recalculating Land Size from RestAPI service in AGOL

I am putting together a map in the web based AGOL map creator that would show population density using a restAPI from the US Census. The field that contains the area is called AREALAND and is ...
2
votes
0answers
54 views

Getting colour ramps and other funky styles in the ArcGIS REST API's DrawingInfo or elsewhere

I have some layers with "funky" styling, they contain colour ramps, or hashes across the line (mimicking train tracks), or dashes with different spacings. I'm reading all of these layers from an ...
1
vote
0answers
169 views

How to Unregister Replicas that have an invalid data-set information using ARCGIS REST APIs Version(10.2.1)

I am writing an application which will UnRegister replicas that are currently available. I managed to unregester new replicas which have the latest Server Url address stored in the DATASET_INFO field, ...