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
in #108 we introduced custom API route to wrap any gdal code within a specific environment. This worked well for python 3.7 but not for python 3.8. IMO adding a with rasterio.env(): block on top of each call to gdal (rio-tiler) code will make this easier.
How To
add gdal_config in titiler.endpoints.factories.BaseFactory with default to dict
add with rasterio.env(**self.gdal_config): on top of gdal blocks
The text was updated successfully, but these errors were encountered:
in #108 we introduced custom API route to wrap any gdal code within a specific environment. This worked well for python 3.7 but not for python 3.8. IMO adding a
with rasterio.env():
block on top of each call to gdal (rio-tiler) code will make this easier.How To
gdal_config
intitiler.endpoints.factories.BaseFactory
with default todict
with rasterio.env(**self.gdal_config):
on top of gdal blocksThe text was updated successfully, but these errors were encountered: