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.62k stars 3.01k forks source link

Prefer the QGIS-providers over the OGR-provider #22100

Open qgib opened 8 years ago

qgib commented 8 years ago

Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 14093

Redmine category:browser


For files that are supported by both native QGIS and the GDAL/OGR providers, like CSV, it is usually preferable to use the native one over the GDAL one. See also #22088


Related issue(s): #22088 (relates) Redmine related issue(s): 14078


qgib commented 8 years ago

Author Name: Jürgen Fischer (@jef-n)


So what are you suggesting?

qgib commented 8 years ago

Author Name: Paolo Cavallini (@pcav)


To use QGIS provider for CSV instead of GDAL, when loading layers from the browser.

qgib commented 8 years ago

Author Name: Jürgen Fischer (@jef-n)


qgib commented 8 years ago

Author Name: Even Rouault (@rouault)


Repeating my comment in #22088: I'd note that the OGR CSV driver has gained editing capabilities in GDAL 2.1dev (specificaly to be used through QGIS), whereas AFAICS the QGIS CSV provider is read-only. It would be a shame that using the OGR CSV driver is no longer accessible. In my (admitedly biased) opinion, dealing with formats should be GDAL job ;-)

qgib commented 8 years ago

Author Name: Paolo Cavallini (@pcav)


Sounds right to me: why having a QGIS provider then?

qgib commented 8 years ago

Author Name: Nathaniel V. Kelso (@nvkelso)


+1 for keeping GDAL/OGR CSV provider. The edit ability in 2.1dev is really useful!

qgib commented 8 years ago

Author Name: Nyall Dawson (@nyalldawson)


Sounds right to me: why having a QGIS provider then?

There's lots of features in the QGIS provider not available in the OGR one. Eg custom delimeters and caching. If all these extra features were available in the OGR provider then I'd be in favor of removing the QGIS one.

qgib commented 8 years ago

Author Name: Sebastian Dietrich (Sebastian Dietrich)


I think one problem is that many users don't even know there are two different ways of handling a CSV file, nor do they know when they are used:

I was one of those users until I investigated #22088.

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 6 years ago

Author Name: Paolo Cavallini (@pcav)


Still a unified approach seems useful to me for QGIS 3.x. Feel free to close this if appropriate.


qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)