Skip to content

anneb/pgserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d8c5c9b · Sep 8, 2019

History

55 Commits
Sep 8, 2019
Sep 6, 2019
Sep 6, 2019
Aug 24, 2019
Sep 6, 2019
Sep 3, 2019
Aug 24, 2019
Sep 3, 2019
Aug 13, 2019
Aug 24, 2019
Aug 24, 2019
Aug 24, 2019
Aug 24, 2019
Aug 11, 2019
Aug 25, 2019
Sep 8, 2019
Sep 8, 2019
Sep 8, 2019
Sep 3, 2019
Aug 17, 2019
Sep 8, 2019

Repository files navigation

PGServer

Work in progress, many/some features still missing!

Another PostGIS http API server
Upload and download geo-data, preview, filter
Serve cached mapbox vector tiles (mvt), geojson, geobuf

Built on Node Express

Requirements

Installation

If you don't have git, you can donwload a zip file of the project instead.

 git clone this_repository
 cd this_repository
 npm install
 cp config/dbconfig.example.json config/dbconfig.json
 # now edit config/dbconfig.json for your PostGis database
 node pgserver.js
 # point your browser to localhost:8090 for more info

For interactive data browsing, preview, administration and api documentation, head to http://localhost:8090.

Attributions

API based on Dirt Simple PostGIS http API
Map colors based on ColorBrewer
Charts by Chart.js
Geographical Map UI by Mapbox-gl
PostgreSQL interface by pg-promise
Web framework by Express
API docs UI by swagger-ui-express
and many others