I am working on a street network in QGIS. I needed to increase the resolution of the street segmentation in an area of my network, so I copied and paste this area from another layer.

I selected all features from this network: enter image description here

And paste it to my original network: enter image description here

The street segmentation is now fine (I got the resolution I wanted in the area I was interested to). The problem is that in the resulting layer, in the areas where the network I pasted overlaps with my original one, I completely lost all of the data in the attribute table.

enter image description here

As you can see, I selected a random street segment in the overlapping area and the corresponding columns in the attribute table are all NULL.

However, the good news is that the data I wanted to keep (street ID and traffic data TJM_2010) are still present in the Identify Results: enter image description here

Do you know a way to export this data into the attribute table? Since the street segments that now lack information in the attribute table are quite a lot, it would be great if the method was automatic.

  • 1
    The features that you copied over, did they have similar attribute fields to your original layer?
    – Joseph
    Apr 12, 2016 at 11:12

1 Answer 1


As Joseph has asked, most likely some of your field names between the two layers do not match. When doing feature copy and paste the field names and order must be exact for attributes to populate correctly. Here are a few options to remedy this:

  • Create the missing fields in the destination table in the order they exist in the other layer/table
  • Perform a table join (based on a common id field) between the two tables and field calculate the NULL fields with the related joined field
  • Merge the two tables. This will create a new layer however the fields of both tables should be carried over to the new table

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.