[Qgis-developer] In with the new, out with the old?

Carson Farmer carson.farmer at gmail.com
Mon Mar 7 17:22:33 EST 2011


>> > One thing I'd really like to do is add the capability to output other
>> > formats besides shapefiles (I'm not a big shapefile fan these days,
>> > field name limitations are a hassle). I might try move over the
>> > geometry and geoprocessing tools first, as they seem to be the most
>> > frequently used tools.
>>
>> Maybe it is better to create in-memory layer and let user to save it in
>> some desired format using Save As... option from layer context menu?
>
> Hmmmm implementing other file formats to the QgsVectorFileWriter is quite
> easy, while AFAIK writing to the memory layer requires another approach. Maybe
> we should encapsulate the QgsVectorFileWriter to provide an universal class
> for the 1.7 API? Just a thought - it's late and my brain is busy with a few
> other threads ;)
My preference would be to add the capability to write to other
formats. Writing to a memory layer can become unwieldy when working
with large layers (which is common with geoprocessing operations).

Carson


-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/


More information about the Qgis-developer mailing list