I've got a list of relations of power plants and would like to query the "plant:output:electricity" tag. Is there any generic tool (for Linux commandline) which queries the content of an arbitrary tag from Overpass? So e.g. I would like to do: ./querytool -relation 368946 -tag "plant:output:electricity" and get out "150 MW". Thanks for any help! |
It's not a ready made tool, but you can pipe curl into something like jq:
I guess that won't work well if you want a lot of flexibility, but for simple queries it should be fine. |
Why are you not answering?
I’m still trying to find an answer for you.
@landuse please be polite. All answers are provided by volunteers in their free time and you have no "right" to an answer in any form.