<html><head></head><body><div class="gmail_quote">Il 20 luglio 2017 00:09:56 CEST, Nyall Dawson <nyall.dawson@gmail.com> ha scritto:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 20 July 2017 at 00:35, Andreas Neumann <a.neumann@carto.net> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi all,<br /><br /> Thanks all for your feedback. The "Add delimited text" way of loading CSV<br /> data is a lot more powerful and more flexible than the OGR way. So I would<br /> really prefer to use the CSV this way and still be able to edit and save<br /> directly to the CSV.<br /><br /> Would this be possible as an enhancement?<br /></blockquote><br />I still think the "proper"/"most open source ecosystem friendly"<br />approach here would be to port the extra features which QGIS'<br />delimited text provider has across to GDAL's csv driver. Then the "add<br />delimited text" button would become just a frontend for setting up the<br />parameters for GDAL's driver (and possibly auto-creation of a csvt<br />file too).<br /><br />Given that gdal already supports editable csv (and is used by many<br />projects outside of QGIS), it seems more friendly to the wider<br />community if any investment was about enhancing gdal's driver instead<br />of adding write support within QGIS only.<br /><br />That's just my 2c!<br /><br /><br />Nyall<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> I don't need concurrent/simultaneous editing with Spreadsheets. All I want<br /> is an editable CSV directly from QGIS, so that it could be at a later time,<br /> be opened in Spreadsheets again (not opened at the same time in QGIS as<br /> well).<br /><br /> Andreas<br /><br /><br /> On 19.07.2017 16:23, Stefan Keller wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /> Nice hints, Bernhard and Nyall<br /> Thinking about, there's no really complicated technical reason why<br /> concurrent editing would not work.<br /> It's simply a matter in which mode the reader SW opens the file.<br /> * QGIS delimited text provider: locks.<br /> * QGIS OGR data provider: does not lock - but not ask to reload if<br /> file has changed.<br /> * LibreOffice Writer and Excel: lock<br /> * Notepad++: does not lock - and asks to reload if file has changed<br /> * Other text editors: depends...<br /><br /> So, in fact e could slightly enhance the situation, if QGIS delimited<br /> text provider would not lock (and eventually ask to reload when file<br /> changed).<br /> The remaining problem is that we can't change the behaviour of<br /> LibreOffice Writer (Windows) nor Excel short term...<br /> Eventually someone could ask the LibreOffice Writer dev's for a solution?<br /><br /> :Stefan<br /><br /><br /> 2017-07-19 8:48 GMT+02:00 Nyall Dawson <nyall.dawson@gmail.com>:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><br /> On 19 July 2017 at 15:45, Andreas Neumann <a.neumann@carto.net> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"><br /> Hi,<br /><br /> Is there a particular technical reason why csv/text files aren't<br /> editable in<br /> QGIS? Or is this mainly for historical reasons and it could be<br /> implemented<br /> as editable with reasonable effort?</blockquote><br /> It depends how they are loaded. If you load them using the delimited<br /> text provider, then no, they aren't editable.<br /><br /> BUT.....<br /><br /> if you load them as a ogr layer, they will be! (Since GDAL supports this)<br /><br /> So drag and drop them to QGIS, or add via the "add vector layer"<br /> button and they'll be editable.<br /><br /> Nyall<br /><hr /><br /> QGIS-Developer mailing list<br /> QGIS-Developer@lists.osgeo.org<br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /></blockquote></blockquote></blockquote><br /><hr /><br />QGIS-Developer mailing list<br />QGIS-Developer@lists.osgeo.org<br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre></blockquote></div><br clear="all">Sure, agreed fully.<br>
All the best.<br>
-- <br>
Sent from mobile. Sorry for being short</body></html>