Updated November 2026. Written by the Algosyntax team.
Quick answer: yes, you can use OpenStreetMap data in a commercial game. The Open Database License (ODbL) asks for a few things in return:
- Credit it: show “© OpenStreetMap contributors” where players can see it, such as the credits or a splash screen, and make clear the data is under the ODbL.
- Your game stays yours: a game made from the data is normally a Produced Work, so share-alike does not reach your code, art or levels.
- Offer changed data: if you edited or added to the map data, you must offer that data, or a description of your changes, to players.
- Shipped data files stay ODbL: road data you ship as files, for modders for example, must remain under the ODbL.
- Go easy on shared servers: import once in the editor. Don’t make every copy of your game call Overpass or the OSM tile servers.
This is a plain-language summary of the OpenStreetMap Foundation’s (OSMF) licence pages as they apply to games. It is not legal advice.
What licence OpenStreetMap data uses
OpenStreetMap (OSM) data is © OpenStreetMap contributors, under the Open Database License 1.0. The OSMF’s Licence and Legal FAQ says you can use it for any purpose, commercial included. What you owe depends on what you publish: a finished work made from the data, or the data itself.
Produced Work or Derivative Database?
- Produced Work: a work made from the data, such as an image, a video or text. The OSMF’s Produced Work guideline uses one test: if the result is meant for getting the data back out, it is a database. A game is built to be played, so it normally counts as a Produced Work.
- Derivative Database: OSM data you changed. Roads you fixed by hand, streets you added and a road layout built from OSM all count.
| What you publish | What it is | What you owe |
|---|---|---|
| Your game, with roads built from OSM | Produced Work | A visible credit. The game stays under your terms. |
| OSM data you used unchanged | The original database | Point anyone who asks to openstreetmap.org. |
| OSM data you edited to build the game | Derivative Database behind a Produced Work | Offer players the edited data, or your changes. |
| Road layout files you ship, for modders say | Derivative Database, published | Those files must be under the ODbL. |
| Your own buildings, missions and props | Your data | No ODbL terms, if they don’t add to OSM’s own features. |
When share-alike applies
Share-alike covers data, not your game. Section 4.5 of the ODbL says making a Produced Work does not create a Derivative Database for share-alike purposes.
The catch is section 4.6. If your published game was made from changed OSM data, you must offer players a machine-readable copy of the changed data, or a file with your changes or the method you used to make them (an algorithm counts). Online, that copy must be free. If you didn’t change the data, the FAQ says you can point people to openstreetmap.org.
Three OSMF community guidelines narrow this down:
- Trivial Transformations (still a proposal): format and coordinate conversion, extracts and simplifying roads need not be shared, as long as no other data is involved. Adding or correcting data is never trivial.
- Horizontal Map Layers: a type of feature taken entirely from your own data is not covered. Mix your data with OSM’s for the same type and your additions must be shared. It is written for 2D maps, so this is our reading for a game: fictional buildings along OSM streets are yours, but streets you draw to fill gaps are additions to OSM’s roads.
- Substantial: a one-off extract of under 100 features, or a place of up to about 1,000 people, falls outside most of the licence’s conditions. The guideline’s summary is “village map OK, town map not OK”.
Where to put the credit in a game
The OSMF’s Attribution Guidelines have a section for computer games. The credit can go on a startup splash screen, in the game view, on the credits page, in a menu or in another suitable place. If that first credit is short, the full details must be available somewhere suitable.
- Wording: name OpenStreetMap and make clear the data is under the ODbL. For example: Map data © OpenStreetMap contributors, Open Database License, openstreetmap.org/copyright.
- Splash screens: the text must be legible and stay up long enough to read. Sharing the screen with other credits is fine.
- Map screens: a small credit in the corner of a map of a real place is a sensible extra.
- Store page and trailers: store pages aren’t mentioned. Screenshots count as static images, and a video can credit OSM in its end credits or description, with the openstreetmap.org/copyright URL. A line in the store and trailer descriptions is a reasonable way to cover both.
Don’t hammer the shared servers
- Overpass: the Overpass API wiki page asks for under 10,000 queries and 1 GB a day on the main public instance, and warns that it is often overloaded. For big areas, filter a regional extract locally with osmium.
- Tiles: the tile usage policy bans bulk downloading, prefetching and offline use. Draw your minimap from the data you imported instead of streaming tile.openstreetmap.org.
- The rule: download once at edit time and ship the result. Players should never need OSM’s servers to play.
Importing OSM roads: build it or use a plugin?
OSM draws a divided road as two one-way lines, a roundabout as a ring and a junction as a cluster of nodes, with no lane geometry or heights. Turning that into drivable roads is real work.
Our Any City Generator imports OpenStreetMap roads in Unreal Engine 5.8, from an .osm file or an Overpass download of up to 50 km², and builds road networks with lanes, junctions, signals and AI traffic. It imports roads only: no buildings or land use. The licence rules still apply: credit OpenStreetMap contributors in the shipped game, keep an export of any layout you edit by hand (it exports as JSON), and treat layout files you distribute as ODbL data.
FAQ
Can I sell a game that uses OpenStreetMap data?
Yes. The OSMF’s FAQ says the data can be used for any purpose, including commercial ones. Credit OpenStreetMap and follow the rules above for any data you changed.
Do I have to release my game’s source or assets?
No. A game is normally a Produced Work, and share-alike covers the data, not the game. At most you offer the changed map data, or a description of your changes.
Is a line in the credits enough?
For the game itself, yes: the attribution guidelines list the credits page. Make sure the licence and the openstreetmap.org/copyright address appear somewhere players can find.
Related articles
- Procedural Cities in Unreal Engine: PCG, City Sample, Houdini or a Plugin?
- How to Make a GTA-Style Game in Unreal Engine: What a Small Team Can Actually Build
- AI Traffic in Unreal Engine: Why It’s Harder Than It Looks
- Free Unreal Engine Assets: Where to Get Them and What the Licences Allow
- Procedural or Hand-Built Levels? When Each Makes Sense