├── .github ├── codecov.yml └── workflows │ ├── ci.yml │ └── deploy_mkdocs.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CHANGES.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs ├── docs │ ├── API.md │ ├── Advanced.md │ ├── CLI.md │ ├── Is_it_a_COG.md │ ├── contributing.md │ ├── css │ │ └── extra.css │ ├── index.md │ ├── profile.md │ └── release-notes.md └── mkdocs.yml ├── pyproject.toml ├── rio_cogeo ├── __init__.py ├── cogeo.py ├── errors.py ├── models.py ├── profiles.py ├── py.typed ├── scripts │ ├── __init__.py │ └── cli.py └── utils.py ├── tests ├── __init__.py ├── conftest.py ├── fixtures │ ├── bad_output_vrt.tif │ ├── cog_band_tags.tif │ ├── dataset_namespace_metadata.tif │ ├── dataset_namespace_metadata.xml │ ├── image_171px.tif │ ├── image_2000px.tif │ ├── image_51px.tif │ ├── image_colormap.tif │ ├── image_float.tif │ ├── image_geos.tif │ ├── image_missing_nodata.tif │ ├── image_nan.tif │ ├── image_nocolormap.tif │ ├── image_nodata.tif │ ├── image_north.tif │ ├── image_rgb.tif │ ├── image_rgb_mask.tif │ ├── image_rgba.tif │ ├── image_rgba_nodata.tif │ ├── image_tags.tif │ ├── image_web.tif │ ├── image_web_z5_z11.tif │ ├── image_webp.tif │ ├── image_with_offsets.tif │ ├── slc.tif │ └── validate │ │ ├── cog_no_offest.tif │ │ ├── image_COG_gdal3.1.tif │ │ ├── image_dec.tif │ │ ├── image_external.tif │ │ ├── image_external.tif.ovr │ │ ├── image_known_incompatible_ghost_headers.tif │ │ ├── image_no_overview.tif │ │ ├── image_rioCOG_gdal3.1.tif │ │ ├── image_sorted.tif │ │ ├── nontiff.jpg │ │ └── sparse.tif ├── test_cli.py ├── test_cogeo.py ├── test_profile.py ├── test_validate.py └── test_web.py └── uv.lock /.github/codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/.github/codecov.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deploy_mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/.github/workflows/deploy_mkdocs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/CHANGES.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/README.md -------------------------------------------------------------------------------- /docs/docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/API.md -------------------------------------------------------------------------------- /docs/docs/Advanced.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/Advanced.md -------------------------------------------------------------------------------- /docs/docs/CLI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/CLI.md -------------------------------------------------------------------------------- /docs/docs/Is_it_a_COG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/Is_it_a_COG.md -------------------------------------------------------------------------------- /docs/docs/contributing.md: -------------------------------------------------------------------------------- 1 | ../../CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/docs/css/extra.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/css/extra.css -------------------------------------------------------------------------------- /docs/docs/index.md: -------------------------------------------------------------------------------- 1 | ../../README.md -------------------------------------------------------------------------------- /docs/docs/profile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/docs/profile.md -------------------------------------------------------------------------------- /docs/docs/release-notes.md: -------------------------------------------------------------------------------- 1 | ../../CHANGES.md -------------------------------------------------------------------------------- /docs/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/docs/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/pyproject.toml -------------------------------------------------------------------------------- /rio_cogeo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/__init__.py -------------------------------------------------------------------------------- /rio_cogeo/cogeo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/cogeo.py -------------------------------------------------------------------------------- /rio_cogeo/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/errors.py -------------------------------------------------------------------------------- /rio_cogeo/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/models.py -------------------------------------------------------------------------------- /rio_cogeo/profiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/profiles.py -------------------------------------------------------------------------------- /rio_cogeo/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rio_cogeo/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | """Rio-cogeo cli.""" 2 | -------------------------------------------------------------------------------- /rio_cogeo/scripts/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/scripts/cli.py -------------------------------------------------------------------------------- /rio_cogeo/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/rio_cogeo/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | """rio-cogeo tests suite.""" 2 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/bad_output_vrt.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/bad_output_vrt.tif -------------------------------------------------------------------------------- /tests/fixtures/cog_band_tags.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/cog_band_tags.tif -------------------------------------------------------------------------------- /tests/fixtures/dataset_namespace_metadata.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/dataset_namespace_metadata.tif -------------------------------------------------------------------------------- /tests/fixtures/dataset_namespace_metadata.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/dataset_namespace_metadata.xml -------------------------------------------------------------------------------- /tests/fixtures/image_171px.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_171px.tif -------------------------------------------------------------------------------- /tests/fixtures/image_2000px.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_2000px.tif -------------------------------------------------------------------------------- /tests/fixtures/image_51px.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_51px.tif -------------------------------------------------------------------------------- /tests/fixtures/image_colormap.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_colormap.tif -------------------------------------------------------------------------------- /tests/fixtures/image_float.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_float.tif -------------------------------------------------------------------------------- /tests/fixtures/image_geos.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_geos.tif -------------------------------------------------------------------------------- /tests/fixtures/image_missing_nodata.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_missing_nodata.tif -------------------------------------------------------------------------------- /tests/fixtures/image_nan.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_nan.tif -------------------------------------------------------------------------------- /tests/fixtures/image_nocolormap.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_nocolormap.tif -------------------------------------------------------------------------------- /tests/fixtures/image_nodata.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_nodata.tif -------------------------------------------------------------------------------- /tests/fixtures/image_north.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_north.tif -------------------------------------------------------------------------------- /tests/fixtures/image_rgb.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_rgb.tif -------------------------------------------------------------------------------- /tests/fixtures/image_rgb_mask.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_rgb_mask.tif -------------------------------------------------------------------------------- /tests/fixtures/image_rgba.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_rgba.tif -------------------------------------------------------------------------------- /tests/fixtures/image_rgba_nodata.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_rgba_nodata.tif -------------------------------------------------------------------------------- /tests/fixtures/image_tags.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_tags.tif -------------------------------------------------------------------------------- /tests/fixtures/image_web.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_web.tif -------------------------------------------------------------------------------- /tests/fixtures/image_web_z5_z11.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_web_z5_z11.tif -------------------------------------------------------------------------------- /tests/fixtures/image_webp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_webp.tif -------------------------------------------------------------------------------- /tests/fixtures/image_with_offsets.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/image_with_offsets.tif -------------------------------------------------------------------------------- /tests/fixtures/slc.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/slc.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/cog_no_offest.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/cog_no_offest.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_COG_gdal3.1.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_COG_gdal3.1.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_dec.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_dec.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_external.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_external.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_external.tif.ovr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_external.tif.ovr -------------------------------------------------------------------------------- /tests/fixtures/validate/image_known_incompatible_ghost_headers.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_known_incompatible_ghost_headers.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_no_overview.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_no_overview.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_rioCOG_gdal3.1.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_rioCOG_gdal3.1.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/image_sorted.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/image_sorted.tif -------------------------------------------------------------------------------- /tests/fixtures/validate/nontiff.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/nontiff.jpg -------------------------------------------------------------------------------- /tests/fixtures/validate/sparse.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/fixtures/validate/sparse.tif -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_cogeo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/test_cogeo.py -------------------------------------------------------------------------------- /tests/test_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/test_profile.py -------------------------------------------------------------------------------- /tests/test_validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/test_validate.py -------------------------------------------------------------------------------- /tests/test_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/tests/test_web.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cogeotiff/rio-cogeo/HEAD/uv.lock --------------------------------------------------------------------------------