Feature request #5021
fTools: add results to the original file, do not produce a new one
|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.
#2 Updated by Richard Duivenvoorde almost 10 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...