pycensus.cadaster.countries.germany.hamburg_lod2.loader¶
Hamburg 3D building model LoD2-DE (Landesbetrieb Geoinformation und Vermessung, open data, latest release), no API key.
One CityGML tile per km2 (783 tiles, ~6.7 GB unzipped), streamed with lxml: per building its ground surface (footprint), storeysAboveGround,
measuredHeight and ALKIS building function (31001_). Objects of other ALKIS classes (51002 / 51003 / 51009: towers, silos, canopies and other
structures that are not buildings) are left out. Parsed once into a parquet (unified cadaster schema).
load(aoi, cache_dir=None)
¶
Hamburg's LoD2 buildings inside the bounding box of aoi.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aoi
|
GeoDataFrame
|
Area of interest (GeoDataFrame). |
required |
cache_dir
|
Cache folder; |
None
|
Returns:
| Type | Description |
|---|---|
GeoDataFrame
|
The buildings. |