opengeos / whitebox-python

WhiteboxTools Python Frontend
https://pypi.org/project/whitebox/
MIT License
377 stars 68 forks source link

LidarIdwInterpolation does not save CRS to output #40

Closed arojas314 closed 2 years ago

arojas314 commented 2 years ago

Description

When running the LidarIdwInterpolation function using the Python front end for whitebox, the coordinate reference system (CRS) is not saved to the output .tif file.

What I Did

Basic command of function was used.

    wbt.lidar_idw_interpolation(
        i=f, 
        output=outdir+fname_dem, 
        parameter="elevation", 
        returns="all", 
        resolution=1.0, 
        weight=1.0, 
        radius=5, 
        exclude_cls='3,4,5,6,7,18', 
        minz=None, 
        maxz=None
    )

Thanks in advance.