grass icon indicating copy to clipboard operation
grass copied to clipboard

wxGUI/modules: fix import PostGIS geometry data

Open tmszi opened this issue 3 years ago • 1 comments

Describe the bug Import PostGIS geometry data via wxGUI Import vector data dialog doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. Launch wxGUI
  2. Set PostGIS connection via db.login module
  3. From the Data catalog toolbar activate Import vector data tool
  4. From the Import vector data dialog Source type choose Database RadioButton widget
  5. Format ComboBox widget is not active

Expected behavior Import PostGIS geometry data via wxGUI Import vector data dialog should be work.

Screenshots wxgui_import_dialog_def

System description (please complete the following information):

  • Operating System: all
  • GRASS GIS version: all
  • ogr2ogr --version: GDAL 3.4.2, released 2022/03/08

Additional context

GRASS nc_basic_spm_grass7/PERMANENT:~ > v.in.ogr -f | grep Postgre
Supported formats:
 PostgreSQL (rw+): PostgreSQL/PostGIS
 PGDUMP (rw+): PostgreSQL SQL dump

tmszi avatar Jul 21 '22 20:07 tmszi

Rebase https://github.com/OSGeo/grass/commit/2a5f101bcc13ba07a2914b21877bd10c1ce17ebd.

tmszi avatar Aug 29 '22 14:08 tmszi