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 ...
0
votes
0answers
15 views
Consuming Forecast.io Precip local and regional radar maps as RESTservice?
I want to consume forecast.io's local and regional precip maps as a REST element. There's an api key to make a call to the forecast object, but it returns just text. I want to be able to stream ...
1
vote
0answers
12 views
Use ArcGIS-server restapi to return geometries as Json objects
I'm very new to ArcGIS-server REST api, but have been using ArcGIS desktop and other web maps for a while.
In one of the Buffering example,
I found one GP service which takes geometres in as ...
1
vote
0answers
22 views
Can I highlight a selected feature using the ArcGIS REST API only?
I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
0
votes
1answer
32 views
Handle string or int in server object extension
How would you also check to see if the value you are passing into into an SOE is an integer as well?
This checks for string, but returns 0 when passing number:
string searchValStr;
int ...
3
votes
0answers
24 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 ...
0
votes
0answers
15 views
ESRI reverse proxy setting
My application is running on https but my arcgis server is not running on https hence I configured revrse proxy on my webserver.Even though map loads but when I query the rest services the url I ...
1
vote
0answers
44 views
ArcGIS Server Object Extension (SOE) RestOperation configuration
How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information?
So, if string is 'owners' then get names of ...
1
vote
0answers
42 views
QGIS connecting to ArcGIS world imagery - not loading correctly
Have connected QGIS to ArcGIS World Imagery using python console as described on
http://www.northrivergeographic.com/qgis-adding-an-arcgis-rest-service. QGIS Seems to connect and make a raster layer ...
3
votes
0answers
51 views
Web_Map_as_JSON from latest esri jsapi?
I'm trying to do a print export using arcgis 10.1 and latest esri jsapi.
Is there any out of the box way that I can extract out Web_Map_as_JSON from a given webmap?
esri.tasks.PrintTask generates ...
0
votes
0answers
22 views
How to retrieve FeatureServer and ClassExtensions error messages?
I am having problems when publishing a service with a FeatureServer capabilities. This service is pointing to a FeatureClass on the Geodatabase and this FeatureClass has a classExtension associated. ...
1
vote
0answers
49 views
Multiple Country Codes? - World Geocoding Service (ArcGIS REST API)
Using single field geocoding, (ArcGIS REST API) I am having an issue with the World Geocoding Service when it comes to getting results that include both USA and US territories, like Puerto Rico for ...
2
votes
1answer
77 views
Date Time Format output in REST API in 10.1
It looks like the output format for dates is in ticks. Has this always been the case? Can it be changed at the server level or the request level?
0
votes
1answer
58 views
How tow use an ArcGISCache layer along with an ArcGIS93Rest layer?
I want to have two layers in my OpenLayers map. The BaseLayer, as well as the overlay layer are being served by ArcGIS Server.
I have a problem with ArcGIS93Rest when using ArcGISCache as basemap.
...
2
votes
1answer
45 views
Why is pooled geoprocessing service not available via the ArcGIS Rest API?
I'm using ArcGIS Server 10.0.
I've published a pooled asynchronous python geoprocessing service. It works correctly using the Rest API.
When I configure the service not to be pooled, I can't access ...
1
vote
0answers
40 views
How can I export an image from an ArcGIS map service where the bounding box wraps?
I'm trying to export maps from an ArcGIS REST Service using WGS84 and have run into difficulty when the bounding box ends up exceeding latitude 180.
I was hoping that the map would wrap, but it ...
1
vote
0answers
39 views
How to check if a GP service (async) has any jobs that are not completed yet?
I am trying to find out a way to tell if a GP service has any jobs that were submitted and are not completed yet. I have noticed that one can see the status of a specific service by using the ArcGIS ...
0
votes
2answers
42 views
ArcPy add point to a FeatureServer Layer
What is the best practice to add a point to a FeatureServer Layer using arcpy? using rest services, write to db, etc? Where can I find a code sample?
0
votes
1answer
47 views
ArcGIS REST API Routing offsets
I'm having trouble with the ArcGIS json responses
The geometry paths make no sense to me, they appear in the wrong place, relatively to each other they seem correct but they are not in the correct ...
0
votes
1answer
27 views
How to prevent a geoprocessing task from being run twice?
If I run twice a geoprocessing task (using the REST API), what does happen?
Does the geoprocessing service execute the two tasks simultaneously, ...?
How can I configure the geoprocessing service ...
3
votes
1answer
162 views
Leaftlet and ArcGIS Server REST
I am fairly new to all of this and am looking for some guidance. Any information is appreciated!
I am trying to use leaftlet to display shapefiles from an ArcGIS Server using the REST URL. I have ...
1
vote
1answer
131 views
How to create a drop-down list of geoprocessing tasks?
I need to construct a drop down menu with each choice enabling a different geoprocessing task to run over my script.
<select id="myList" onchange="environment()">
...
2
votes
1answer
85 views
Executing GP Task for JavaScript API
I recently started using JavaScript API in attempt to construct a web app. After taking a recent ESRI online course, I thought I had some base knowledge on how to do this.
This geoprocessing service ...
0
votes
1answer
125 views
Hiding Rest Service Url in Javascript
While users using my application, they can view resource from browser and see my arcgis rest service URLs. So If I use token based security, security token can view.
Can I hide this from users?
2
votes
0answers
85 views
returning exceptions to user via AGS REST
I've got a python script that I run as a standalone and as a gp service in AGS (moving to 10.1 now...). For the standalone execution, I'm throwing a custom exception if there is no data found based on ...
3
votes
1answer
150 views
How to parse ArcGIS Server generated output XML?
I have a use case in which I need to parse the XML generated by an ArcGIS server, then push that data to another API. The ArcGIS server sits behind the firewall at our customer's site and exposes a ...
1
vote
0answers
78 views
How to identify parameters sent from ArcMap to geoprocessing service on ArcGIS Server?
I have a question regarding the use of ESRI geoprocessing services and maybe some of you can give me a hint for the following "problem"...
I have set up a geoprocessing service which should solve a ...
2
votes
2answers
256 views
How to share a hosted feature service with an application on ArcGIS Online?
According to the ESRI REST API documentation on authentication, a registered application can log in to AGOL via an App ID and App Secret and will then have access to the data that has been shared with ...
3
votes
1answer
114 views
ArcGIS Vehicle Routing Problem Service via REST
I am trying to get a Vehicle Routing Problem to work as a geoprocessing service on one of our servers.
I used the default_date with unix time stamp in miliseconds and set the times of orders and ...
2
votes
1answer
107 views
Call Vehicle Routing Problem Service via REST - Problem with “time” attributes?
I am trying to get a Vehicle Routing Problem to work as a geoprocessing service on one of our servers.
If I call the geoprocessing service via REST url and submit depots, orders and routes WITHOUT ...
2
votes
0answers
23 views
Where can I find more details about rasterFunctions?
I have published an Image service with ArcGIS Server 10, containing the results of an interpolation operation. The Image which is returned from the service is in greyscale.
I wish to render it with ...
0
votes
0answers
61 views
ESRI AddFeatures call on rest endpoint with attributes
I can add a line feature via the rest endpoint with my hand crafted call from C#. However, if i add any attributes to the call it will fail and say unable to perform operation.
All of the fields in ...
1
vote
1answer
132 views
CORS lets one ArcGIS JavaScript (REST) request through but not the other
I have a problem with Cross-Origin-Requests invoked by the ArcGIS Javascript API.
I'm able to access my web app without any issues if I use localhost:8080. But a REST call (by the ArcGIS JS API) ...
4
votes
1answer
115 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 ...
4
votes
1answer
230 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 ...
1
vote
2answers
442 views
Access geoprocessing service via REST, get JSON back
I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this:
http://server/arcgis/rest/services/MyService/GPServer/MyTask
The task takes a parameter. I was hoping I could ...
0
votes
0answers
90 views
Query ArcGIS REST API for all attachments in a feature service
Our application retrieves features from an arcGIS service and stores information (goegraphy, attributes, attachments) on them in our application database.
When the time comes to check what's new and ...
3
votes
1answer
236 views
How to find the polygon containing a given coordinate using ArcGIS Geometry Service?
Say I have an ArcGIS Server GeometryService running, and a map service containing ZIP code polygons (all ArcGIS 10.1).
I want to pass a coordinate, and have it return which ZIP code contains that ...
7
votes
3answers
2k views
Programmatic authentication to ArcGIS Server secured layers via RESTful API
I have an ArcGIS 10.1 Server instance exposing secured mapservices on the Internet.
My need is to code down a client application (which I am currently building using the 3.3 version of the ArcGIS ...
3
votes
1answer
272 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 ...
0
votes
0answers
62 views
Is it possible to save multi ring polygons to the ArcGIS server REST API?
I'm trying to insert new polygons that the user has drawn through the addFeatures REST endpoint and I'm getting an error when the user draws a bow-tie and tries to insert it. Is this simply not ...
1
vote
3answers
438 views
ESRI JSON-thingie from ArcGIS online
I try to download a web map from arcgis online into arcgis desktop. From the site I get a file named item.pkginfo and arcgis desktop opens it. Unfortunately it only gets me the basemap image and not ...
0
votes
2answers
79 views
Is it possible to add a 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 ...
2
votes
0answers
208 views
How do I determine appropriate Date query syntax for a layer?
I'm writing a web mapping query tool to query Esri mapservice layers by date using the REST API.
It has been said that the syntax depends on what kind of database is behind the mapservice layer, as ...
1
vote
1answer
180 views
ArcGIS Reference Layer over ArcGIS Terrain base(or Imagery) Layer using OpenLayers
I am using Openlayers for a Map application which uses basemaps by ESRI (or ArcGIS). What I am trying to achieve is something like this:
http://www.arcgis.com/home/webmap/viewer.html
From Basemaps ...
0
votes
1answer
196 views
Spatial Rendering using ArcGIS Restful APIs
Always when I read the documentation, I always hear the term Restful APIs and ArcGIS Server using Restful Service to render the mxd hosted on the server.
I am a bit unclear about what exactly does ...
2
votes
1answer
339 views
ArcGIS REST export map features as geoJSON
Is it possible to export the features from a map as geoJSON using an ArcGIS REST service? I'm trying to make a vector layer in OpenLayers based on the output from the map's present view based on a ...
0
votes
1answer
288 views
ArcGIS Server REST-Query Layer: only few attribute fileds are returned in response
a newbie question in using ArcGIS Server REST service:
from ArcGIS Services Directory, I opened the page of one layer in a MapServer service, this layer has a long list of attributes/fields. however, ...
3
votes
1answer
520 views
How to create mapping application with user input to dynamically weight/shade map layers
Does anyone know of any examples of web-apps that allow user-input to change variable weights used to calculate symbology?
My organization is looking to build a dynamic mapping application and while ...
2
votes
3answers
778 views
ArcGIS server 9.3.1 Javascript API via REST : Transparency issue
I have two map services , one is tiled service returns a satellite image , and the other is dynamic displays the roads ,POIs and Parcels.
I'm trying to make the dynamic one shows the roads only above ...
3
votes
1answer
789 views
How to perform datum transformation in ArcGIS server REST API exportmap
I have a ArcGIS server 10.0 mapcontext in one projection (swedish grid sweref99 TM) which uses its own datum, also named Sweref99 . When I use the REST API's map service export function I want to ...