energy_analysis.site_3d.pipeline#
Adapters from attributed terrain and image/GeoJSON candidates into 3D methods.
- energy_analysis.site_3d.pipeline.elevation_grid(window)[source]#
Preserve decoded heights, exact native transform, CRS and vertical datum.
- Parameters:
window (TerrainWindow)
- Return type:
- energy_analysis.site_3d.pipeline.footprints_from_count(result, bounds_wgs84, *, include_review=True)[source]#
Georeference accepted image quadrilaterals with the half-pixel convention.
Review candidates can be explicitly omitted. Excluded cells are never lifted. Table IDs remain attached, ensuring shared planes across adjacent modules. Bounds must describe the original north-up EPSG:4326 image’s outer edges.
- Parameters:
result (ModuleCount | LatticeCount)
bounds_wgs84 (tuple[float, float, float, float])
include_review (bool)
- Return type:
tuple[ModuleFootprint, …]
- energy_analysis.site_3d.pipeline.footprints_from_geojson(collection, *, table_property='table')[source]#
Read explicitly identified quadrilateral Polygon features in WGS84.
A feature must have an ID and a table property. Holes, multipolygons and altitude coordinates fail explicitly. Features marked
excludedare omitted. A table polygon is not automatically divided into modules.- Parameters:
collection (dict[str, Any])
table_property (str)
- Return type:
tuple[ModuleFootprint, …]