Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-rest-api]

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

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

How do I use the 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 ...
0
votes
1answer
21 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
10 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
37 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
13 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
10 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
7 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
21 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
15 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
20 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
24 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 ...
3
votes
1answer
47 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
32 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
74 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
30 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
43 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
62 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
53 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
63 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
184 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
456 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
35 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
45 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
273 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
285 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
190 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
0answers
170 views

Consume ArcGIS REST API in MapBox's React Native Library

I’m currently working on a weather app built in React Native. In the process, I’ve come to learn a lot about mapping technologies and GIS in general. My immediate goal is to display radar imagery in ...
0
votes
0answers
83 views

ESRI REST API Maximum amount of attachment records returned

I am trying to query attachments for all items in an ArcGIS Online hosted feature service. In my hosted feature service not every item has attachments so I'm using the REST API to only return those ...
0
votes
0answers
30 views

Leaflet: Layers overlay issue

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 ...
0
votes
2answers
371 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
147 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
83 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
209 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
20 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
53 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
130 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, ...
3
votes
0answers
122 views

Uploading Attachment > 10 MB to ArcGIS Online Hosted Feature Service?

Has anyone had success uploading an attachment larger than 10 MBs to an ArcGIS Online hosted feature service? I know that this is not possible via a web browser. I'm trying to upload a video (.mp4)...
1
vote
1answer
1k views

Geoserver WMTS Service REST url

recently I have installed the Geoserver with vector tile layer extension, getting the data in pbf (Mapbox vector tile format) with this URL AND I think there is gzip problem too with this. http://...
2
votes
1answer
83 views

Adding ArcGIS Rest Service Tools/Special Features to ArcGIS Desktop?

Adding from the ArcGIS Services Directory shows how to add ArcGIS Rest Service Map Layers to ArcGIS Desktop. However, it does not mention adding tools/Special Services. I am attempting to add the ...
4
votes
2answers
749 views

Connecting to ArcGIS ImageServer in QGIS?

I'm having trouble opening an ArcGIS ImageServer layer in QGIS. The city of Fort Worth, TX has a 2017 ortho imagery service which can be opened in ArcGIS. I've tried to connect to it as a WMS Layer ...
1
vote
1answer
90 views

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 ...
2
votes
1answer
547 views

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 ...
1
vote
1answer
446 views

ArcGIS REST map server query doesn't return geometry as JSON?

I use Python code to query an ArcGIS map server. The result link (as json) only returns the Out Fields not the geometry. When I get the result link as kmz it seems to have the geometry, as I'm able to ...
3
votes
1answer
310 views

Forestry Service Raster ImageServer in QGIS

I routinely use these Raster Services (http://forestrymaps.alaska.gov/arcgis/rest/services/Rasters) for reference in GoogleEarth, but I'd much rather have access to them in QGIS. I've tried various ...
1
vote
1answer
263 views

How to include a single quote / apostrophe in an ArcGIS Server REST API query string

This is similar to How do I query a string in Arcobjects that has a single quote in it? but in my case the apostrophe is actually in the word I'm searching for: &where=locality = 'O'CONNELL' This ...
1
vote
1answer
43 views

CARTO dataset to connect the arcgis service

I can not find the CARTO dataset to connect the arcgis service: http://ags.cuzk.cz/arcgis/rest/services/ZABAGED_TOPO/MapServer/ Can you help me?
4
votes
0answers
188 views

Publishing tile cache map service with full scale range without artificially over-sizing it on ArcGIS Online? [closed]

I'm working within the ArcGIS platform including the ArcGIS Online account. I've got some high detailed orthophoto that I'd like to tile cache and than publish as a map service to my AGOL account. ...
2
votes
1answer
76 views

Getting notified when ArcGIS REST map layer is updated?

I am trying to figure out how to get notified when a map layer is updated on this county government map server. I am not a developer, so I am in way over my head, but I figured out the various map ...