Feature request #8479

create layer from selection

Added by Gavin Fleming over 11 years ago. Updated about 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Unknown
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:17246

Description

New:
If you want to create a new layer based on a selection, it is impossible if the selection was spatial as there is no visible SQL artefact describing the selection.

Like the ESRI 'create layer from selection', or the QGIS 'spatial query' plugin, it would be great to right-click on a layer and do this, the result being a new virtual layer filtered by the same query that resulted in the current layer's selection, whether it was done with SQL or was a graphical query, the result of a spatial overlay, or any operation resulting in a selection.

Old:

If you want to create a new layer based on a selection, it is impossible if the selection was spatial as there is no visible SQL artefact describing the selection.

Like the ESRI 'create layer from selection', or the QGIS 'spatial query' plugin, it would be great to right-click on a layer and do this, the result being a new layer (NOT a new 'save as' dataset) filtered by the same query that resulted in the current layer's selection, whether it was done with SQL or was a graphical query, the result of a spatial overlay, or any operation resulting in a selection.

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

#2 Updated by Jürgen Fischer about 7 years ago

  • Category set to Unknown

#3 Updated by Gavin Fleming about 7 years ago

  • Description updated (diff)

I can't seem to be able to modify the original description so I'd like to change

Gavin Fleming wrote:

If you want to create a new layer based on a selection, it is impossible if the selection was spatial as there is no visible SQL artefact describing the selection.

Like the ESRI 'create layer from selection', or the QGIS 'spatial query' plugin, it would be great to right-click on a layer and do this, the result being a new layer (NOT a new 'save as' dataset) filtered by the same query that resulted in the current layer's selection, whether it was done with SQL or was a graphical query, the result of a spatial overlay, or any operation resulting in a selection.

to

If you want to create a new layer based on a selection, it is impossible if the selection was spatial as there is no visible SQL artefact describing the selection.

Like the ESRI 'create layer from selection', or the QGIS 'spatial query' plugin, it would be great to right-click on a layer and do this, the result being a new virtual layer filtered by the same query that resulted in the current layer's selection, whether it was done with SQL or was a graphical query, the result of a spatial overlay, or any operation resulting in a selection.

#4 Updated by Giovanni Manghi about 7 years ago

  • Description updated (diff)

Done. Note: the spatial query plugin was removed in QGIS3.

Also available in: Atom PDF