grass
grass copied to clipboard
wxGUI/modules: fix import PostGIS geometry data
Describe the bug Import PostGIS geometry data via wxGUI Import vector data dialog doesn't work.
To Reproduce Steps to reproduce the behavior:
- Launch wxGUI
- Set PostGIS connection via
db.loginmodule - From the Data catalog toolbar activate Import vector data tool
- From the Import vector data dialog Source type choose Database RadioButton widget
- Format ComboBox widget is not active
Expected behavior Import PostGIS geometry data via wxGUI Import vector data dialog should be work.
Screenshots

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
Rebase https://github.com/OSGeo/grass/commit/2a5f101bcc13ba07a2914b21877bd10c1ce17ebd.