[gdal-dev] Offsets in url of geotiff

Even Rouault even.rouault at spatialys.com
Thu Aug 23 00:25:29 PDT 2018


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


More information about the gdal-dev mailing list