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

OpenStreetMap community

5143 readers
19 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.

top 16 comments
sorted by: hot top controversial new old
[–] infeeeee@lemmy.zip 9 points 2 weeks ago* (last edited 2 weeks ago)

Some maps displaying public bookcases:

You can find maps displaying a specific tag with taginfo:

  • Search for the tag in taginfo
  • Go to the Projects tab on the page of the tag
  • It will list a lot of osm based projects which support the tag.

I found these maps here: https://taginfo.openstreetmap.org/tags/amenity=public_bookcase#projects

https://osmapp.org/ also supports searching for a category, just search for public bookcase and select the category

[–] jlow@discuss.tchncs.de 7 points 2 weeks ago

https://osmand.net/ you can just search "Public Bookcase", and hit "Show on Map"

[–] VitulusAureus@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago)

Overpass-turbo is great for specific searches. Here's an example looking for amenity=public_bookcase: https://overpass-turbo.eu/s/2d8j

You can move the view around, then press "Run" to search again within the current view area.

The query syntax is a bit complex, but the "wizard" function handles simple queries very well.

[–] strubbl@lemmy.ml 5 points 2 weeks ago* (last edited 2 weeks ago)

The easiest way for me is the Mapcomplete theme for bookcases: https://mapcomplete.org/bookcases.html With this, besides finding, you can also maintain existing ones.

(and i do not know a good way to find bookcases directly on osm.org without the help of e.g. overpass)

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

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?

AFAICT, the search feature on openstreetmap.org is meant to be used with human-readable expressions, i.e. "public bookcase" with a space, not underscore.

But I just tested it with various queries for "public bookcase near [city]" and they all gave me plenty of results, both with and without an underscore. Apparently searching for "public_bookcase" with an underscore by itself (without a city) only gives results that are named something like "public bookcase" (which should almost never happen, but that's a different question).

Ultimately the search feature on openstreetmap.org is unfortunately somewhat limited and if you want more sophisticated ways of searching the database, there are plenty of options available.

[–] 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.

[–] sic_semper_tyrannis@lemmy.today 3 points 2 weeks ago (1 children)

I never thought about adding these but I'll do it now!

[–] pseudo@jlai.lu 1 points 2 weeks ago

I'm grateful for it. Thank you for making my life easier (^_^)

[–] MapAmore@en.osm.town 2 points 1 week ago

@pseudo

Try OsmApp 0. It normally would try to open the map near you, or browse the region you're interested in.

It supports search-as-you-type, so start typing "public bookcase" -- and even before you get to finish typing that phrase, you should be able to select a "Public Bookcase" category, and that should give you some interesting results.

An image showing partial results from OsmAPP, as a user typed "public bo". An image displaying the results of an OsmAPP query from the public bookcase category.

[–] troglodyte_mignon@lemmy.world 2 points 1 week ago

Overpass-turbo is great, if not very layperson-friendly.

I just tried searching for “boite à livres” (using the “show on map” option) on Comaps (the mobile app I use daily as a map) and it works very well. Upsides: easy to use, works offline. Downsides: you have to download an app, and the data is only updated once a month, so if a public bookcase was added very recently, you won’t find it.

(It should work on Organic Maps too, which CoMaps is a recent fork of. And probably on other apps too?)

[–] gregorymarler@en.osm.town 1 points 2 weeks ago

@pseudo use Overpass Turbo.
https://overpass-turbo.eu/s/2d89
Move map to your area (or search box on map), but not to big an area, and click "Run".
Click "Wizard" to search for other things (if you know the key-value pair).

The search on OSM.org only looks at the value of the "name" tag (and similar tags like alt_name and name:fr).