Skip to main content

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
5 answers
8k 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 ...
Britt Wescott's user avatar
25 votes
9 answers
10k 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# ...
Kirk Kuykendall's user avatar
24 votes
6 answers
36k views

Creating Layer in GeoServer using REST

As part of a possible solution to GeoServer WFS Row Level Security? I want create a layer in GeoServer via REST that supplies a SQL statement along with a userid. I think i would create a feature ...
CaptDragon's user avatar
  • 13.4k
17 votes
2 answers
10k 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 ...
rbrister's user avatar
  • 171
10 votes
2 answers
4k 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 ...
Mikel G. Gainza's user avatar
10 votes
1 answer
4k 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 ...
Jay Laura's user avatar
  • 4,463
9 votes
4 answers
3k 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 ...
nickpeihl's user avatar
  • 609
9 votes
3 answers
11k views

How to query Overpass API with Postman?

I'm learning Open Street Map in order to try to retrieve a list of all cinemas in the world, in a country or in a city I would like to know if I can do that with a REST query in Postman. On ...
Francesco Mantovani's user avatar
9 votes
1 answer
1k 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 ...
jsmith's user avatar
  • 741
9 votes
2 answers
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 ...
Stephen Lead's user avatar
  • 21.2k
8 votes
2 answers
587 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 ...
Kirk Kuykendall's user avatar
7 votes
2 answers
944 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 ...
Kirk Kuykendall's user avatar
6 votes
2 answers
7k 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?
user7172's user avatar
  • 1,529
6 votes
1 answer
3k 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.
user5495269's user avatar
6 votes
4 answers
218 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 ...
Kirk Kuykendall's user avatar
6 votes
3 answers
2k 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 ...
Luis Paganini's user avatar
6 votes
2 answers
12k views

How to open REST/JSON service in QGIS?

As the title states I'm trying to open a REST/JSON service in QGIS, but without luck so far. Now I'm wondering if this kind of service is even possible to open in QGIS with current, existing tools. I'...
Ville Koivisto's user avatar
6 votes
2 answers
8k views

GeoServer WMS, WFS and REST difference

I am new at GeoServer. I connected to database from admin panel and published layers. But I could not understand difference of WMS, WFS and REST service. What is the difference?
boliwe's user avatar
  • 573
6 votes
1 answer
2k 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 ...
Kirk Kuykendall's user avatar
6 votes
2 answers
3k 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 ...
LarsH's user avatar
  • 262
6 votes
1 answer
372 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... ...
Kirk Kuykendall's user avatar
6 votes
1 answer
2k 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 ...
Arek Woźniak's user avatar
5 votes
3 answers
5k 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 ...
Kliver Max's user avatar
  • 2,042
5 votes
2 answers
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 ...
Britt Wescott's user avatar
5 votes
3 answers
974 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 ...
Kirk Kuykendall's user avatar
5 votes
2 answers
5k 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 ...
Nick And3rs0n's user avatar
5 votes
1 answer
520 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.
underdark's user avatar
  • 84.3k
5 votes
1 answer
363 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 ...
Kirk Kuykendall's user avatar
4 votes
2 answers
4k views

Programmatically creating and publishing GeoTIFF layer in GeoServer

We need to automate 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 ...
gis_wild's user avatar
  • 471
4 votes
3 answers
2k views

Seeking open source ArcGIS REST API compatible server?

Are there any open source tools out there that can provide an ArcGIS REST API compatible interface or similar functionality? Many of our clients are running ArcGIS software and are asking us for REST ...
Bjorn Reppen's user avatar
4 votes
1 answer
466 views

How to extract GeoServer usage details using REST API?

I am using GeoServer 2.19.0 version on CentOS along with monitor extension. Wanted to fetch certain details on daily basis (such as what are the top 5 map requests ?, How many users accessing ...
Sunil's user avatar
  • 4,763
4 votes
3 answers
906 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 ...
Peter Smith's user avatar
4 votes
2 answers
4k 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 ...
Trashmonk's user avatar
  • 1,044
4 votes
1 answer
390 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 ...
Kirk Kuykendall's user avatar
4 votes
3 answers
3k views

Geoserver: How do Coverage Stores work?

I'm working on a project at work to download imagery from else where and add it to geoserver. I have no experience in GIS, nonetheless geoserver. I've been hunting through the REST api for 2.0.X of ...
Corey Ogburn's user avatar
4 votes
4 answers
4k 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 ...
arkansasonline's user avatar
4 votes
2 answers
22k 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", "...
Kirk Kuykendall's user avatar
4 votes
1 answer
2k views

How to push newly added or updated domain values to ArcGIS rest service?

I'm currently using ArcGIS Server 10.4 for my REST service and ArcGIS Online. I have created a domain list and assigned it to a field. All of it works fine. I'm currently using Oracle for my ...
A. Fai's user avatar
  • 53
4 votes
2 answers
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>...
taudorf's user avatar
  • 1,645
4 votes
1 answer
130 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 ...
Josh's user avatar
  • 161
4 votes
1 answer
875 views

Adding feature object to PostGIS feature type from GeoServer

I am trying to set up a system that will post feature objects periodically to a PostGIS db and display them via GeoServer and OpenLayers on a web site. Is it possible to add the new feature objects to ...
Henrik's user avatar
  • 43
4 votes
1 answer
696 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 ...
Dan Monego's user avatar
4 votes
1 answer
2k 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. ...
okello's user avatar
  • 1,780
4 votes
1 answer
258 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 ...
Hamish's user avatar
  • 391
4 votes
0 answers
646 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 - ...
dkocich's user avatar
  • 404
3 votes
2 answers
5k 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/...
user1899's user avatar
  • 1,427
3 votes
1 answer
226 views

Unable to select layers for intersect in QGIS

I have a series of buffers around points that I want to intersect with FEMA's National Flood Hazard Layer. My goal is to find out which of the buffered points fall within 1% and 0.2% flood chance ...
DK Kennedy's user avatar
3 votes
1 answer
3k views

Deleting GeoServer coverage store 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/...
tinlyx's user avatar
  • 11.1k
3 votes
2 answers
1k 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 ...
alextc's user avatar
  • 2,013
3 votes
1 answer
7k 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 ...
okello's user avatar
  • 1,780

1
2 3 4 5