Cities: Skylines

Cities: Skylines

303 voti
OpenStreetMap Import - generate roads from OSM with street names and road-type selection
3
2
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Mod
Dimensioni del file
Pubblicato in data
Aggiornato in data
190.098 KB
2 gen 2020, ore 11:53
9 gen 2020, ore 12:05
13 note di rilascio ( visualizza )

Sottoscrivi per scaricare
OpenStreetMap Import - generate roads from OSM with street names and road-type selection

Descrizione
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
Discussioni più popolari Visualizza tutte (4)
7
30 gen 2021, ore 6:34
Nodes as main problem - OSM Data is perfect for CS BUT ...yeah BUT. Fix OSM Data. A community Solution!
Alexander
1
4 feb 2024, ore 3:19
Holes everywhere after Import
VacuumTube
0
23 nov 2024, ore 16:38
Can someone add Exporting Feature to this?
Merlin St.Wahgwaan
181 commenti
femtas 3 gen, ore 13:38 
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 31 dic 2024, ore 12:22 
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 22 nov 2024, ore 22:01 
Any chance of adding Export to .osm ability? SO I can copy existing custom map layouts to new maps ect...
Del'Sky 12 mag 2024, ore 20:46 
Please, make a version to CS2!
app 1 mag 2024, ore 18:09 
Is this still working ?
kyuzoaoi 27 apr 2024, ore 12:08 
@xentrix1024, how to find the scale factor of 1.041666? I can't find it.
Saplaiceen 22 feb 2024, ore 20:10 
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
xentrix1024 19 feb 2024, ore 9:32 
I also realized that some roads appear as oneway when they should not.
The solution is to remove all <tag k="oneway" v="no"/> tags from your osm file before using it. The mod disregards the "no" and creates a one way street.
xentrix1024 17 feb 2024, ore 8:39 
If the roads are placed off scale, here is my solution that just worked:
Use a scale factor of 1.041666

The reason is that I used the heightmap.png and map.osm from https://heightmap.skydark.pl/ that assumes you have a 17.28km map. I thought this mod assumed maps of 18km, so it needs some scaling.
18/17.28=1.041666 which aligned my streets PERFECTLY!!!
Sparks1176 2 feb 2024, ore 12:38 
can someone tell me where the files go now that we use Skydark, thanks