From three .tif files I got the relative associated .shp files through gdaltindex. Now, I'd like to create a new .shp file given by the intersection of the three shp. files previously obtained. How could I do this through gdal?
I found this Q&A but I don't know how to create OGR VRT layer.
In my case (3 .shp files) ogr2ogr -clipsrc master.shp output.shp slave_one.shp ogr2ogr -clipsrc output.shp output_finale.shp slave_two.shp
– Salvo Dec 21 '22 at 18:16