viewshed

Low-level internals. This section documents the Rust-backed structures and functions that power cityseer. They are provided for reference. For analysis, use the higher-level wrappers instead: the CityNetwork class, or the metrics and tools modules. Symbols on these pages are not part of the public API and may change between releases without a deprecation cycle.

Viewshed analysis utilities for spatial visibility studies.

Viewshed

Viewshed

Viewshed
( )

progress_init

progress_init
(
self
/
)

Reset the progress counter to zero.

progress

progress
(
self
/
)

Get the current progress value.

visibility

visibility
(
self
/
bldgs_rast
view_distance
resolution
observer_height
pbar_disabled=None
)

Compute the visibility graph for the given raster and view distance.

viewshed

viewshed
(
self
/
bldgs_rast
view_distance
resolution
observer_height
origin_x
origin_y
)

Compute the viewshed for a single origin cell.