Representational State Transfer (REST)

learn more… | top users | synonyms

2
votes
1answer
105 views

How to get the Reconcile Versions geoprocessing tool published as an arcgis server 10.1 service to work with a new version

After publishing the Reconcile Versions GP tool to ArcGis server 10.1, it can be successfully invoked via REST but only on versions existing at the time the service was published. If a new version is ...
0
votes
1answer
94 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
1answer
37 views

API to online map

I've had a search online and still a bit confused. Would someone be able to outline a summary of the basic configuration of exposing data to an online map from an API. The API supports a REST model ...
0
votes
1answer
45 views

GeoServer REST - Applying Style to Multiple layers

I have a bunch of rasters in GeoServer that need to have the same style applied to them as their default style. Is there any way to do this?
0
votes
1answer
48 views

Poor Temporal Raster Performance over REST

When trying to consume temporal rasters (float values) served from ArcGIS Server over a REST endpoint, the results served up are "wonky". One or two time steps will deliver data as expected but in ...
0
votes
1answer
66 views

Apply edits with PHP

I trying to develop a PHP script that will simply applyedits to a feature services. Right now I'm trying to use the In the ESRI restend point example. I'm thinking if someone can help me, point me ...
3
votes
0answers
58 views

ArcGIS Silverlight API - Use POST instead of GET

Is there a way to get queries performed using the ArcGIS API for Silverlight to use POST instead of GET? I'm trying to pass in a geometry which has too many vertices for the character limit.
3
votes
0answers
258 views

Geoserver REST example not working

I am trying to follow the example to create a new REST service in Geoserver: http://docs.geoserver.org/stable/en/developer/programming-guide/rest-services/implementing.html After building, accessing ...
3
votes
0answers
525 views

Add SLDs to GeoServer using REST API Fails

I have been writing some python code to automatically add data layers from PostGIS to GeoServer and attach a suitable SLD as default. I got this working using the following code: ...
3
votes
0answers
370 views

How to download GeoTIFFs using the REST API in GeoServer 2.2?

I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I've got ...
3
votes
0answers
278 views

GeoServer REST API: Creating Database Data Store does not persist password

I'm passing the XML created by the method below to a GeoServer REST API request that successfully creates a postGIS data store. However, password is not persisted. I have to update the password ...
2
votes
0answers
60 views

Could not set a workspace style as layer's default style using REST API

I am posting this data to DATA_ONE {"layer": { "enabled": true, "defautStyle":{ "name": "My_Roads_Style", "workspace": "My_Workspace" ...
2
votes
0answers
23 views

Querying a shapefile and returning values?

I have a lot of experience making maps in ArcMap. I don't have much experience programming or working with APIs. Here's the (simple) problem: I create a shapefile of a region and then load the ...
2
votes
0answers
246 views

ArcGIS Server 10.0, Rest Service not showing relashionship class

It's the first time that I am using Relationship Classes for a web mapping project. Everything seems to be set-up properly, meaning I can get the related info out of ArcMap and ArcCatalog when ...
2
votes
0answers
164 views

ArcGIS Server - E-Tags

From an ArcGIS Server (9.3.x or 10.x) instance, can anyone confirm if REST HTTP response headers are modified when the data within a layer is updated? For example, if I query a layer at time x and ...
1
vote
0answers
28 views

How can one modify map service legend (specifically raster layer)?

I've got the raster layer in my map service, which in fact is created automatically by asynchronous GP service as its output result ("View results with a map service" option). The raster is symbolized ...
1
vote
0answers
122 views

Changing user's password and adding users in Geoserver using REST service

I want to change user's password (e.g. for admin user) and create a new one using Geoserver's REST API. Is this possible? I tried to look for some solution in their DOCUMENTATION, but nothing found ...
1
vote
0answers
64 views

How to post an existing shapefile datastore using cURL?

I read geoserver doc, and already Uploaded a shapefile to geoserver using cURL. But I can't change layer name by REST. So I think that there is another way to post a layer. If I can post an existing ...
1
vote
0answers
44 views

Geoserver REST missing datastores

When I query Geoserver at http://localhost:8080/geoserver/rest/workspaces/mike/datastores.xml I get no results, but I definitely have a data store under mike/. Moreover, the stock geoserver ...
1
vote
0answers
76 views

Implementaion of GSCoverageEncoder for WorldImage in Java

I want to upload a raster image to GeoServer as WorldImage from my Java application. I'm using geoserver-manager v1.4.2 - a Java-based implementation of GeoServer's REST API. It provides convenient ...
1
vote
0answers
121 views

Possible error when adding objects date atributte in ArcGIS rest

I have published in ArcGIS server 10.04 (on win 2008 r2 64 bit + sde + oracle) table ACCESS_LOG on FeatureServer with esriFieldTypeDate field. Then i try to add record with /addFeatures: [ { ...
1
vote
0answers
307 views

GeoServer REST API Timeout Error

I'm trying to upload a 20MB shapefile using the REST API, but gets a timeout error. I can upload smaller files without problems. I'd like to be able to upload a shapefile of any size without ...
1
vote
0answers
203 views

Geographic limit to overlay analysis in geoprocessing service

Function: I've created a geoprocessing service that serves a toolbox containing a custom python tool. This python tool selects a polygon and buffers it by 1 mile. This buffer is then used to ...
1
vote
0answers
144 views

Viewing Multiple Grouped Data as ESRI Map Service in ArcGIS Explorer Online

I'm trying to add ESRI Map Service to ArcGIS Explorer Online. This map service consists of 3 group layers, one of which contains 3 further subgroups. I tried adding my mapservice to the web viewer ...
1
vote
0answers
355 views

Does Geoserver automatically calculate parameters of a layer in a coverage store (REST API)?

[RESOLVED] Is it possible to use the Geoserver REST API to automatically create a layer on the basis of an existing coverage store (with the specified path to a file geotiff)? Will Geoserver ...
0
votes
0answers
19 views

Using REST APIs and interactive maps

Are there any tutorials available showing how I can learn to harvest data from a REST API to an online interactive map? I am very new to the use of APIs so something pretty basic in the first instance ...
0
votes
0answers
30 views

Creating REST map services from external web services - how can it be done?

I am not sure if the terminology is correct here so apologies in advance. I am working towards creating REST map services for a map view and part of this work includes developing map services on ...
0
votes
0answers
72 views

Upload data to GeoServer through REST API using non-admin account

I'm running into some problems when trying to upload a shapefile to GeoServer through the REST API using a non-admin account. Uploading geometry succeeds but uploading the corresponding style fails ...
0
votes
0answers
39 views

Sample FindNearest ArcGIS REST URL

Could anyone provide me with a sample FindNearest URL using the REST API for Arc GIS? It should look something like this: server.arcgis.com/FindNearest/submitJob/, but I have not been able to get a ...
0
votes
0answers
46 views

Function of query.Like

I was wondering how ESRI's query.Text works. From what I read, it is basically the shorthand for the LIKE SQL statement, but it is not working. Maybe I am misunderstanding it's use? Any help is ...
0
votes
0answers
66 views

ArcGIS Full-Text search

I've set up Full-Text searching on a table in my SDE database (ms sql backend). I can perform the full-text commands from SQL queries, but it doesn't seem to work in ArcMap or any rest services. I ...
0
votes
0answers
359 views

Publishing PostGis table using GeoServer REST returns error when geometry column is NOT named “geom”

I tried publishing an existing PostGis table with geometry column named "wkb_geometry" to Geoserver using its REST API. I used the following command: curl -v -u admin:geoserver -X POST -H ...
0
votes
0answers
114 views

Re-enabling a web service API call that has stopped working unexpectedly

so we have are running an instance of ArcGis Server, and have a handful of services running. These were set up by someone who is no longer working with the company. Some of them are built into ...