How can I pass a variable inside a overpass-turbo query? Typically (with Spyder) the query would be:
I want to read a parameter from a basic json and pass it to the query. Something like:
How would I do this? asked 12 Jul '21, 19:09 arkriger |
You want some variation of Python's string format: https://docs.python.org/3/library/stdtypes.html#str.format The code will be similar to this:
There's lots of flexibility in exactly how you put it all together, using a named placeholder, f strings (which are closer to your example probably), and on and on. answered 12 Jul '21, 21:32 maxerickson |