Representational State Transfer (REST)

learn more… | top users | synonyms

0
votes
0answers
3 views

Defining parameter type for REST Server Object Extension

How do I define parameter types for my SOE rest operation? I noticed the ArcGIS rest operations when used on the browser cleint presents the check box for [true | false] and drop downs for list of ...
1
vote
2answers
62 views

How to make a REST get request to Geoserver in Python?

I was wondering how to make a GET request to geoserver 2.6 in Python. import urllib2, json url = 'http://localhost:8080/geoserver/rest/workspaces.json' authKey = 'admin:geoserver' headers ...
0
votes
1answer
10 views

how to delete a style that associated to a layer?

I want to apply a style to a layer by rest.at the first time everything is ok. But when I change the content of the sld file in the style folder mannually,it doesn't apply to the layer. I want a way ...
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
1answer
60 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: ...
1
vote
0answers
32 views

ArcGIS Android and Retrofit [closed]

im working with Retrofit to connect my application with my API. Retrofit is using Jackson 2+, and ESRI is using Jackson 1.95+ So, i cant figure out how to solve this. I have an application using ...
3
votes
1answer
44 views

ArcGis Rest Vehicle Routing Time Problem

I am using the ArcGis vehicle routing rest service. It works fine until I add in the EarliestStartTime for my route, then it no longer assigns the orders to the routes (delivery windows and breaks ...
1
vote
0answers
27 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 ...
2
votes
0answers
47 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" ...
0
votes
1answer
34 views

is possible data management with geoserver rest api

We can create data stores, workspaces with goserver rest api. Is possible to load data to a datastore via geoserver rest api?
1
vote
1answer
68 views

Geoserver WMS, WFS and Rest difference

I am new at geoserver. I connected to databse from admin panel and published layers. But I could not understand difference of WMS, WFS and Rest service. What is the difference?
2
votes
1answer
90 views

How to do OpenLayers.Request in OpenLayers3?

I have been searching for solutions to call GeoServer REST api from OpenLayers 3 for a long time. I found that for OpenLayers 2, there is a OpenLayers class OpenLayers.Request for doing this: ...
1
vote
1answer
72 views

Use ArcGIS Server REST geoprocessing service from the client without ArcGIS Web API's or ArcObjects

I'm checking to see if anyone knows how to execute and read the response from a custom Geoprocessor published on an ArcGIS Server as a REST web service without the use of ArcObjects or an ArcGIS web ...
2
votes
1answer
174 views

How to delete a GeoServer coveragestore using REST API?

I was wondering if there is any example of using REST API with curl to delete a coverage store? I looked at the examples at the boundless website ...
1
vote
1answer
60 views

REST query to determine which polygons a geometry is inside and outside

I am experimenting with feature services (ArcGIS Server) using REST. I have a specific problem now I'd like to solve but not sure of the best way or syntax. I have an input geometry that I query to ...
3
votes
0answers
52 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.
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
0answers
29 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 ...
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
2answers
251 views

ArcGIS Rest performing query on feature service layers using within and intercepts

I am creating an application that needs to query a bunch of layers over REST to see which layers a point or line is within. At the moment I have a local ArcGIS server set up with some feature ...
1
vote
1answer
111 views

Is editing feature service through the REST API an okay approach?

I have a database that receives real-time data from alarms throughout the day, or on request. I'd like to create a web map that displays the "bad" alarms. My current idea is to create a Python ...
0
votes
1answer
37 views

Projections when using google maps and rest service on openlayers

I am trying to use a rest service on an openlayers map that has 2 google maps layers. The google map layer is set to it's own custom projection (which I had to code into the library by hand, but I ...
0
votes
0answers
64 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
38 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
89 views

Find nearby cities by a driving distance radius

I'm studying GIS services to solve one specific need: Given x/y coordinates of one city, I want a JSON result that lists only cities (not facilities) that are nearby the specified city, within a ...
1
vote
1answer
77 views

Automatically refresh an ArcGIS93Rest layer in OpenLayers

I finally succeeded to import a gtfs-realtime feed into ArcGIS Server (used gtfsrdb.py and the created a script to automatically, every 30 seconds, to update the geometry of a table with the points). ...
1
vote
0answers
118 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 ...
2
votes
1answer
104 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
2answers
93 views

Geoserver REST api control

Recently I am using Geoserver grammatically through its REST api. When I request for a map it gives me a map image. My request code is like this: public string GetMap(string name) { ...
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
1answer
44 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?
2
votes
1answer
252 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
3answers
296 views

Bing Map REST API is not working

if i place the below URL in my browser http://dev.virtualearth.net/REST/v1/Locations?q=bangalore+karnataka+india&key= The response is below { authenticationResultCode: "ValidCredentials", ...
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 ...
0
votes
1answer
99 views

Retrieving raster/coverage width and height in pixels from GeoServer

Is it possible to retrieve the original width and height in pixels for a coverage in GeoServer using either the Python API or REST? I could not find anything in the documentation regarding how to ...
0
votes
0answers
65 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 ...
1
vote
1answer
161 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 ...
0
votes
1answer
294 views

How to check if REST plugin is installed for GeoServer

Hi I am having trouble uploading vector files onto GeoServer 2.4 using 'Import Vector' in the QGIS Processing toolbox. After reading around about the 'REST' plus in I went to: http:// Also when I run ...
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 ...
1
vote
1answer
314 views

Layer sets not enabled after change style via REST.

I changing layer's style via REST api: curl.exe -v -u new_user:123456 -XPUT -H "Content-type: text/xml" -d ...
3
votes
2answers
493 views

Maximum number of record returned by the server. Why 1000?

Why in AGS "maximum number of record returned by the server" is set to default 1000? What happens if I increase limit to 100000 or 1000000 in 100 services?
1
vote
0answers
29 views

Can anybody give me some advice that why when I am moving or dragging the map,it occurs “jump around”? [duplicate]

I am really tortured and botherd by this issue for a long time,I tried many ways to deal with it,but it seems does't work.The main point is why I drag the map,it shows on the contrary direction or ...
2
votes
1answer
247 views

Why do tiles seems to jump around when using ArcGIS cache layer in Openlayers? [closed]

I am use Openlayers to add ArcGIS tilecache layers using arcgiscache class or another way which is jsonp. I can show the map properly, but when I pan, zoom or drag the map, the tiles seem to jump ...
1
vote
0answers
42 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
2answers
100 views

How to start an ArcGIS Server 10.0 cached MapService without database connections?

I have a cached ArcGIS 10.0 MapService that I need to start but the DB which was used as the datasource for creating the tiles is no longer available. Is there a way to start the service without ...
0
votes
1answer
244 views

How can i login in Geoserver from application?

I'm looking for advice how to login on Geoserver from php. I found much tutorial how to work with Geoserver through REST api and cURL: create workspaces, stores, etc. But still cant find how to login ...
2
votes
1answer
96 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
65 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 ...
0
votes
0answers
350 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 ...
1
vote
3answers
232 views

How to use the GeoServer REST api to get a PNG representation of a layer?

Does anybody know if I can retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api: When I send: ...