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
Thanks for developing this, I've got some data coming in as .ecw and would be really helpful to read it direct with GDAL via rasterio.
I've pip installed this package into a conda environment but the ECW driver isn't registering. I've manually set GDAL_DRIVER_PATH as an environment variable pointing to the location of gdal_ECW_JP2ECW.dll. Are there some installation steps/config settings that I've missed? Thanks in advance.
Windows 10
GDAL = 3.4.3
import os
os.environ["GDAL_DRIVER_PATH"] = r"C:\Users\HL04\AppData\Local\mambaforge\envs\mapping_ecw\Lib\site-packages\osgeo\gdalplugins"
from osgeo import gdal
import rasterio as rs`
driver_list = []
for i in range(gdal.GetDriverCount()):
driver = gdal.GetDriver(i)
driver_list.append(driver.GetDescription())
driver_list.sort()
driver_list # ECW not in the list of drivers
rs.open("..\\data\\raw\\{raster}.ecw") # gives a RasterioIOError with .ecw as an unrecognised file type
The text was updated successfully, but these errors were encountered:
Thanks for developing this, I've got some data coming in as .ecw and would be really helpful to read it direct with GDAL via rasterio.
I've pip installed this package into a conda environment but the ECW driver isn't registering. I've manually set GDAL_DRIVER_PATH as an environment variable pointing to the location of gdal_ECW_JP2ECW.dll. Are there some installation steps/config settings that I've missed? Thanks in advance.
Windows 10
GDAL = 3.4.3
The text was updated successfully, but these errors were encountered: