Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosted overpass-wizard? #11

Open
simon04 opened this issue Feb 27, 2020 · 2 comments
Open

Hosted overpass-wizard? #11

simon04 opened this issue Feb 27, 2020 · 2 comments

Comments

@simon04
Copy link
Contributor

simon04 commented Feb 27, 2020

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
Copy link
Owner

tyrasd commented Mar 1, 2020

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

That sounds like a reasonable approach. 👍

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
Copy link
Contributor Author

simon04 commented Mar 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants