I need to download/create a PBF file containing all osm data for several french urban areas. To select data, I have, for each urban area, the values of the attribute ref:INSEE for every city composing the area.
What could be the best method to do this?
I'm looking for an automatable method, for example by a script with a boundary filter as a parameter.
Geofabrik seems to have automatic tasks to do it for every regions, country and continent.
My environments are a windows local machine and a linux server.