*Work in progress, many/some features still missing!*
Another PostGIS http API server
Uses a stripped version of [pgserver](https://github.com/anneb/pgserver)(PostGIS http API server) to serve cached mapbox vector tiles (mvt), geojson, geobuf
Make sure to edit /etc/postgresql/10/main/pg_hba.conf line
Make sure to edit /etc/postgresql/10/main/pg_hba.conf line
...
@@ -71,17 +67,15 @@ NodeJS requests will be routed to port 8090 :)
...
@@ -71,17 +67,15 @@ NodeJS requests will be routed to port 8090 :)
## Installation
## Installation
If you don't have git, you can donwload [a zip file](https://github.com/anneb/pgserver/archive/master.zip) of the project instead.
If you don't have git, you can donwload [a zip file](http://gitlab.geoint.mx/tapiamcclung/fordecyt2019/-/archive/master/fordecyt2019-master.zip) of the project instead.
# now edit config/dbconfig.json for your PostGis database
# now edit config/dbconfig.json for your PostGIS database
node pgserver.js
node pgserver.js
# point your browser to localost:8090 for more info
# point your browser to [http://localhost:8090](http://localhost:8090) for more info
For interactive data browsing, preview, administration and api documentation, head to [http://localhost:8090](http://localhost:8090).
### Attributions
### Attributions
API based on [Dirt Simple PostGIS http API](https://github.com/tobinbradley/dirt-simple-postgis-http-api)
[pgserver](https://github.com/anneb/pgserver)'s API is based on [Dirt Simple PostGIS http API](https://github.com/tobinbradley/dirt-simple-postgis-http-api)