0
votes
0answers
15 views

How to tell “Publish Service Definition”-Task to publish into a folder?

I'm currently working on publishing a SD-File using C#. Through another Question (Is it possible to publish a map service from an SD File purely over REST (no arcpy)?) I had a look on the source code ...
0
votes
0answers
40 views

Is it possible to get URLs from ArcGIS Server by map service name?

We have a number of map services published to ArcGIS server that we consume in our applications (C#/Silverlight). Whenever a new service is published, it changes the urls of some of the other ...
0
votes
1answer
30 views

How get the link or file from uploads forder of feature service arcgis

I have succeeded in adding a file to arcgis server with the upload method of a feature service on arcgis server. But i can't see how to download what i have uploaded to. Do you have any idea on how I ...
2
votes
1answer
83 views

How to access the datasource from a REST service

I have a ArcGIS REST service, is it possible to access the data source of the layer that is within the rest service. For example I have a layer called "Conservation Area" within the service, that ...
2
votes
1answer
80 views

ESRI REST Api - need to download batches of tiles

So I wanted to use the ESRI REST Api to fetch map tiles for an application. Right now I am calling for each tile as I need it via its X/Y and zoom level(which is generating a bunch of http calls), but ...
0
votes
0answers
60 views

Place arcgis layer on top of google map

This is my old code that loaded arcgis layers on top of the arcgis map: function init(mapServer) { map = new esri.Map("map", { basemap: "topo", ...
1
vote
1answer
63 views

How to “Apply Edits” to an ArcGIS Server edit session using Python

ArcGIS Server allows the user to apply edits in an editable layer. Eg the sample layer at http://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/3/applyEdits will accept a ...
0
votes
0answers
351 views

Unable to resolve constructor for: 'dijit.layout.TabContainer'

I have started using ArcGIS for the first time, actually my first time using GIS. So I have taken the demo codes and changed them to what I needed. So first I took some code for a tab control on the ...
1
vote
0answers
52 views

Problem with long running services in ArcGIS Server 10.2

I published a lot services for geoprocessing. Most of them are the long running services. Those services manipulate data but user do not wait for the results. When I use REST Submit Job in the web ...
2
votes
1answer
107 views

Get folder structure in code from arcgis/rest/services

I have never worked with maps before, and I got assigned on this project with ArcGIS. Noone to ask, cause noone has worked here either so I am turning to you guys. I have to create a tree of ...
0
votes
1answer
248 views

How do I search dates using the ArcGIS REST API?

I'm trying to understand how dates are queried in the ArcGIS Server REST API (v10) using the query functionality (...MapServer/find?searchText=...). If I search on a string attribute I can get a ...
1
vote
1answer
45 views

Help with Routing..RouteEventArgs cannot be serialized

Hi I created a routing service in ArcGIS Server that allows the Service Area task. I've hit the REST service for this routing service and passed in a single facility XY and it works perfectly fine. ...
1
vote
0answers
140 views

No domain coded values on REST Arcgis 10.2

We have created a map service using version 10.2 from a map which all layers data source are point to an SDE connection service using DB2 database. However, the coded value domain not appear in the ...
0
votes
0answers
42 views

Arcgis custom Legend rest service

There is a description for Legend services on arcgis web site. The legend supports the following layer types: ArcGISDynamicMapServiceLayer, ArcGISTiledMapServiceLayer, FeatureLayer and ...
2
votes
1answer
99 views

Is it possible to query raster from ArcGIS Server 10.1 REST?

I have a map service that contains a SDE raster layer and served out by ArcGIS Server 10.1. Is it possible and how to query through REST service on the raster layer? Basically what I want to do is to ...
0
votes
0answers
31 views

how to add arcgis 10.1 rest service in openlayers [duplicate]

I need to add ArcGis 10.1 rest services to openlayers. Can any one share the ideas, it would be great.
4
votes
1answer
146 views

How to query nearest date in ArcGIS Server REST?

How to query nearest date (today) in ArcGIS Server REST? Table: ID NAME DATA 1 test 2013-06-01 13:00:00 2 test1 2013-06-01 16:00:00 3 test2 ...
1
vote
1answer
107 views

Consuming Forecast.io Radar Data in an API or ArcMap

I want to consume forecast.io's radar data as an ArcGIS Server REST or JSON to use in an API or ESRI's ArcMap GIS Software. MapBox is doing it here. I don't think forecast.io is currently making the ...
1
vote
0answers
63 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 ...
2
votes
0answers
164 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
44 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
191 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
79 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
143 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 ...
4
votes
1answer
173 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 a ...
0
votes
0answers
77 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. ...
2
votes
1answer
373 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
290 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
77 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
139 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
65 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
103 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
98 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
33 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 ...
2
votes
1answer
542 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
237 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()"> ...
1
vote
1answer
202 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
121 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
246 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
107 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 ...
3
votes
1answer
244 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
177 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 ...
3
votes
0answers
26 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
112 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 ...
4
votes
1answer
175 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
341 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
933 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 ...
3
votes
1answer
476 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 ...
3
votes
1answer
421 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
90 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 ...