I’ve just come across this interesting thread explaining how to easily generate Overpass queries using GPT, which seems like a user experience booster for a lot of people and lowering the entry level to the minimum
From the comments I’ve also learned about ChatGeoPT
overpass-ai is doing something similar:
Prompt example:
Write an overpass query to highlight all public transport lines in Madrid, Spain
Result:
[out:json];
area[name="Madrid"]->.a;
(
relation["type"="route"]["route"="bus"](area.a);
relation["type"="route"]["route"="tram"](area.a);
);
out body;
>;
out skel qt;
There are some open source models being released in the pasts weeks. Maybe we can dream with a future where you can interact, search and query osm.org using natural language?
I tried making a “GPT” for this purpose, too. It is sometimes able to make a proper query and get the results, but frequently asks for too large of a result, or creates a malformed query.