AHN
cloudfetch.datasets.AHNProvider
AHNProvider(data_dir: Path | str | None = None)
Bases: PointCloudProvider
Base class for Dutch AHN datasets backed by a GPKG tile index.
Subclasses define the dataset-specific index location and tile naming scheme.
cloudfetch.datasets.AHN6
AHN6(data_dir: Path | str | None = None)
Bases: AHNProvider
Provider for AHN6 COPC tiles.
get_index
get_index(aoi_gdf: GeoDataFrame) -> List[str]
AHN6 tiles are named by their lower-left corner coordinates, so we query the index for intersecting tiles and construct URLs directly.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aoi_gdf
|
GeoDataFrame
|
AOI geometries to query against the tile index. |
required |
Returns:
| Type | Description |
|---|---|
List[str]
|
List of tile URLs intersecting the AOI. |
cloudfetch.datasets.AHNArchive
AHNArchive(version: int, **kwargs)
Bases: AHNProvider
Base class for AHN 1-5 archive datasets.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
version
|
int
|
AHN archive version number used to build the dataset name and base URL. |
required |
get_index
get_index(aoi_gdf: GeoDataFrame) -> List[str]
AHN 1-5 archive tiles are indexed by their GT_AHNSUB sheet name, which we can use to construct LAZ URLs directly.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aoi_gdf
|
GeoDataFrame
|
AOI geometries to query against the tile index. |
required |
Returns:
| Type | Description |
|---|---|
List[str]
|
List of tile URLs intersecting the AOI. |