developmentseed / cogeo-mosaic-tiler

Serve Map tile from Cloud Optimized GeoTIFF mosaics.
MIT License
12 stars 6 forks source link

New backends #19

Closed vincentsarago closed 4 years ago

vincentsarago commented 4 years ago

Update to latest cogeo-mosaic module

vincentsarago commented 4 years ago

@kylebarron answering your previous questions

Is aws_session still important to pass to rasterio? So that fetching assets happens with the same session?

let's keep it for now.

How to pass specialized arguments to an automatically-chosen backend? I.e. if you want to use the same AWS client for interacting with S3, you might want to pass client to auto_backend but only used if the url points to s3...

sadly we won't use the same session we use at startup and in the backend because if someone passes a http url, the HTTPBackend will raise an error not knowing the client argument. IMO this is ok for now.

kylebarron commented 4 years ago

Everywhere where you have mosaicid if mosaicid else you can just have mosaicid or ...