Cities: Skylines heightmap: OSM2CDR and heightmap.skydark.pl compared
Cities Skylines Heightmap Generator (heightmap.skydark.pl) is a web page that builds a heightmap for Cities: Skylines from a place picked on the map and works through the Mapbox service with your own API key. OSM2CDR ships a heightmap as the Heightmap PNG-16 format: a square 16-bit canvas from the Copernicus GLO-30 terrain model in two forms — a PNG and a raw .r16 — together with heightmap_info.txt carrying three scale numbers: the minimum and maximum elevation in metres and the ground side length. No key and no sign-in are needed for it. The generator has what we do not: sea level, height scale, water depth and smoothing are set before the download, and a green zone marks the playable tiles. For other editors we also offer SRTM HGT tiles and 139 map formats from the same frame. Below are the comparison rows, facts from the README and a list of our own gaps. The generator data was taken on 2026-11-26.
Checked on 2026-11-26. https://heightmap.skydark.pl/
| Criterion | OSM2CDR | Cities Skylines Heightmap Generator |
|---|---|---|
| Which program it targets | game engines and editors: the canvas sizes are those of Unreal Engine landscapes, and the file also serves Unity, Blender and city-building games | Cities: Skylines — both the page and the repository say so; Cities: Skylines II is not mentioned in the README |
| What comes out | a ZIP archive: the same square canvas as a 16-bit PNG and as a raw .r16, plus heightmap_info.txt with the minimum and maximum elevation in metres and the ground side length; Terrain-RGB tiles are a separate format: a ZIP of z/x/y PNG tiles, up to 256 per order | per the README, PNG, RAW images and ZIP packages; the page also has a separate link for Terrain-RGB tiles |
| Canvas size | 505, 1009, 2017 or 4033 pixels per side, 1009 by default | not given in pixels in the README or on the page; there is a map size field in kilometres, and a green zone on the map shows the playable tiles |
| Elevation source | the global Copernicus GLO-30 terrain model, nodes about 30 m apart | not named on the page; the tool works through the Mapbox service, and the README says the app does not work without your own Mapbox API key |
| Sign-in and keys | in the browser: a frame on the map or a place from the catalogue, the file is built on the server from our copy of OpenStreetMap; no program to install and no data to download beforehand | in the browser, but a personal Mapbox API token is needed: it is pasted into the settings (the I icon in the menu bar), saved, and the page is reloaded |
| Relief settings | none: elevations are written linearly, without gamma, from the minimum to the maximum of the area | sea level, height scale, depth below sea level, raising only the land, water depth, number of smoothing passes and map style |
| Export formats | 140 in the catalogue, 139 served now | a PNG and RAW heightmap; no other map formats are named in the README |
| Area ceiling per order | 5 km2 at maximum detail, 20000 km2 at city level, the whole planet at overview level | the frame on the map is resizable; no ceiling is named in the README |
What we do not have
- We have no preset sizes for a particular game: the canvas side is 505, 1009, 2017 or 4033 pixels. If a game editor expects a different side, the image has to be resampled in an image editor.
- The heightmap order has no relief knobs: sea level, height scale, water depth and smoothing cannot be set — elevations come from the model as they are. A vertical exaggeration from 0.1 to 10 is offered only for the 3D terrain model in STL, OBJ, PLY or GLB.
- There is no grid of playable tiles over our map: the frame shows only the border of the chosen area.
- There is no offline mode: the map is built on our server, not on your computer.
What their site shows
- The page is titled Cities Skylines Heightmap Generator. Its form fields are longitude, latitude, minimum and maximum height, map size in kilometres, base level, height scale, water depth, smoothing passes and map style.
- The repository is github.com/sysoppl/cities-heightmap; the README calls it a fork of the original heightmap builder JBerg60/cities-heightmap. No licence is stated in the README.
- The README warns in capitals that the app will not work without your own Mapbox API key. The page shows no price for the generator itself.
- The README says Cities: Skylines supports heights up to 1024 metres; a height scale of 100 % transfers the relief one to one, and higher values emphasise the mountains.
- The README gives two worked examples: the Alps (heights 200–2200 m, sea level 200 m, height scale 50 %) and San Francisco (0–350 m, sea level 0 m, height scale 300 %).
- Two README settings in more detail: below sea level sets the depth before the absolute minimum and helps with lakes or canals at sea level; rise only land keeps sea level at 0 metres while raising the land, for lakes away from the ocean.
- The README workflow: paste your own Mapbox token, select the area, adjust the settings and pick one of the download options.
- The README FAQ notes that Chrome may call the downloaded heightmap.raw an uncommon and dangerous file; the author advises choosing keep.
Data licence: ODbL
Our files are built from OpenStreetMap data. The OpenStreetMap database is released under the Open Database License (ODbL) 1.0, and its cartography under CC BY-SA 2.0.
ODbL permits commercial use: the file may go into a project, into print and into sale. Two conditions apply. First, credit the source: «© OpenStreetMap contributors». Second, if you publish a modified or extended DATABASE, it must be released under the same terms; this does not extend to a drawing in which the map became a background.
We hand the attribution over with the file: the line «© OpenStreetMap contributors» goes into the sheet caption and into the export metadata, and for terrain the elevation source is printed next to it. Nothing has to be added by hand — it is enough to keep that line visible.
Licence texts: https://opendatacommons.org/licenses/odbl/, https://www.openstreetmap.org/copyright