-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Visibility lines are not properly generated in coastal areas. It took me a little work to figure out that it's because the elevation returned for ocean pixels is -32768. This can be validated by using the elevation endpoint on any coordinate in the ocean.
This looks like a variable overflow somewhere. I don't know if it occurs during processing or data import, but I patched it by adding:
if height == -32768: height = 0
right after for i, height in enumerate(heightmap): in algo.py
I am not sending a pull request because this is obviously not a proper fix, but sharing it here in case anyone struggles with the same.
Metadata
Metadata
Assignees
Labels
No labels