0

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?

asked Aug 3, 2012 at 1:51

1 Answer 1

3

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.

answered Aug 3, 2012 at 11:58
2
  • +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? Commented Aug 3, 2012 at 13:06
  • I was referring to the basic aspect of rendering, which rendering of the Spatial Data using the APIs on the browser Commented Aug 3, 2012 at 16:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.