tyrasd / overpass-turbo

A web based data mining tool for OpenStreetMap using the Overpass API.
https://overpass-turbo.eu
Other
936 stars 132 forks source link

API for the wizard #425

Open Gustry opened 5 years ago

Gustry commented 5 years ago

Hi, I'm the QuickOSM plugin developer.

I saw on the QGIS Mailing list that people are enjoying the wizard from OverpassTurbo. I was looking for a way to integrate it into QuickOSM but a quick look with Firebug shows me that all the logic is client side. Do you think that one day there will be a server API to generate queries? So both Overpass Turbo and QuickOSM can use the same API to generate queries?

Thanks

grischard commented 4 years ago

The JOSM guys are thinking of re-implementing this in Java at https://josm.openstreetmap.de/ticket/18164

simon04 commented 4 years ago

@Gustry, you might want to deploy an overpass-wizard-server: https://github.com/tyrasd/overpass-wizard/tree/master/server

Gustry commented 4 years ago

Thanks. This is indeed promising!

It seems it's not supporting all kind of queries from the wizard, no? Like museum in vienna, museum%20in%20vienna while it's working in the OverpassTurbo UI.

simon04 commented 4 years ago

In JOSM, we had been performing a Nominatim request after receiving the query from the wizard, see https://josm.openstreetmap.de/changeset/11003/josm/ and https://josm.openstreetmap.de/changeset/12714/josm/