Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge vector layers also adds dbf files using Add Directory #56010

Closed
2 tasks done
pigreco opened this issue Jan 25, 2024 · 1 comment · Fixed by #56020
Closed
2 tasks done

Merge vector layers also adds dbf files using Add Directory #56010

pigreco opened this issue Jan 25, 2024 · 1 comment · Fixed by #56020
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@pigreco
Copy link
Sponsor Contributor

pigreco commented Jan 25, 2024

What is the bug or the crash?

The Merge vector layers processing algorithm also adds dbf files when the Add Directory... option is used and the directory contains shapefiles.

image

the problem does not occur if I first loaded all the shapefiles into QGIS, in the list of files to merge I only find the shapefile files.

Steps to reproduce the issue

  1. launch QGIS
  2. start Merge vector layers algorithm
  3. click on the three dots in Input layers;
  4. click on Add Directory...
  5. Select a folder full of shapefiles
  6. the dbf file is also present in the list of added files
  7. the presence of the dbf file will duplicate the merged characteristic

Versions

OSGeo4W 64b win 10 pro / QGIS 3.28.15 LTR Firenze e master

Versione di QGIS
3.28.15-Firenze
Revisione codice QGIS
252ad49
Versione Qt
5.15.3
Versione Python
3.9.18
Versione GDAL/OGR
3.8.3
Versione PROJ
9.3.1
Versione database del Registro EPSG
v10.098 (2023-11-24)
Versione GEOS
3.12.1-CAPI-1.18.1
Versione SQLite
3.41.1
Versione PDAL
2.6.0
Versione client PostgreSQL
unknown
Versione SpatiaLite
5.1.0
Versione QWT
6.1.6
Versione QScintilla2
2.13.4
Versione SO
Windows 10 Version 2009

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

the problem is present in QGIS 3.28.15, 3.34.3 and master

@pigreco pigreco added Processing Relating to QGIS Processing framework or individual Processing algorithms Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Jan 25, 2024
@Korto19
Copy link

Korto19 commented Jan 25, 2024

I confirm this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
3 participants