Fantastic. I'll take a better look next week and will see if I can forward a patch to get one of fTools functions writing to any ogr format.<br><br>If the qgis team are happy with this I will look at the other functions in ftools. Probably best to use git for that so may need a quick heads up on how to use just the ftools folder of qgis git repository. <br>
<br>Also would be nice to know what tools people use for python (e.g. IDEs etc). I'm new and so far most of my python work has been small but with something like ftools it is tricky to follow over several .py files. <br>
<br>Rob<br><br><br><br>On Thursday, 5 July 2012, Giuseppe Sucameli <<a href="mailto:sucameli@faunalia.it">sucameli@faunalia.it</a>> wrote:<br>> Hi Rob,<br>><br>> On Thu, Jul 5, 2012 at 9:30 PM, Rob Nickerson <<a href="mailto:rob.j.nickerson@gmail.com">rob.j.nickerson@gmail.com</a>> wrote:<br>
>> I noted<br>>> that gdal tools have a hard coded look up table. If this is the only way<br>>> then can i suggest we bring such a table into the core so that all plugins<br>>> can make use of it. Alternatively we switch to write to a memory layer -<br>
>> however I do not know how to do this...<br>><br>> you're right, GdalTools has a map containing all the drivers<br>> informations, it gets everything from the gdal module but that<br>> part was developed about 2 years ago as workaround for some<br>
> old QGis bugs.<br>><br>> Have a look at QgsVectorFileWriter static methods,<br>> supportedFiltersAndFormats() [1] should be the one you need.<br>><br>> Regards.<br>><br>> [1] <a href="http://qgis.org/api/classQgsVectorFileWriter.html#a6a21cf775f777b9ed4ba445db33aa08d">http://qgis.org/api/classQgsVectorFileWriter.html#a6a21cf775f777b9ed4ba445db33aa08d</a><br>
><br>> --<br>> Giuseppe Sucameli - Faunalia<br>>