opengeos / whitebox-python

WhiteboxTools Python Frontend

Home Page:https://pypi.org/project/whitebox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LidarIdwInterpolation does not save CRS to output

arojas314 opened this issue · comments

  • whitebox version:
  • Python version:
  • Operating System:

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.