1

I have QGIS 2.14.

I opened a .shp file (with dbf etc) and selected a few features. Created a new QGIS project and pasted features as new Vector Layer.

The attributes table was created automatically in correct schema (field names & types) however the values are NULL.

I have explored other questions on stackexchange but they seem to be focusing on schema or field definition problem, in my case the schema is exactly same but still NULL values appearing.

Any ideas ?

1 Answer 1

3

The safest way to load some selected features into a new project file is to save the selected features first into a new shapefile, then load the selected shapefile into the new QGIS project document.

To do that

  • Select the targeted features from the original shapefile
  • Right-click the layer from which you select the features -> Go to Save as
  • Check the "Save only selected features" located under Encoding, as you can see in the image below

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.