Hi - I'd like to search for OSM Notes with the keyword "solar" in the text. How can I do that please? (There's no hint of it in the wiki page about Notes, even in the Advanced Use. It seems to me I can't be the first person wanting to do this) asked 31 Jul '19, 09:10 mcld edited 31 Jul '19, 09:11 |
One Answer:
A nice web interface to search in the note text is here: https://ent8r.github.io/NotesReview/ and if you want to just access the API and get back an XML document, you can fire off a query like https://api.openstreetmap.org/api/0.6/notes/search?q=%22search+term+here%22&closed=0 (details about the API are in https://wiki.openstreetmap.org/wiki/API_v0.6#Map_Notes_API ). answered 31 Jul '19, 09:18 Frederik Ramm ♦ edited 31 Jul '19, 09:19 |
Thanks. The web interface didn't work for me (I filed an issue here) but I look forward to it working. The raw search is good to know. I wish it also had a bbox parameter! ... But then, that wasn't my question to you.
Thanks! Now on wiki: https://wiki.openstreetmap.org/wiki/Notes/Advanced_use#Search_for_Notes_with_a_keyword