Cities: Skylines

Cities: Skylines

291 betyg
OpenStreetMap Import - generate roads from OSM with street names and road-type selection
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod
Filstorlek
Lades upp
Uppdaterades
190.098 KB
2 jan, 2020 @ 11:53
9 jan, 2020 @ 12:05
13 ändringsnotiser ( visa )

Abonnera för att ladda ner
OpenStreetMap Import - generate roads from OSM with street names and road-type selection

Beskrivning
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
Populära diskussioner Visa alla (3)
7
30 jan, 2021 @ 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 @ 3:19
Holes everywhere after Import
VacuumTube
0
21 feb, 2022 @ 17:29
***FIX FOR IMPORT ROADS BUTTON NOT SHOWING UP***
Lance McPants
178 kommentarer
Del'Sky 12 maj @ 20:46 
Please, make a version to CS2!
app 1 maj @ 18:09 
Is this still working ?
kyuzoaoi 27 apr @ 12:08 
@xentrix1024, how to find the scale factor of 1.041666? I can't find it.
Saplaiceen 22 feb @ 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 @ 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 @ 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 @ 12:38 
can someone tell me where the files go now that we use Skydark, thanks
ExpedientFalcon 25 nov, 2023 @ 19:32 
I really want this to work well, but currently it seems to have issues with creating glitchy/unselectable nodes. Though it is amazing how much currently works. Maybe I'll poke at the source code and see if I can fix up some of the issues...
Chrissy 3 nov, 2023 @ 2:29 
please bring this out for cities skylines 2
Cr3aM 28 sep, 2023 @ 6:19 
Waiting for updated mod and instructions :(