I would like to incorporate the results of overpass-queries into a model, which in the end gives me a clipped union of these results (all roads within a specific area).
The challenge is to automate the query by handing it a bbox based on the area of interest.
Is there a way to do so? Could "Oriented minimum bounding box" help me in this?
I am using the graphical modeller of QGis to union several different types of roads (motorway, primary, etc) which I downloaded from OSM via the QuickOSM extension for QGis. I am doing several downloads due to possible crashes of QGis when forcing the processing/download of to much data via QuickOSM.
Right now the data has to be downloaded manually, but since I will have to do this several times for different regions I would like to automate the whole process further by including the download into the model.
My question: Is there a way to automatically hand a bbox based on my current area (available as shape) to an overpass API query?