Cities: Skylines

Cities: Skylines

308 ratings
OpenStreetMap Import - generate roads from OSM with street names and road-type selection
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
190.098 KB
Jan 2, 2020 @ 11:53am
Jan 9, 2020 @ 12:05pm
13 Change Notes ( view )

Subscribe to download
OpenStreetMap Import - generate roads from OSM with street names and road-type selection

Description
This mod will add a button in the "Map Editor" which opens a panel for importing OSM data from https://openstreetmap.org.

I found an OSM import mod which was not working for me, so I fixed it and added some features.

Added Features
  • select road-types to build according to OSM data (also gives you a rough estimate of node counts and limit)
  • roads are being named correctly (as long as the way element in the OSM data has a name tag)
Short instructions
  • go to http://terrain.party and download the heightmap of your desired region
  • in the downloaded zip file you will find a text file with the exported coordiates
  • go to openstreetmap.org and click on Export
  • enter the same coordinates as in the textfile
  • use the overpass-api.de link to download large datasets
  • rename file to map.osm and move it into the Documents folder (or enter the correct file path in the mod in-game)
  • enter "2.5" in the "tiles to boundary" field to only draw roads the inner 25 tiles, use "4.5" to make roads on all 81 tiles
For more detailed instructions how to use please see original mod: https://github.com/adur1990/Open-Cities-Map

Todo
  • avoid too short road segments (especially on intersections)
  • avoid two-roads side by side, when osm data contains multiple tracks for a road
  • maybe allow selecting which type of roads should be made in CS - currently it's using hard-coded defaults
  • better estimates for node counts (current estimates are way higher than actual number of nodes produced)
Source code of this mod:
https://github.com/grilly86/Open-Cities-Map

Thanks to the original authors:
lxteo: https://github.com/lxteo/Cities-Skylines-Mapper
adur1990 (Artur): https://github.com/adur1990/Open-Cities-Map
Popular Discussions View All (4)
7
Jan 30, 2021 @ 6:34am
Nodes as main problem - OSM Data is perfect for CS BUT ...yeah BUT. Fix OSM Data. A community Solution!
Alexander
1
Feb 4, 2024 @ 3:19am
Holes everywhere after Import
VacuumTube
0
Nov 23, 2024 @ 4:38pm
Can someone add Exporting Feature to this?
Merlin St.Wahgwaan
184 Comments
xXHalfSliceXx Sep 25 @ 7:05am 
terrain.party is url error
Girl next door Jul 27 @ 1:50am 
Please port this to Cities: Skylines 2.
femtas Jan 3 @ 1:38pm 
Any time I delete or modify the roads, i get spammed with like 10 "Object reference not set to an instance of an object" errors in a row.
femtas Dec 31, 2024 @ 12:22pm 
I'm getting the problem of "Object reference not set to an instance of an object" errors spammed when i try loading roads.
Merlin St.Wahgwaan Nov 22, 2024 @ 10:01pm 
Any chance of adding Export to .osm ability? SO I can copy existing custom map layouts to new maps ect...
Del'Sky May 12, 2024 @ 8:46pm 
Please, make a version to CS2!
app May 1, 2024 @ 6:09pm 
Is this still working ?
kyuzoaoi Apr 27, 2024 @ 12:08pm 
@xentrix1024, how to find the scale factor of 1.041666? I can't find it.
Saplaiceen Feb 22, 2024 @ 8:10pm 
if you use skydark i suggest scaling the map to 7km and when you use OSM you change the scale factor to 1.06 for better scaling and accuracy