tyrasd / overpass-wizard

:dizzy: Human friendly way to generate Overpass API queries
33 stars 6 forks source link

Hosted overpass-wizard? #11

Open simon04 opened 4 years ago

simon04 commented 4 years ago

JOSM currently bundles the overpass-wizard and evaluates the JavaScript using JRE's ScriptEngine Nashorn which is very likely going to be removed in Java 15. The easiest replacement would be a webservice which accepts a string and returns the generated Overpass Query. Do you have / does overpass-turbo.eu have a running Node.js backend which could easily be extended to provide this service?

Thanks (and see you in Freiburg?)!

tyrasd commented 4 years ago

The easiest replacement would be a webservice which accepts a string and returns the generated Overpass Query.

That sounds like a reasonable approach. :+1:

Do you have / does overpass-turbo.eu have a running Node.js backend which could easily be extended to provide this service?

I could run something like this on overpass-turbo.eu, sure, but wouldn't it make slightly more sense for you to host it on a place which is josm-specific? That's because at the moment I wouldn't have a use case for this service myself (outside of using it through JOSM). Also it would give you the opportunity to check whether or not anything breaks with future releases of the wizard. On the other hand… if it's a big hustle for you to set up and run, I can also run it for you.

simon04 commented 4 years ago

Thanks for your answer. I'll come back to this issue/question soon, depending on the outcome of https://josm.openstreetmap.de/ticket/18164#comment:6