kart-qgis-plugin icon indicating copy to clipboard operation
kart-qgis-plugin copied to clipboard

Allow importing DB layers into a Kart repo

Open volaya opened this issue 3 years ago • 3 comments

Currently, when importing a layer, the plugin shows a file selector dialog. It should give the option to import from a file or from a database connection, so users can import any data they might have, without needing to manually convert it to a file

volaya avatar Jan 29 '22 09:01 volaya

One interesting solution would be to use the QGIS browser as a file selector dialog. This would allow selecting files, tables in databases, tables in GeoPackages, etc.

jguelat avatar Feb 02 '22 13:02 jguelat

@jguelat do you mean the Data Source Manager (Layer...Data Source Manager)?

rcoup avatar Feb 02 '22 13:02 rcoup

No, I mean the standard browser (View -> Panels -> Browser). I don't know if it's possible in a QGIS Python plugin, but it would be amazing to have a "separate" browser window to select the files/database tables that need to be imported into the kart repositories.

jguelat avatar Feb 02 '22 13:02 jguelat