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

learn more… | top users | synonyms

1
vote
1answer
188 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
2
votes
1answer
191 views

Send query to ArcGIS REST from OpenLayers app

I am using OpenLayers application and sending WMS query to my geoserver. My polygon is sending to server and gets intersected features. var feature = Mypolygon; var filter = new ...
1
vote
0answers
16 views

How do you enable HTTP GET for submitJob for a GPService?

I published a GPService to ArcGIS Server 10.2--the service is a copy of an existing service with a different name. I receive no errors during publishing, however I get 404 errors when attempting to ...
4
votes
2answers
178 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
1
vote
1answer
26 views

Access ArcGIS Server directories in geoprocessing service

I would like to save a file in the output folder on the ArcGIS Server and then provide a link for the user so he can download it. I have two problems: I can't figure out how to access the output ...
4
votes
1answer
238 views

Call ArcGIS Server Buffer command without using SOM

All, I wanted to see what the best way was of calling the geometry service to carry out a Buffer operation on ArcGIS Server 10, without using the SOM. Ideally I want to consume the REST API, using a ...
0
votes
1answer
163 views

Trying to convert GPS LatLng Android coordinates to use in ArcGIS rest - esriMeters

I am getting the LAT and LNG position from Android. Both values are of type double, in Degrees. For example: NY, USA Latitude: 40.7142700 Longitude: -74.0059700 Then I have a service ArcGIS REST. It ...
0
votes
2answers
24 views

What is the expected QGIS behavior when adding an ArcGIS Rest vector MapServer layer to QGIS?

The instructions here: https://hub.qgis.org/wiki/17/Arcgis_rest are straightforward, but I'm getting the same 1000 features regardless of extent (with the 1000 feature outside the viewable map extent ...
0
votes
1answer
163 views

Attempt to generate ESRI REST Token generate 'no client_id specified' error even when client_id is in the request body

I'm making a HTTPS POST request to the following URL: http://www.arcgis.com/sharing/rest/oauth2/token/ In the Request body I've added the following JSON: ...
0
votes
0answers
43 views

Geoprocessing on REST service

I have a published REST service with line geometry. If I have permissions to edit the service in ArcMap, shouldn't I be able to perform a arcpy.Dissolve_management on the line geometry (client side) ...
0
votes
0answers
14 views

Upload Map to ArcGIS Online and convert to KML

Looking to upload any number of map types from a web application and then have ArcGIS online convert them to KML and then send them back the application. If the map can't be converted, give the user ...
4
votes
3answers
1k views

Feature-level authorisation in ArcGIS Server REST services

Is feature-level authorisation even remotely possible when accessing ArcGIS (10) via the REST APIs? From what I understand I can secure individual services but at most this gives me control over who ...
3
votes
1answer
465 views

ArcGIS REST Server Object Extension Examples

Hi I'm looking for a few good examples of a REST SOE showing more than the common ESRI sample. I'd like to see some RestOperation samples as well and a few different TryGet statements (ie. returning ...
3
votes
2answers
2k views

'invalid parameters' on ArcGIS rest API used from Silverlight

I have an Silverlight application from which I'm trying to create new features to ArcGIS server. Every time I get error {\"error\":{\"code\":400,\"message\":\"Unable to complete ...
4
votes
1answer
691 views

How to Query Layer using ArcGIS REST Services for Records with Date Closed Field less than 24 hours ago?

I am current trying to do layer definitions on a map and so I am trying to filter some records via a time factor so i was writing in the Where field DATE_CLOSED_ON > (CURRENT_TIME - 24) and ...
1
vote
0answers
11 views

Does ArcGIS tracking server 10.0 supports rest url?

I'm using ArcGIS Tracking server 10.0 . I know Tracking server 10.1 has web connector but 10.0 version does not. Does ArcGIS tracking server 10.0 supports rest url ? Is it possible to use ...
0
votes
2answers
48 views

Can we add features to geoserver layer using REST

As in ArcGIS online can we add the features to geoserver layer though REST API? If yes Can you tell me where i can find the help on this. or can you tell me how can we write my own REST API to ...
1
vote
0answers
20 views

Import ARCGIS web dataset contours into Sketchup

My local council has online ARCGIS data sources including 1m elevation contours. I am trying to import these into a sandbox terrain model in sketchup to do some landscape planning. Conceptually I ...
4
votes
1answer
2k views

Download Dataset From ArcGIS REST Service

Looking at this information page for a dataset hosted on esri.com: http://fema-services2.esri.com/arcgis/rest/services/2012_Sandy/ImageCat_NLT/MapServer/layers Trying to figure out how I can get ...
3
votes
1answer
2k views

Auto-updating map service via REST in ArcGIS for Server?

I have one map service which is updating per day so I need to manually overwrite the service in ArcGIS 10.1 for Server. In previous versions 10.0 its very easy..just update the .mxd then REST will be ...
1
vote
2answers
187 views

Adding field to ArcGIS Map Service without feature access?

I have published a mapservice without feature access on a remote machine only with a file geodatabase (shapefile on the disk). Because of limits of authority to create a spatial database(don't have ...
1
vote
0answers
17 views

What is an acceptable geocoding score? [duplicate]

I've been searching on how an address score is calculated, but didn't find anything that clearly defines how the score is calculated. So what score value is acceptable to assume that a result is close ...
0
votes
0answers
28 views

How to delete features with a date attribute before today's date with ArcGIS REST API?

I have a published feature service where road closure information is input to be shared with the public. The data input contains a couple of project date fields. I'd like to use a script that runs on ...
0
votes
0answers
53 views

Autocomplete on a Composite GeocoderServer

I've created an ESRI composite Geolocator based on street addresses, street names, suburb names. I've published this geocoder as a geolocation service which works, however the user must complete each ...
1
vote
0answers
33 views

How do I search with multiple parameters in ArcGIS API?

I need to perform a search on a MapServer that populates a datagrid with the resulting information such as in this example Show find task results in a DataGrid. However, I need to be able to have ...
0
votes
0answers
25 views

Geocoder Rest API different results than ArcGIS Locator separator?

In our JavaScript API we use a Geocoder to find buildings and rooms on our campus. So we created a own locator, which can find room numbers, room names, types of rooms and buildings. In ArcMap the ...
0
votes
1answer
12 views

Can i cache the result of a geoprocess on the ArcGIS server?

I have several geoprocessing services on my ArcGIS server: baseGeoService geoService1 geoService2 Services #2 and #3 take as input the output of baseGeoService, therefore i would like to be able ...
0
votes
0answers
23 views

With ArcGIS Server's REST API, can I request a non-default symbol size when requesting a legend JSON?

I am using the ArcGIS Server REST API to retrieve legend information for one of our map services. I am requesting that information as a JSON object, so my HTTP request URL looks like this: ...
0
votes
1answer
27 views

Jagged line and markers when publish map on ArcGIS Server

We develop native app with Esri iOS SDK and Esri Android SDK using ArcGIS Server, when we publish our map using Server, road lines become jagged. So when using this road service in our app ...
2
votes
1answer
107 views

Creating a Map with Spatial filtered layer on the fly

I created a web application with User accounts. based on the User type I need to filter certain point layer with a selected cities region. Ie , when user log in, his accessible cities (city ids are ...
0
votes
0answers
45 views

Query Task Pagination

In the 10.3 REST API they introduced: Supports pagination in a query layer. Use resultOffset and resultRecordCountparameters to page through a query result. I don't see any options to take advantage ...
0
votes
1answer
58 views

How to convert date field value returned by REST API to correct date? [closed]

I performed a query on this USGS feature service of Airport locations: Click for query And the value for the field LOADDATE is: LOADDATE: 1411380301000 However, when I pull the layer into ArcMap, ...
0
votes
0answers
12 views

Identify task to multiple tiled layers

I have a map consisted of many tiled layers that show points. How can i perform an identify task to the visible tiled layer. Be aware it is tiled layers not dynamic. Any suugestions?
0
votes
0answers
20 views

ArcREST PublishCSVParameters error

I am consistently receiving this error when trying to publish a CSV as a hosted service. My only hunch is that the layerinfo variable is incorrect, however by the ArcGIS documentation I am passing ...
0
votes
0answers
22 views

ArcGIS Rest Services JSAPI Not Displaying Relation to Applications

I have two user accounts. One can see imagery at the ArcGIS JSAPI interface on Rest Services. The other cannot. Does this definitively mean that the user with no access to the imagery in other ...
1
vote
1answer
199 views

Add Item and Publish Service with ArcREST or ArcPy

I would like to have an automated process which does the following: Adds a CSV to our portaL/AGOL organization account. Publishes the item as a hosted feature service. Consumes hosted feature back ...
0
votes
1answer
71 views

AddFeatures to an ArcGIS Online Feature Service?

Is it possible to add and delete features from an ArcGIS Online-hosted feature service? I'm able to do this with services hosted on our ArcGIS Server (example here), but don't see the option under ...
1
vote
1answer
29 views

Hosted ArcGIS Online feature does not return any data?

I would like to share a table as a feature service hosted in ArcGIS Online. I am able to publish the table as a feature service but when using the REST API interface with for ArcGIS Server I am ...
1
vote
1answer
74 views

An unexpected error occurred processing the request when requesting the layer definition Url

When I publish my MXD in ArcGIS 10.0, the service url which returns the layer definitions in json format returns an error. {"currentVersion":10.05,"error":{"code":500, "message":"An unexpected error ...
0
votes
0answers
29 views

How to get min/max values from range domain in ArcGIS Server REST API

I am publishing a table with a min value of 0 and a max of 10, how do I retrieve these values in the REST API interface? I would like to return all values. 0-10. I am using ArcGIS Server 10.2
1
vote
1answer
52 views

ArcGIS API for JavaScript RouteParameters vs REST API

I have the network analysis service and I need to get the route between two points, but I don't want the single path polyline, but rather set of paths representing the edges it travels though (pretty ...
2
votes
1answer
79 views

ArcGIS Server - Secured Services

Is there any way to tell, via the SOAP or REST APIs, if an ArcGIS Server map service requires an authenticated user? I have set an application to use a token service for accessing secured map ...
1
vote
0answers
21 views

How to get Set-Cookie header from ArcGIS REST services?

When I call an ArcGIS REST service, I get Cache-Control, Etag, Content-Encoding, Content-Type, Transfer-Encoding and Date headers. But I don't get Set-Cookies header. Is there a way to get this ...
4
votes
1answer
618 views

ArcGIS Feature Service - Return a Single Row / Record

Is it possible to get just one row/record returned from a feature service query -- similar to the TOP, ROWNUM and LIMIT in database queries? Of course, OBJECTID "1" is not guaranteed. Is there a trick ...
3
votes
4answers
5k views

WKID (Well Known ID) for national projection for ArcGIS REST API

I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any ...
1
vote
1answer
176 views

How to acquire an ArcGIS access token with Windows Authentication (single sign on)

Consider the following scenario: The end user is running an in-house build Windows desktop client that uses the ArcgGIS WPF library for rendering ArcGIS maps. The end user is authenticated via ...
1
vote
1answer
263 views

Proxy error with ArcGIS PrintTask - AMD

I am trying to add a simple layer of security to my ArcGIS JS app. I do not want to prompt my users for a login to retrieve a token. So instead I pass the username/password inside this PHP proxy: ...
0
votes
0answers
27 views

Is it possible to intersect 2 feature layers and extract common data points using ArcGIS REST services

I am working on a GIS web application with ARCGIS web services, would appreciate any guidance on this problem: I have 2 Feature Layers with data points which i wish to intersect and extract the ...
0
votes
0answers
41 views

Group by substring of field using ArcGIS REST API?

I'm trying to fetch crime stats for a community application. The ArcGIS REST API provides the following fields: DISPATCH_DATE_TIME: 1226089860000 DISPATCH_DATE: 2008-11-07 DISPATCH_TIME: 20:31:00 ...
1
vote
0answers
47 views

Are the folders always part of the service name in the rest server response? [duplicate]

Possible Duplicate: ArcGis Rest – service name vs. folder - Are the folders always part of the service name? I'm using ArcGis with Rest. My Question is, are the folders always part of the ...