Questions tagged [rest]

Representational State Transfer (REST). The name "Representational State Transfer" is intended to evoke an image of how a well-designed Web application behaves: a network of web pages (a virtual state-machine), where the user progresses through the application by selecting links (state transitions), resulting in the next page (representing the next state of the application) being transferred to the user and rendered for their use.

Filter by
Sorted by
Tagged with
27
votes
5answers
7k views

ArcGIS REST vs. SOAP API

When is it appropriate to use the ArcGIS Server REST API vs. the SOAP API and vice-versa? What do you see as the advantages of one over the other? For example, the SOAP service can be consumed as a ...
24
votes
9answers
8k views

How can I implement ESRI REST API?

ESRI announced that they are releasing the ArcGIS REST API as open technology. I've got an ISP running Sql Server 2008 with IIS7. Does anyone know of a good walk through showing how I can write C# ...
16
votes
5answers
20k views

Create a Layer in GeoServer using REST

As part of a possible solution to this question i want create a layer in GeoServer via REST that supplies a SQL statement along with a userid. Reading I think i would create a feature type and ...
15
votes
2answers
7k views

Programming Geoserver 2.0.2 to add a raster data store and layer without the UI

I have a directory of raster imagery that will be updated continually. From this imagery, I am making Image Pyramids using the Geotool's PyramidBuilder utility. I need to setup a cron job to ...
9
votes
4answers
2k views

Use Esri Geoservices REST as backend for Python web framework (Django?)

I would like to know if it's feasible to use an existing Python web framework such as Django/GeoDjango as a frontend to work with Esri's Geoservices REST API? I envision developing a database engine ...
9
votes
1answer
895 views

ESRI HTTP where query

A friend and I are currently creating a pretty straight forward LINQ to ESRI library that sends HTTP queries to an ArcGIS MapServer and then parses the JSON response appropriately. Everything is ...
9
votes
2answers
3k views

Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new ...
9
votes
2answers
7k 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 ...
8
votes
3answers
616 views

Using ESRI geoprocessing services from a non-ESRI client (Python)?

I'm thinking it should be possible to consume an ESRI Geoprocessing service from a python script without invoking ArcPy or needing an ESRI installation on the client machine. For example I create a ...
8
votes
1answer
2k views

Geoserver GET request to the REST API without authentication

I am using Geoserver to serve a number of WMS layers. I am using jQuery's $.getJson('/geoserver/rest//featuretype.json') to programmatically populate a table with the available layers and their ...
7
votes
2answers
514 views

Is anyone indexing ArcGIS Server services on the web?

In looking at the REST API, it seems like it wouldn't be that hard to write a bot that crawls the web and indexes services (Map Services, GP Services etc.) Is anyone already doing this? Update1: I ...
6
votes
4answers
216 views

What happened to the sample Portland gp services?

I'm trying to use a sample asynch gpservice. The Portland services ( http://sampleserver2.arcgisonline.com/ArcGIS/rest/services/Portland ) returns 500. It is used as a reference implementation in ...
6
votes
1answer
1k views

Have Legends been implemented for ESRI's REST API?

ESRI's 10.0 documentation for legend indicates that this url should return a legend: http://map.floridadisaster.org/GIS/rest/services/Facilities/Critical_Facilities/MapServer/legend But it doesn't ...
6
votes
2answers
846 views

Is there a RESTful way to cancel a GP Job?

I have an asynchronous gp service that I can successfully run and cancel from within Arcmap. Using fiddler I see that arcmap communicates with the GP service via SOAP. I'd like to cancel the job ...
6
votes
1answer
318 views

How can I get more verbose messages from a GP service?

When I run a tool I've published as a gp service, the only messages I get are these: esriJobMessageTypeInformative: Submitted. esriJobMessageTypeInformative: Executing... ...
6
votes
2answers
2k views

why is a gdb query WHERE clause invalid according to the ArcGIS REST API?

Update: This only occurs when the layer being queried has a join. It doesn't matter if it has a join to a different database or not. And the query that fails is not trying to access columns in the ...
6
votes
1answer
1k 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 have a ...
5
votes
2answers
3k views

programmatically create and publish geotiff layer in geoserver

We need to automatize process of creating datastore and publishing geotiff layer. Also, before publishing we need to change Declared SRS and to save Native Bounding Box to our database. Geotiff file ...
5
votes
2answers
5k 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?
5
votes
1answer
2k views

REST API for OGC standards

I can access WMS and WFS using SOAP and XML. Is there an option to access it using REST and JSON? I have gone through the specification and couldn't even find the word REST mentioned once.
5
votes
2answers
2k views

Adding an external WMS service using REST service with Geoserver

I'm trying to add an External WMS layer to geoserver with a PHP page, using the REST service of Geoserver. I've already read the tutorials for creating the geoserver features (http://docs.geoserver....
5
votes
2answers
3k views

Send Geometry to query using ArcGIS REST API

I am writing a windows console app in VS 2010 to perform an overlay using the ArcGIS Rest API. My first REST query returns information about the geometry for a specific feature. I then want to send ...
5
votes
3answers
933 views

How do I get a json list of REST SOE's supported by a Mapservice?

The html returned by a rest mapservice url includes "supported extensions" down at the bottom. However the json returned does not list the extensions. Is there a way to get this list of SOE's in a ...
5
votes
1answer
471 views

Experience with Geoserver's GML Extension

I'd like to know if Geoserver's GML extension works (well) with GeoServer 2.1-RC2 and whether it will enable uploading of GML files via REST API.
5
votes
1answer
4k 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?
5
votes
1answer
330 views

Can GeoProcessor use credentials?

I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though, I get a 401 error when using ...
4
votes
3answers
4k views

How to start with Geoserver REST api?

i want to start use Geoserver REST api, but have no idea how to use it. In Geoserver docs i found some examples but then use cURL. Google says what cURL its console comand utilite. So i dont ...
4
votes
3answers
831 views

Large scale geoprocessing through ESRI REST interface?

A typical limitation of web based processing is that urls are limited to 2 thousand characters for a GET request. From my understanding of how the ESRI Javascript API works, JSONP is utilized to ...
4
votes
1answer
5k views

Upload shapefile using GeoServer REST API and C#

I'd like to upload shapefiles using GeoServer REST API and C#. So far, I can create workspaces using the REST API and C#. From GeoServer documentation (specific to cURL), the difference between ...
4
votes
1answer
361 views

How are bound variables specified in an ArcGIS REST SOE?

In the documentation for using handler functions with ArcGIS Server Rest SOE's, they don't explain how the keys in the boundVariables collection are determined. When I search through the entire ...
4
votes
3answers
305 views

Find out ESRI REST URL for web map which is hiding it

I would like to extract the pipeline geometries from https://www.arcgis.com/home/webmap/viewer.html?webmap=a00c3b5cee4e4fe0b238b5e05ed80204 It shows the existing gas & oil pipelines crossing ...
4
votes
2answers
4k 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 ...
4
votes
2answers
2k views

Using GeoServer REST Configuration to add a datastore

I have used the example from the Geoserver REST Docs to add a datastore from at PostGIS database. I have used the following xml doc to add the new datastore: <dataStore> <name>...
4
votes
1answer
121 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 ...
4
votes
1answer
670 views

How do I find the resolution of a scale range from the Arcgis Server REST services?

What's the best way to determine a LOD's resolution from the esri REST API? Currently, I make a request for a specific extent to the server from the flex api, and from that I divide the width of the ...
4
votes
2answers
16k views

How do I serialize/deserialize .NET dictionary without key value elements?

I'm trying to get my C# class to serialize to a json that complies with GP Job, for example: { "jobId" : "jb10b153b77e74a839e31af53e5d4d0d1", "jobStatus" : "esriJobSucceeded", "...
4
votes
1answer
1k views

How to upload shapefile to PostGIS using cURL and GeoServer REST API

The GeoServer REST API docs here does not detail how to do this. I'd like to create a PostGIS table and corresponding featureType in GeoServer using the REST API, without having to chain requests. ...
4
votes
1answer
240 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 ...
4
votes
0answers
568 views

Twitter REST API missing geo-tagged tweets from Europe

I used twitter's REST API to get few thousands tweets from last two days. Everything went ok, but when I put tweets on the map, there is empty "box-like" area (no tweets for almost entire Europe - ...
3
votes
2answers
4k views

Using REST service with GeoServer

I have downloaded and installed GeoServer 2.1-RC1 which shipped with RESTconfig. How can i check whether REST service is installed with GeoServer or Not ? I put this "http://localhost:8080/geoserver/...
3
votes
2answers
642 views

Reload Geoserver with REST - password security

I've found the way to reload Geoserver by REST (Geoserver Configuration Reload), but my issue is about security of that solution. My reload request is fired from a bash script periodically, so it's ...
3
votes
1answer
2k 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 http://docs.geoserver.org/2.5.x/en/user/rest/examples/...
3
votes
1answer
574 views

ArcGIS Server Object Extenstion REST Endpoint That Supports GET and POST

I have a Server Object Extension for ArcGIS Server 10.0, that implements IRESTRequestHandler. The extension contains many individual RestOperations. By default each RestOperation supports HTTP GETs ...
3
votes
3answers
624 views

How to find wmsURL? And how to use QueryTask method?

I have couple of questions. var wmsLayer = new esri.layers.WMSLayer(wmsURL); with this line of code i can display wms layer over any base Layer. Now From where I get wmsURL ? I have published my ...
3
votes
4answers
9k views

WKID (Well Known ID) for national projection for ArcGIS REST API

I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any ...
3
votes
2answers
629 views

ArcGIS Server Object Extension for Analyzing Linearly Referenced Data

I have just begun learning about the ArcGIS Server Object Extension (SOE) capabilities, specificially with ArcGIS 10. Is there an example available of an SOE that can return information about ...
3
votes
2answers
843 views

Is it possible to do a GetFeatureInfo request using WMTS?

I currently have an interactive map with multiple layers based on the WMS protocol, which has been working fairly well. I use GeoServer to serve the layers and OpenLayers for the front-end. My problem ...
3
votes
3answers
820 views

Are there any examples of the Esri GeoPortal REST API in use?

Are they any public examples of sites built on top of the Esri GeoPortal's REST API? I would like to use the back-end functionality of the GeoPortal to manage the metadata, but serve it up using a ...
3
votes
1answer
3k views

Using of esriFieldTypeDate field in Add Features REST service?

I need to use Add Features REST service to add a new record to a table in an ArcSDE geodatabase. One of the field is type of esriFieldTypeDate, but I don't know how to populate this field in JSON ...
3
votes
3answers
2k views

Geoserver Configuration Reload

Not quite sure if I should even be doing this. What I am wanting is I will be dynamically generating my SLD file and it looks like when you update the SLD in the geoserver admin it does a reload. So ...