Martin Raifer
Martin Raifer
> just need a "export" and "import" feature This wouldn't actually solve the issue since after enabling HSTS, one couldn't access the http-version anymore to export the queries from.
I agree that overpass turbo shouldn't crash on invalid input. But isn't this primarily (?) a bug of the overpass api: https://github.com/drolbr/Overpass-API/issues/463 (falsely returning a deleted way version as not-deleted)
Sorry for the late reply, but I'm still a bit reluctant on this. The thing is that overpass turbo is not only a tool for OSM pro mappers that know...
That's odd. Are you accessing overpass-turbo via http or https? Do you see any error messages in the [javascript console](https://debugbrowser.com/)? Is the query you want to save very long maybe?
OK, I see. The thing is that one can only store quite a [limited](https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user) amount of data on one's osm account, so there's a [limit](https://github.com/tyrasd/overpass-turbo/blob/master/js/sync-with-osm.js#L143) to what overpass turbo will...
What you already can do is: using overpass' `out center;` mode to get points for all features in the result.
@Zverik: is `http://overpass.openstreetmap.ru/cgi/` now permanently offline, or will it be available again at some point?
Cool! I don't really have a very concrete idea of how to implement it, since I have not much experience of programming such software, but maybe we could take some...
Yes, the `q` option is used by overpass-turbo to handle longer queries by compressing them. Admittedly, it's using a pretty odd compression code taken from the [_jsolait_](https://github.com/kindy61/jsolait/blob/master/jsolait/lib/codecs.js) library (which was...
edit: that said, you could of course use a server side `nodejs` script (using the functions defined in [libs/misc.js](https://github.com/tyrasd/overpass-turbo/blob/master/libs/misc.js)) to generate valid `q` parameters: `Base64.encode(lzw_encode("…overpass query…"))` should do the trick.