sysoppl / Cities-Skylines-heightmap-generator

A heightmap generator for Cities: Skylines
https://heightmap.skydark.pl/
177 stars 53 forks source link

map size smaller than 10km doesn't work #87

Open joceyngan opened 11 months ago

joceyngan commented 11 months ago

I am getting this issue on https://heightmap.skydark.pl/ and found this repo is the related code so raise it here. if i decrease the map size to smaller than 10km, the calculation on base level and height level will stuck and never output the min max height. is there a fix if just want to create the height map from a very small area? thanks

echoflying commented 9 months ago

I set to 9km, the satellite map download correct, but the height map download failue, no response at all. with error information: app.js:1068 Uncaught TypeError: Cannot read properties of undefined (reading '1623') at toHeightmap (app.js:1068:76) at app.js:645:29

Set to 10km, the height map can download but the content is all black. With 11 km, all seems OK.