• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

SigTill

Recruit
Mar 10, 2015
1
0
I want to be able to import:
- Roads
- Pipes
- Water
- Terrain Model
- Houses
- Zoning

Based on for instance GeoJSON (https://en.wikipedia.org/wiki/GeoJSON)

So for instance two roads will be in a file called roads.geojson and be like this:

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {

},
"geometry": {
"type": "LineString",
"coordinates": [
[
12.575590610504,
55.675467047829
],
[
12.57306933403,
55.674468822542
],
[
12.572221755981,
55.673639973708
],
[
12.571213245392,
55.672907910133
],
[
12.567790746689,
55.671619202958
],
[
12.567511796951,
55.671498195409
]
]
}
},
{
"type": "Feature",
"properties": {

},
"geometry": {
"type": "LineString",
"coordinates": [
[
12.569249868393,
55.674977013144
],
[
12.572017908096,
55.673549222769
],
[
12.573637962341,
55.672756655621
],
[
12.573702335358,
55.672696153653
]
]
}
}
]
}




I have had a look at Cimtographer - but it only supports terrain and some simple OSM data(https://github.com/PropaneDragon/Cimtographer) -

Is there any one of you that might be able to write or describe how to write an import-plugin for Cities Skylines based on this spec? Thanks in advance.

Or if it is easier to write a savegame reader/writer instead?