Attempt at creating a REST api for PostGIS data resources