I am working in QGIS using a gejson obtained from an overpass turbo query. After having defined some layer configurations and operations, I would like to update the geojson file with more up-to-date information from OpenStreetMap but without repeating the operations and configurations. I know that I could manually do the overpass turbo query again and overwrite the gejson file, but I am looking for some automated way. Maybe the easiest way is to create an script and run it, or (from what I have read -and if I am not wrong) even using QGIS' toolbox, but unfortunately I do not know where to start in both scenarios.
1 Answer
I would recommend using a scripting language to automate your tasks and querying the overpass data.
Python is commonly used in GIS applications and interfaces well with QGIS. There's even an Overpass Python library. You can have a look at these resources for learning Python for GIS, you may also find some examples of scripts by searching for the [python] & [overpass-api] tags
-
Thank you for your reply @raphael Could you please elaborate a little bit more on how to make script? I do not know where to start– ccamaraCommented May 10, 2016 at 12:59
-
1You can have a look at the resources here: gis.stackexchange.com/q/3001/36886– raphaelCommented May 10, 2016 at 17:38