Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread daunnc
> I suspect some issue with your setup Thanks a lot, I agree that probably it's a software issue (breakpoint helped), and my GDAL version is 2010100 (I commented out this version check before as thought that it's not that important). Thanks again, and thanks for your reply, I'll upgrade GDAL and h

Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread daunnc
Well I'll post the exact message here, as probably I could use not really correct terms in my messages: python validate_cloud_optimized_geotiff.py in.tiff Traceback (most recent call last): File "validate_cloud_optimized_geotiff.py", line 218, in sys.exit(main()) File "validate_cloud_opt

Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread daunnc
Ah sorry reread your message. Yes, my tiff has no IFD_OFFSET /tag/ (line int(main_band.GetMetadataItem('IFD_OFFSET', 'TIFF')) fails), but gdalinfo reads tiff info well and moreover reading tiff manually by bytes I can see that /offset field/ has a correct value. -- View this message in context:

Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread Even Rouault
On mardi 29 août 2017 09:57:21 CEST daunnc wrote: > Cool, thanks! Can you write here when it'll be updated? It was already committed in GDAL trunk when I sent the previous email. > > The error is missing IFD_OFFSET tag. Should it be specified manually or it > is fine to have it missing? Is it a

Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread daunnc
Cool, thanks! Can you write here when it'll be updated? The error is missing IFD_OFFSET tag. Should it be specified manually or it is fine to have it missing? Is it a COG requirement? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Generating-Cloud-Optimized-GeoTIFFs-tp53

Re: [gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread Even Rouault
On mardi 29 août 2017 09:27:33 CEST daunnc wrote: > Hi everybody! We're implementing COGs support in GeoTrellis, and there is > appeared a question related to cloud optimized geotiff definition. > > Following this > page: > > // in.tif is

[gdal-dev] Generating Cloud Optimized GeoTIFFs

2017-08-29 Thread daunnc
Hi everybody! We're implementing COGs support in GeoTrellis, and there is appeared a question related to cloud optimized geotiff definition. Following this page: // in.tif is some random tiff. 1. gdaladdo in.tif 2 4 8 16 32 2. gdal_tr