https://github.com/mapmeld/postgis-erbil
Code for mapping workshop
https://github.com/mapmeld/postgis-erbil
iraq kurdish postgis postgresql tutorial
Last synced: about 2 months ago
JSON representation
Code for mapping workshop
- Host: GitHub
- URL: https://github.com/mapmeld/postgis-erbil
- Owner: mapmeld
- Created: 2019-05-24T15:48:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-18T20:41:38.000Z (almost 7 years ago)
- Last Synced: 2025-01-15T15:18:46.920Z (over 1 year ago)
- Topics: iraq, kurdish, postgis, postgresql, tutorial
- Language: JavaScript
- Size: 734 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# postgis-erbil
A PostGIS tutorial with NodeJS and SQL as the main languages.
Based on workshop from PyCon Zimbabwe.
## Participatory
My goal was to create a PostGIS demo which would be accessible to students
if they have not installed NodeJS, PostgreSQL, or PostGIS.
- SQL queries and NodeJS scripts/notebooks for local PostGIS
- Basic config for a read-only PostGIS
- (internet-required) ObservableHQ notebooks for read-only PostGIS
## Topics
- Finding and downloading geodata (govt data, OpenStreetMap)
- Setting up PostGIS
- SQL Review and Added Features of PostGIS
- Importing CSVs and geodata
- Commands for import, export, querying
- Sample queries with map frontends: point-in-polygon, nearest point, buffers, US census statistics, etc
## Setup for public PostGIS and Jupyter Notebooks
I set up on DigitalOcean so that ports and resizing would be more readily available.
The documents linked here are old. The current version of PostgreSQL is '10'
Installing PostgreSQL on Ubuntu:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04
Installing and configuring PostGIS on Ubuntu:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postgis-on-ubuntu-14-04
Making PostgreSQL open to the web:
https://bosnadev.com/2015/12/15/allow-remote-connections-postgresql-database-server/
DigitalOcean firewall: https://www.digitalocean.com/community/questions/opening-ports-on-my-server
## License
Open source, MIT license