this post was submitted on 06 Oct 2025
12 points (100.0% liked)

OpenStreetMap community

5146 readers
18 users here now

Everything #OpenStreetMap related is welcome: software releases, showing of your work, questions about how to tag something, as long as it has to do with OpenStreetMap or OpenStreetMap-related software.

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

Join OpenStreetMap and start mapping: https://www.openstreetmap.org/.

There are many communication channels about OSM, many organized around a certain country or region. Discover them on https://openstreetmap.community/

https://mapcomplete.org/ is an easy-to-use website to view, edit and add points (such as shops, restaurants and others)

https://learnosm.org/en/ has a lot of information for beginners too.

founded 5 years ago
MODERATORS
 

EDIT: Thank you for all the method to do a research. I'll try them all when I'll have a bit of time.

When I move in a new place, I always look for a map of libraries and for the closest public bookcases.

According to wikipedia

A public bookcase (also known as a free library or book swap or street library or sidewalk library) is a cabinet which may be freely and anonymously used for the exchange and storage of books without the administrative rigor associated with formal libraries. When in public places these cabinets are of a robust and weatherproof design which are available at all times. However, cabinets installed in public or commercial buildings may be simple, unmodified book-shelves and may only be available during certain periods.

At my current place I couldn't find a map of bookcases and I didn't find one walking around my home. Fortunately there is OSM and the very helpful site www.boites-a-livres.fr. The site maps out every french public bookcase using OSM and gives very clear information about how to find them on OSM, even for beginner user like me.

In OSM, public bookcases are represented by a amenity key and a public_bookcase value. They can be either node or area element.

However, if I search for "public_bookcase" in openstreetmap.org search bar, I don't get the result I want. How can define in my research keys and values?

Thank you for your help.

you are viewing a single comment's thread
view the rest of the comments
[–] infeeeee@lemmy.zip 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

The searchbox on osm.org is actually not even part of osm, it's a separate project called Nominatim:

The main goal of the Nominatim is geocoding by name and addresses, and it doesn't search in all osm parameters, just in names and addresses, so it can find only public bookcases which are named "public bookcase". But naming a bookcase "public bookcase" is against the tagging rules on osm, as such common descriptions shouldn't be added to the name tag: https://wiki.openstreetmap.org/wiki/Names#Name_is_the_name_only

~~So that searchbox there is wrong recommendation, it will find only mistagged bookcases.~~

[–] schnurrito@discuss.tchncs.de 4 points 2 weeks ago (1 children)

Most of what you write is right, but not the part where you write it searches only in names and addresses, it does have some support for POIs. If I search for public bookcase near paris, the top three results are https://www.openstreetmap.org/node/12387870803 https://www.openstreetmap.org/node/9569806762 https://www.openstreetmap.org/node/11733421968 none of which have anything like "public bookcase" in their names, they are tagged amenity=public_bookcase though.

[–] infeeeee@lemmy.zip 3 points 2 weeks ago (1 children)

Wow, adding "near Paris" changes the results, but without it it only finds nodes with name=public bookcase

[–] schnurrito@discuss.tchncs.de 4 points 2 weeks ago (1 children)

Yes, that's what I wrote in my first comment in this thread. It seems it recognizes "near" as a keyword to look up things in a map from POI descriptions to tags. I'm sure it's open source, so we could simply look there, but I don't know where that exact logic is located.

[–] alan@en.osm.town 2 points 2 weeks ago (1 children)

@schnurrito @infeeeee Nominatim recognises some "special phrases" with words like "near" and "in". This allows just a little bit of "natural language" searching for POIs.

There is some info on the OSM wiki at this link. Within that, the "current language" pages tell you which phrases are recognised per language. You can see that the English language page has several mappings related to public bookcases.

https://wiki.openstreetmap.org/wiki/Nominatim/Special/_Phrases

[–] troglodyte_mignon@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

Whaaat, I didn’t know that. You made my day.

Unfortunately, the French version isn’t so well‑rounded and doesn’t have bookcases.

Edit: @schnurrito@discuss.tchncs.de and @infeeeee@lemmy.zip, you made my day too. You all are awesome and I’m leaving for work in an excellent mood.