Skip to content
RAG Repo

OpenStreetMap

OpenStreetMap (OSM) is often described as the Wikipedia of maps. Since 2004 volunteers have mapped the world by hand and from aerial imagery, tagging every feature with structured attributes. The result is a rich, freely licensed dataset covering streets, addresses, shops, natural features, administrative boundaries, and public transport across the globe.

You can grab the full planet dump or country and region extracts from mirrors such as Geofabrik. The data comes in OSM XML and the more compact PBF (Protocol Buffer Format) binary, and tools like osmium and Osmosis help you filter and convert it. A live editing API and read-only Overpass API let you query features directly.

For RAG, OSM is a strong source of place names, addresses, and points of interest that you can turn into a knowledge base for location-aware questions. It underpins countless mapping products and feeds Overture Maps, which harmonises OSM with data from other contributors.

crowdsourcedmapsgeographicopen-datanonprofitpoints-of-interest

Related sources