Feature request #5021

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

Added by Paolo Cavallini over 12 years ago. Updated about 7 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?: Copied to github as #:14797


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.


#1 Updated by Giovanni Manghi over 12 years ago

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

#2 Updated by Richard Duivenvoorde over 12 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...

#3 Updated by Paolo Cavallini over 12 years ago

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

#4 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#5 Updated by maning sambale about 11 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.

#6 Updated by Giovanni Manghi almost 11 years ago

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

#7 Updated by Alexander Bruy about 8 years ago

  • Status changed from Open to Closed

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

#8 Updated by Giovanni Manghi about 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF