sysoppl / Cities-Skylines-heightmap-generator

A heightmap generator for Cities: Skylines

Home Page:https://heightmap.skydark.pl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

map size smaller than 10km doesn't work

joceyngan opened this issue · comments

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

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.