Hi Martin, <br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 1:11 PM, Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, Aug 16, 2011 at 12:50 PM, Giuseppe Sucameli<br>
<div class="im"><<a href="mailto:brush.tyler@gmail.com">brush.tyler@gmail.com</a>> wrote:<br>
</div><div class="im">>> Please implement the support also for OGR provider - that should boil<br>
>> down to just a few lines of code when using QgsVectorFileWriter. In<br>
>> QGIS 2.0 we could move the code of this class to OGR provider and then<br>
>> remove that class.<br>
><br>
> Of course, after SL provider the next one is OGR. I think I'll complete both<br>
> tasks in the next few days.<br></div></blockquote><div>I've completed right now the import feature for the SL provider, see [1].<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
> The GSoC coding period is going to end this week and I want complete<br>
> that feature before the pencil down date.<br>
<br>
</div>Good. I hope you will also manage to make use of this new<br>
functionality in database manager, otherwise it would be visible only<br>
to developers...<br></blockquote><div class="im">I hope the same too, but I'll work on it only after the import layer feature <br>is also available for the OGR provider.<br><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> QMap<QString, QVariant> maybe makes even more sense since<br>
QVariant can accommodate anything including lists.<br></blockquote><div>I added an optional param QMap<QString, QVariant> named options, <br>unused in PG and SL.<br><br>Tests and comments are very welcome!<br><br>
Regards.<br></div></div><br>[1] <a href="https://github.com/brushtyler/Quantum-GIS/tree/import_layer" target="_blank">https://github.com/brushtyler/Quantum-GIS/tree/import_layer</a><br><br>-- <br>Giuseppe Sucameli<br>