I have a vector file "map.shp" with a field ID. I have an attribute table (data.txt) with the following fields: ID, value1, value2. The field ID is the same in both files.
I want to update map.shp by adding a new column and get the values from an attribute table ("data.txt").
How I could that with ogr in command line?
Since I don't have 2 shapefiles (vector layers).