geobabbler / node-gis-server

GeoJSON-based HTTP access to PostGIS with Node
http://blog.geomusings.com/2014/02/18/a-little-deeper-with-node-and-postgis/
MIT License
52 stars 22 forks source link

Return list of layers #1

Closed geobabbler closed 10 years ago

geobabbler commented 10 years ago

Return a list of layers available on the server. Should be a simple JSON persistence of the geometry_columns metatable.

geobabbler commented 10 years ago

{server_url}/vector - lists all geometry and geography layers {server_url}/vector/geometry - lists all geometry layers {server_url}/vector/geography - lists all geography layers

geobabbler commented 10 years ago

implemented as:

/vector/layers/geometry - list of geometry layers /vector/layers/geography - list of geography layers /vector/layers/all - list of geometry and geography layers