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

learn more… | top users | synonyms

0
votes
0answers
104 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
167 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
155 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
308 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
738 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
355 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
3k 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
356 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
83 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
573 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
103 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 ...
3
votes
0answers
309 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
245 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
224 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
392 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
345 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
588 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
875 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
1k 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 ...
1
vote
1answer
847 views

Using a ArcGIS Server Feature Service's addFeature method: Parameters?

I am wanting to post data back to a feature service using the addFeatures method on a feature service. Here it says to use a query and an esri rep says to use a query task. But my "Query" object ...
1
vote
1answer
222 views

How do you programmatically determine if a layer supports the query capability via the ArcGIS Server 9.3.1 REST API?

I am using ArcGIS Server 9.3.1 SP 1. I want to be able to determine the capabilities of each published layer, specifically I am looking for all layers with query capabilities. Being familiar with ...
0
votes
1answer
2k views

arcgis server & reverse proxy server

internet -- router -- reverse proxy server -- arcgis server Had this config. working great, after following this proxy server setup tutorial: ...
4
votes
2answers
2k views

How to send long JSON objects (polygon geometry, table rows) in POST request to Geoprocessing Service?

I am seeking to understand my options for sending long JSON objects in a request to a Geoprocessing Service. In particular, I am looking for some example code to illustrate how to include two long ...
1
vote
1answer
278 views

ArcGis Rest – service name vs. folder - Are the folders always part of the service name?

I'm using an ArcGIS REST map service, and my question is how do I construct the URL to the service? Specifically, what relationship is there between the Service Name, the Test Server, and the folder ...
4
votes
1answer
1k views

How to let ArcGIS Server see related records in a geodatabase

I have an ArcSDE geodatabase which contains multiple relationship classes. If I add this layer to ArcMap, the relationship is automatically applied (eg, the Identify dialog allows me to drill-down to ...
6
votes
2answers
3k views

How to navigate the REST endpoints and retrieve Field information programatically

I'm adding a Dynamic Map Service to an ArcGIS Server JavaScript API map, and I need to get hold of each component layer and its fields, so I can run a query. See the sample ArcGIS Server services ...
6
votes
1answer
2k views

Struggling with ArcGIS REST API and tokens

I'm doing my best to secure my AGS (9.3.1) services, but have struggled with tokens. As you can see, my nw account belongs to the agsadmin and agsusers roles: I have assigned these same roles to my ...
3
votes
1answer
476 views

Is it possible to find the Map Services URLs used in ArcGIS Flex or Silverlight web applications?

With the ArcGIS Server JavaScript API, you can find the URLs in the map services in the source code. Do the Flex and Silverlight APIs completely obfuscate the map services URLs? As an example, the ...
2
votes
1answer
494 views

Filter features with multi-table joins in ESRI Silverlight/REST API

We have a rather involved data warehouse (SDE 9.3.1 / Oracle 11g) that contains a single related point feature class. Our (analytical) application should allow users to construct complex, ad hoc ...
1
vote
1answer
1k views

How to handle 500 Internal Server Error with ESRI Silverlight API

I have a simple AGS map service. I accidentally specified an invalid SRID explicitly in my Silverlight XAML: <esri:Map x:Name="Map" IsLogoVisible="False"> <esri:Map.Extent> ...