Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validateCOG method to GDALFileTileSource #835

Merged
merged 9 commits into from
Apr 27, 2022
Merged
2 changes: 1 addition & 1 deletion sources/gdal/large_image_source_gdal/__init__.py
Original file line number Diff line number Diff line change
@@ -1191,7 +1191,7 @@ def getRegion(self, format=(TILE_FORMAT_IMAGE, ), **kwargs):
raise exc
return pathlib.Path(outputPath), TileOutputMimeTypes['TILED']

def validate_cog(self, check_tiled=True, full_check=False, strict=True, warn=True):
def validateCOG(self, check_tiled=True, full_check=False, strict=True, warn=True):
"""Check if this image is a valid Cloud Optimized GeoTiff.

This will raise a :class:`large_image.exceptions.TileSourcePyramidFormatError`