You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, "Every command has a corresponding API function in the elevation module". However, the option to use a 'reference' image rather than the explicit 'bounds' only works in the CLI and not in the Python API.
This is not a serious problem because one can easily find the bounds using rasterio, which must be installed anyway. But this information needs to be explained in the documentation.
The text was updated successfully, but these errors were encountered:
Another point to note is that both this and the CLI option only work if you reference GeoTIFF has a 'GeoTransform' saved. Many files such as satellite images do not use this; instead they record the location using Ground Control Points. In this case getting the bounds requires a bit more work. The function to use is rasterio.transform.from_gcps, which should generate a geotransform, which can then be applied to find the bounds. But I don't know how to do this in detail.
According to the documentation, "Every command has a corresponding API function in the elevation module". However, the option to use a 'reference' image rather than the explicit 'bounds' only works in the CLI and not in the Python API.
This is not a serious problem because one can easily find the bounds using rasterio, which must be installed anyway. But this information needs to be explained in the documentation.
The text was updated successfully, but these errors were encountered: