[QGIS-Developer] Editable CSV files

Stefan Keller sfkeller at gmail.com
Wed Jul 19 07:23:33 PDT 2017


Nice hints, Bernhard and Nyall
Thinking about, there's no really complicated technical reason why
concurrent editing would not work.
It's simply a matter in which mode the reader SW opens the file.
* QGIS delimited text provider: locks.
* QGIS OGR data provider: does not lock - but not ask to reload if
file has changed.
* LibreOffice Writer and Excel: lock
* Notepad++: does not lock - and asks to reload if file has changed
* Other text editors: depends...

So, in fact e could slightly enhance the situation, if QGIS delimited
text provider would not lock (and eventually ask to reload when file
changed).
The remaining problem is that we can't change the behaviour of
LibreOffice Writer (Windows) nor Excel short term...
Eventually someone could ask the LibreOffice Writer dev's for a solution?

:Stefan


2017-07-19 8:48 GMT+02:00 Nyall Dawson <nyall.dawson at gmail.com>:
> On 19 July 2017 at 15:45, Andreas Neumann <a.neumann at carto.net> wrote:
>> Hi,
>>
>> Is there a particular technical reason why csv/text files aren't editable in
>> QGIS? Or is this mainly for historical reasons and it could be implemented
>> as editable with reasonable effort?
>>
>
> It depends how they are loaded. If you load them using the delimited
> text provider, then no, they aren't editable.
>
> BUT.....
>
> if you load them as a ogr layer, they will be! (Since GDAL supports this)
>
> So drag and drop them to QGIS, or add via the "add vector layer"
> button and they'll be editable.
>
> Nyall
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list