[openstreetmap/openstreetmap-website] Filtering notes using hashtag combinations and hashtags with underscore doesn't work as expected (#2587)

ENT8R notifications at github.com
Mon Apr 13 15:48:42 UTC 2020


Actually, this is quite similar to https://github.com/openstreetmap/openstreetmap-website/issues/2585
The search method is so simple that it doesn't suit most use cases. I also have no clue if it would be a good idea to add additional logic to the search... Maybe it would be better to use a different service than the API directly in order to search and filter notes (and show them in the interface of NotesReview), like @tomhughes already pointed out in #2585. The only problem is that I'm not aware of any service like that.
I really would like to work on something similar, the only thing that keeps me from doing is, is that the [notes database dump](https://planet.openstreetmap.org/notes/) is only generated on a daily basis. It is nice that they are exported every day, but often this seems to be a long time. @tomhughes Is there some possibility to get the notes from the database in real time?
One way I could think of is simply fetching the notes from the API in a given interval by the time they were last updated (https://api.openstreetmap.org/api/0.6/notes/search.json?sort=updated_at) and importing it in some kind of database.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2587#issuecomment-612956899
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200413/68196f04/attachment.htm>


More information about the rails-dev mailing list