GispoCoding / NLSgpkgloader

QGIS3 plugin to download Maastotietokanta (MTK) data from the Finnish NLS and write it to a GeoPackage. Developed by Gispo Ltd.
GNU General Public License v3.0
12 stars 1 forks source link

Write layers to the geopackage without the order prefix #28

Open LKajan opened 2 years ago

LKajan commented 2 years ago

Tabel names in the geopackage should not be affected by the visualization. Remove number prefix from the table names and preferably also from the qgis layers.

mvaaltola commented 2 years ago

Prefixing layers with numbers was done to ensure QGIS adds the layers from the gpkg to TOC in correct order. Otherwise the user has to spend a lot of time reorganising layers or the provided styles do not make sense. Not sure if there is a way to provide similar functionality using another solution.

SannaJokela commented 12 months ago

The behaviour now is the one we needed when designing the plugin, is there a reason you would need the table names to be the same as in the original dataset? Or do you have a suggestion how to order the tables in QGIS without numbering them? If not, then this issue can be closed.

LKajan commented 12 months ago

The layers should be added to the project in the right order by the plugin. Number prefixes in layer names is a technical workaround and in my opinion should not be part of the logical layer name.