[Qgis-user] length...

Carson Farmer carson.farmer at gmail.com
Fri Mar 13 02:59:32 PDT 2009


HI Micha,
>> To get the column length, you can use the export/add geometry 
>> function in fTools, which will create a copy of the dataset (as a 
>> shapefile) with an additional length field (or it will populated the 
>> length field if it already exists). From this you can use the compute 
>> basic statistics function to get the sum of the field...
>>
> Any chance to alter the fTools plugin so that the geometry functions 
> stick the new columns straight into the original shapefile? 
I'd love to of course, but the ability to add fields to shapefiles was 
only recently added to ogr (which is what QGIS uses to do all this 
lovely stuff), and this is not yet a minimum version constraint on QGIS, 
so not everyone would be able to take advantage of this functionality... 
as soon as it's a requirement, I'll change the tool to reflect this.


Cheers,


Carson

-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
Email: Carson.Farmer at gmail.com
Web:   http://www.carsonfarmer.com/
       http://www.ftools.ca/





More information about the Qgis-user mailing list