Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 Restful API mean?

Also how does Servers like Geoservers and ArcGIS Server, render these spatial data? What is it that is different about these servers from normal servers we have?

I know they are able to render spatial data, unlike normal servers, but what makes them have this capabilities and is it or not, related to Restful APIs?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Representational State Transfer (REST) is based on the HTTP protocol and it uses HTTP verbs (GET, POST, DELETE, etc) to transfer representations of resources. The World Wide Web itself is actually a good example of a REST architecture in that you make a request for a resource (a web page) and the system returns a representation of that resource (HTML). As usual there is a pretty good article on Wikipedia that goes into a lot more detail. The term 'Restful Service' is used to describe a service that adheres to the principles of the REST pattern.

A Restful API is really just a published interface that allows control of a server or service programmatically - for example, with GeoServer it is possible to use the Rest API to manage its configuration. Often you will find that the Rest API is used by the supplied user interface or components - so for example all ArcGIS 10 Server clients utilise the Rest API that the core ArcGIS Server exposes.

I think you also need to consider the term "Server" in the context you have used it. A server in this context should really be considered the physical hardware on which software is running. In your examples the software is ArcGIS Server and GeoServer. These software (and there are many others) are what allows the "Server" to render the spatial data.

So, what makes them have the capability to render spatial data is the software that is running on them. The Restful APIs are simply a means by which other clients (OpenLayers, ArcGIS for Desktop, etc) can either control or request data from the server software.

share|improve this answer
    
+1 great answer, maybe a bit more discussion about what "rendering" means would be helpful. Does rendering have the same meaning in both GeoServer and ArcGIS Server? –  Kirk Kuykendall Aug 3 '12 at 13:06
    
I was referring to the basic aspect of rendering, which rendering of the Spatial Data using the APIs on the browser –  Sam007 Aug 3 '12 at 16:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.