JavaScript, PostGIS, Python

A simple CherryPy RESTful JSON server

I have recently been working with CherryPy. Although it seems very powerful, it is quite hard to find simple and clear online examples for some things. In this case I wanted to set up a RESTful server that can accept POST requests containing JSON/GeoJSON, and return JSON/GeoJSON. For testing I set up a small web page that sends the request and displays the response. Continue reading