Feature request #5021

fTools: add results to the original file, do not produce a new one

Added by Paolo Cavallini about 5 years ago. Updated 10 months ago.

Status:Closed Start Date:02/14/2012
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


Many fTools commands produce a new shapefile, identical to the original one with only a column added (e.g. Sum line lengths, Points in polygons, etc.). Better add the columns to the original file.


Updated by Giovanni Manghi about 5 years ago

I'll add this as an option, many people like the fact that the original source is just read.

Updated by Richard Duivenvoorde about 5 years ago

In my opinion the default would be just create a memory layer (instead of defaulting to create a shapefile as it is now).

I think when Carson created fwtools that the memory layer was not mature enough (or even not available), but nowadays it's easy to create one in Python and put geomtries+attributes in it.

In this way a user can always decide her/himself to save it as a shapefile (for operations which add a column) or copy/paste the geometries to the original file (for operations which just create some geometries, like buffers etc))

In this way it is easier to try out some parameter values for an operation without having 16 shapefile related files somewhere on you disk named 'test1, test2 etc etc' :-)

Off course for huge shapefiles it is better to create a shapefile immediatly, but then that is up to the user to decide...

Updated by Paolo Cavallini about 5 years ago

Most other tools just add columns. Duplicating geometries seem unnecessary.

Updated by Paolo Cavallini over 4 years ago

  • Target version set to Version 2.0.0

Updated by maning sambale almost 4 years ago

Is this implemented either in Sextante or fTools already? If not, I suggest this is a feature enhancement and move to a later QGIS version.

Updated by Giovanni Manghi over 3 years ago

  • Tracker changed from Bug report to Feature request
  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Alexander Bruy 10 months ago

  • Status changed from Open to Closed

fTools now removed from QGIS, so I close this. Please reopen if necessary.

Also available in: Atom