Merge Ordnance Survey VectorMap District from different folders

المشرف العام

Administrator
طاقم الإدارة
I have four different folders with Ordnance Survey-Shapefiles from different regions.



I want to merge all these files theme by theme (for example all buildings to just one shapefile). The problem is that these are loads of shapefiles and all have different names like SS-Buildings.shp, ST_Buildings.shp and so on.

Has anyone else before managed to merge these files from different regions automatically (ogr2ogr / processing-toolbox?)?

Any ideas are very welcome.

What I found so far is this question: Batch merging shapefiles from different folders, different subfolders

The problem with the OS-files is that the different shapefiles from one topic like "Buildings" don't have the same name:



(Here I put together all "buildings"-shapefiles in one folder manually )

So I have to find a way to merge the files ignoring the first three characters of the filename and merging them together from different subfolders... seems to be pretty challenging



أكثر...
 
أعلى