When importing a GeoTIFF heightmap with world file in the normal manner CE detects and assigns the min and max elevations quite well, however using addAttributeLayer in Python and pointing to the same terrain tile the min & max defaults to 0, 100 no matter what I've tried.
For instance, on a terrain tile imported the regular way you get the line:
attr elevation = map_01(brightness, 0.002005958, 5.0019827) + elevationDelta
That 0.002005958, 5.0019827 is what we're after. Is there any way for this to be populated correctly using Python? I hope so, we have a lot of tiles 😮