Open atmosphericbeats opened 1 month ago
It's extremely strange that the same script works when you run it from the GUI, but not not from wpscript
. It's the same code that gets invoked. Is it possible that when you run wpscript
from the command line a different Java version is the default than when you run the GUI?
When I try to load a compressed TIF (compress=LZW. predictor=2, type=int16) from a script using
var heightMap = wp.getHeightMap().fromFile('E:/test.tif').go();
I got this error. However, if I load the same TIF from the GUI, the heightmap is correctly imported into the map. Running the script directly from the GUI, not using wpscript, works as well: