viewshed

Low-level internals. These are the Rust-backed structures and functions that power cityseer. They carry no stability guarantee and are subject to breaking changes from time to time. Users are encouraged to use the higher-level wrappers instead, which are more stable: the CityNetwork class, or the metrics and tools modules. The basic information below is provided for those who do wish to work with the lower-level internals.

Viewshed analysis utilities for spatial visibility studies.

Viewshed

Viewshed

Viewshed
( )

progress

progress
(
self
/
)

Get the current progress value.

progress_init

progress_init
(
self
/
)

Reset the progress counter to zero.

viewshed

viewshed
(
self
/
bldgs_rast
view_distance
resolution
observer_height
origin_x
origin_y
)

Compute the viewshed for a single origin cell.

visibility

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

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