Hello Bo et al,

Thanks very much.  I upgraded to 3.16.4 with some improvement. Fields in the source but not present in the target were lost.

However, the Refactor tool worked well.  By making field names identical in the source and the target I was able to append new records to the master file by copy and paste, didn't need the Merge Layers tool.  I prefer not to create too many files.

Thanks again . . . . .

-----
Cheers, Spring



On 12/Mar/2021 02:05, Bo Victor Thomsen wrote:

You can use processing algorithm "refactor fields" on the layer(s) that have fields to be changed. This operation will give you a temporary file/layer the same number of columns and -names as the original layer, but with column type(s) redefined by you.

Afterwards you can merge the temporary file/layer with the other layers

Just be sure to have the latest (functioning) version of QGIS installed: 3.16.3. From the error message you included, I suspect you have an older version of QGIS installed. I tried to merge 2 layers using QGIS 3.16.3 and the result was a new layer that contained the merged layers. If there was a data discrepancy the result values were null's (but no run-time errors)

Med venlig hilsen / Kind regards

Bo Victor Thomsen
Den 12-03-2021 kl. 10:04 skrev Springfield Harrison:

Thanks Bo,

I tried a sample run but it failed:

"TAG field in layer Tree Table All 2 PntType has different data type than in other layers (String instead of integer)

Execution failed after 1.20 seconds"

It looks like it can't handle differing data types and won't offer choices for merging fields.  I wonder if there are other tools?

Thanks again . . . .

-----
Cheers, Spring


On 12/Mar/2021 00:48, Bo Victor Thomsen wrote:
Menu "Vector" -> "Data management tools" -> "Merge vector layers"

Med venlig hilsen / Kind regards

Bo Victor Thomsen

Den 12-03-2021 kl. 09:35 skrev Springfield Harrison:
t shapefile) of trees to which I n
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to