[GIS] Creating New Layer After Sorting Attribute Table using QGIS

attribute-tablefilterlayersqgisqgis-2.4

I have been self-teaching myself some open source GIS.

I downloaded QGIS and have been following this four part tutorial – http://www.youtube.com/watch?v=XUD6zcNGl4A&list=UUZkLX9x-HiA4B0sGPPvZMcQ. That's part 3, where at 5:21 he filters attribute table for NULL under the OPERATOR column. I don't have his search bar, but I can filter columns. I can choose OPERATOR and type in NULL (or null, case sensitive doesn't matter). It'll filter out to ~5000 results from ~12000 oil wells. However, I cannot save this as a new layer. If I have editing toggled "Save for selected layer(s)" is grayed out. When I click on "save as" the "Save only for selected features box" is also grayed out, and cannot be selected. Any help with this?

Also sometimes, if I do just save as a new layer it will save every well (all ~12000) as the new layer.

I'm using QGIS 2.4.0 on Windows 7.

Best Answer

I had the same exact problem! After an hour of screwing around:

  • open attribute table
  • go to column filter
  • type NULL and apply
  • when the filter is applied, right click in the top left corner, and click on "select all"
  • minimize attribute table
  • go to "edit"
  • go to "paste features as" and click "new vector layer"
  • fill out the dialogue box (project as WSG 1984 Europe North Pole), save layer
  • make sure to check the "show on map box"

I know this is a couple months late, and you probably have it figured out, but I hope this helps someone! I could not find any answers in the tutorials for this one.

Related Question