Skip to content

Only render tiled GeoTIFFs #7

Description

@sethfitz

Check src.driver == "GTiff", src.profile["tiled"] == True, src.profile["blockxsize"] == src.profile["blockysize"].

This will prevent an excessive number of reads due to pixels laid out in strips vs. blocks or non-GeoTIFF formats (that may require full reads). It will accept non-COGs, as long as the layouts are conducive to partial reads.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions