| 45 | |
| 46 | ''Test for student'': |
| 47 | Review two approaches for doing this or come up with your own |
| 48 | |
| 49 | Approach 1: Look into how pgAdmin4 implements backup and restore (they use pg_restore/pg_dump). |
| 50 | Look at the PostGIS shp2pgsql/pgsql2shp commandlines and assess if they can be used in a similar fashion as what is done with backup and restore. |
| 51 | |
| 52 | Approach 2: Look at the [https://pypi.org/project/Shapely/ Shapely] library and how easily it can be integrated in pgAdmin4 |
| 53 | |
| 54 | Approach 3: There seem to be several JS client side scripts that may server the purpose as well - for example this - https://github.com/calvinmetcalf/shapefile-js |
| 55 | |