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

Support offline issue download from API #404

Open
frodrigo opened this issue Oct 3, 2022 · 3 comments
Open

Support offline issue download from API #404

frodrigo opened this issue Oct 3, 2022 · 3 comments

Comments

@frodrigo
Copy link
Member

frodrigo commented Oct 3, 2022

To support offline

  • All issue, detail (full) and fixable should be report in on API call
  • preferably with bbox and not tiles.
@Helium314
Copy link

Thanks for creating this issue.

To make clear why I asked in Helium314/SCEE#384:
I implemented an Osmose quest in my fork of StreetComplete, which essentially just shows available issues and allows editing element tags (if an element is associated with the issue).
Since StreetComplete is supposed to work offline (downloading all data inside a bbox, which align with zoom 16 tiles), all Osmose issues in the downloaded bbox are downloaded too (currently using CSV, which contains sufficient data except fixables).

However, as part of solving Helium314/SCEE#384 (creating nodes with tags in fixable), also the fixable tags are needed.
I see 3 ways of doing this:

  1. switch to semi-online: download each issue once the user opens the corresponding quest
  2. stay offline with current possibilities: in addition to downloading the bbox, do another download with fixable=online (or josm?) and download each of the returned issues. This means that at least twice as many requests are sent, and potentially many many more. I assume this is not wanted from Osmose side due to extra server load (and I don't like it because it may slow download significantly if connection is bad or server is busy)
  3. stay offline with only one download: This would require the possibility of downloading issues with using the proposed API call

@mnalis
Copy link
Contributor

mnalis commented Aug 17, 2023

  1. stay offline with only one download: This would require the possibility of downloading issues with using the proposed API call

That would seem like best solution to me too. Is there any interest from Osmose side to have such functionality?

@frodrigo
Copy link
Member Author

  1. stay offline with only one download: This would require the possibility of downloading issues with using the proposed API call

That would seem like best solution to me too. Is there any interest from Osmose side to have such functionality?

Yes. But lack of time. Help and PR welcome.

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

No branches or pull requests

3 participants