qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.29k stars 2.96k forks source link

Processing: (vector) "convert format" tool does strange things/freezes with many data types as inputs and with shapefiles as output format #19311

Closed qgib closed 5 years ago

qgib commented 10 years ago

Author Name: Giovanni Manghi (@gioman) Original Redmine Issue: 10963 Affected QGIS version: master Redmine category:processing/gdal Assignee: Giovanni Manghi


In the Processing toolbox there is tool "convert format" that should allow convert from/to different data types.

I tested (and 2.4 and master) converting TO shapefile different data type as inputs and the result are seldom right (if any).

My test cases:

+) Postgis to shape. Windows: QGIS freezes, Linux: the converted layer is not the input one, but another (even NOT in the QGIS project) available in the same database/connection

+) Similar results if the input layer is a WFS layer

+) Similar results if the input layer is Spatialite, minus the freeze under Windows

+) with GPX as input it gives as error

Algorithm Convert format starting... FAILURE: Unable to open datasource /home/giovanni/Dropbox/qgis_zc/geodados/gpx/pontos_alentejo.gpx|layername=waypoints with the following drivers.->ESRI Shapefile ->MapInfo File ->UK .NTF ->SDTS ->TIGER ->S57 ->DGN ->VRT ->REC ->Memory ->BNA ->CSV ->NAS ->GML ->GPX ->LIBKML ->KML ->GeoJSON ->Interlis 1 ->Interlis 2 ->GMT ->GPKG ->SQLite ->DODS ->ODBC ->WAsP ->PGeo ->MSSQLSpatial ->OGDI ->PostgreSQL ->MySQL ->PCIDSK ->OpenFileGDB ->XPlane ->AVCBin ->AVCE00 ->DXF ->Geoconcept ->GeoRSS ->GPSTrackMaker ->VFK ->PGDump ->OSM ->GPSBabel ->SUA ->OpenAir ->PDS ->WFS ->HTF ->AeronavFAA ->Geomedia ->EDIGEO ->GFT ->GME ->SVG ->CouchDB ->Idrisi ->ARCGEN ->SEGUKOOA ->SEGY ->XLS ->ODS ->XLSX ->ElasticSearch ->PDF ->Walk ->CartoDB ->SXF

qgib commented 9 years ago

Author Name: Alexander Bruy (@alexbruy)


qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


will be fixed with

https://github.com/qgis/QGIS/pull/1849


qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)