Id: standalone query builder

Created on 19 Dec 2019  路  3Comments  路  Source: openstreetmap/iD

hi
I would like to create an generic UI component to built a overpass query that is user friendly.

how can I separately and independently use the part of iD that deals with building overpass queries? Is there a possibility that we can separate as a independ component?
Only to build a overpassquery without.. geometry editing and others..
I would like to create one using Bootstrap or other as a base
Screenshot at 2019-12-19 17-51-43

question

Most helpful comment

@stefanocudini Happy to help! I know it can be hard at first to figure out how all the pieces fit together and what questions to ask. You can also check out our Slack group where some overpass experts hang out: https://slack.openstreetmap.us/

All 3 comments

Hi @stefanocudini, iD doesn't actually build nor run overpass queries. Tag suggestion in iD's combo dropdowns are returned from the TagInfo API. See this file for our implementation.

I'd try looking into the Overpass Turbo project which has a wizard for building queries. Hope that helps, good luck!

@quincylvania thank you so much for the tips!
I apologize for writing an issue here, but iD's tag suggestion is the closest thing to what I had in mind

@stefanocudini Happy to help! I know it can be hard at first to figure out how all the pieces fit together and what questions to ask. You can also check out our Slack group where some overpass experts hang out: https://slack.openstreetmap.us/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tmcw picture tmcw  路  3Comments

manfredbrandl picture manfredbrandl  路  3Comments

rivermont picture rivermont  路  3Comments

scaidermern picture scaidermern  路  3Comments

thibaultmol picture thibaultmol  路  3Comments