Thanks, that will do exactly what I wanted, I wasn't ware of the behavior in VRT
On Thu, Aug 23, 2018 at 10:25 AM, Even Rouault <[email protected]> wrote: > On jeudi 23 août 2018 09:29:27 CEST Guy Doulberg wrote: > > Hi > > > > I want to share with you an idea I had, > > > > I am storing rasters as cloud optimized GeoTiff, these rasters can cover > > very big areas. > > > > I was thinking it could be super, if I could share a link to my > colleagues > > of a raster with the offset they need encoded in the raster. > > > > for example: > > > > url = "/vsicur/http://location/#srcwin=(xoff,yoff,szie,ysize)" > > That mixes completely different levels of abstractions. The source window > is a > high level concept, whereas the resource is at the byte level. > > One possibility would be that you share the VRT file resulting from > gdal_translate -srcwin [...] /vsicurl/.... windowed.vrt -of VRT > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com >
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
