Changes between Version 3 and Version 4 of GoogleSummerCode2022


Ignore:
Timestamp:
Feb 16, 2022, 6:12:19 PM (2 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • GoogleSummerCode2022

    v3 v4  
    2929**Idea 1: Augment pgAdmin to support importing and exporting shapefiles**
    3030
    31 ''Expected outcome'': There should be a menu option in the pgAdmin browser tree whenever you right-click a database, table, or schema that allows you to import or export shapefiles.  The tool would use the shp2pgsql and pgsql2shp commandlines that are part of the PostGIS source code in much the same way the backup and restore data browse menu options
    32 built into pgAdmin utilizes pg_dump / pg_restore.
     31''Expected outcome'':
     32 
     33Import Feature:
    3334
    34 This is to replace in newer pgAdmin the shp2pgsql-gui plugin (which still exists but is standalone) that could be hosted as a plugin in pgAdmin3.  Here is a screen shot of what that looks like and what we are trying to achieve:
     351) There should be a menu option in the pgAdmin browser tree whenever you right-click a database, table, or schema that allows you to import or export Dbase/shapefiles.
     362) The tool would use the shp2pgsql and pgsql2shp commandlines that are part of the PostGIS source code in much the same way the backup and restore data browse menu options
     37built into pgAdmin utilizes pg_dump / pg_restore. It will look for the files in default runtime folder or user specified binary path.
    3538
    36 -- IMPORT --
     393)  If a particular table is selected, it will give option to export as a Dbase/Shapefile or import (append to) (no need to ask for table aside from export/import path) or append to
     404) If no table is selected - it will pop up a list of tables (as show in export screenshot) and allow user to import a file as a table in currently selected schema.
     41If no schema is selected it would load in the default schema.
     42
     43This is to replace in newer pgAdmin 4 6.5+ the shp2pgsql-gui plugin (which still exists but is standalone) that was hosted as a plugin in pgAdmin3.  Here is a screen shot of what the old guis looks like.  We want to achieve the same or similar functionality
     44
     45
     46''Import''
     47
    3748[[Image(postgis-qui-import-1.png)]]
    3849[[Image(postgis-qui-import-2.png)]]
    3950[[Image(postgis-qui-import-3.png)]]
    4051
    41 -- EXPORT --
     52
     53
     54''Export''
     55
    4256[[Image(postgis-qui-export-1.png)]]
    4357[[Image(postgis-qui-export-2.png)]]
     
    4559
    4660
    47 ''Skills required'': python, html, css, and javascript, ability to compile PostgreSQL code, ability to compile PostGIS code, ability to compile [https://git.postgresql.org/git/pgadmin4.git pgAdmin]
     61''Skills required'':
     62
     63python, html, css, and javascript, ability to compile PostgreSQL code, ability to compile PostGIS code, ability to compile [https://git.postgresql.org/git/pgadmin4.git pgAdmin]
    4864 some familiarity with PostGIS, PostgreSQL, and pgAdmin is preferable
    4965