Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/async_geotiff/_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
if TYPE_CHECKING:
from collections.abc import Sequence

from async_tiff import TIFF, ImageFileDirectory
from async_tiff import Array as AsyncTiffArray
from async_tiff import ImageFileDirectory
from pyproj import CRS


Expand All @@ -30,11 +30,6 @@ def _mask_ifd(self) -> ImageFileDirectory | None:
"""The mask IFD for this image (index, IFD), if any."""
...

@property
def _tiff(self) -> TIFF:
"""A reference to the underlying TIFF object."""
...

@property
def crs(self) -> CRS:
"""The coordinate reference system."""
Expand Down
9 changes: 1 addition & 8 deletions src/async_geotiff/_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
from async_geotiff._transform import TransformMixin

if TYPE_CHECKING:
from async_tiff import TIFF, GeoKeyDirectory, ImageFileDirectory
from async_tiff import GeoKeyDirectory, ImageFileDirectory
from pyproj.crs import CRS

from async_geotiff import GeoTIFF

# ruff: noqa: SLF001


@dataclass(init=False, frozen=True, kw_only=True, eq=False, repr=False)
class Overview(ReadMixin, FetchTileMixin, TransformMixin):
Expand Down Expand Up @@ -61,11 +59,6 @@ def _create(

return instance

@property
def _tiff(self) -> TIFF:
"""A reference to the underlying TIFF object."""
return self._geotiff._tiff

@property
def crs(self) -> CRS:
"""The coordinate reference system of the overview."""
Expand Down