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.
Data structures and utilities for spatial data analysis.
AccessibilityResult
Accessibility computation result.
AccessibilityResult
AccessibilityResult
()
DataEntry
Data entry for spatial analysis.
DataEntry
DataEntry
()
DataMap
DataMap
DataMap
()
accessibility
accessibility
(
self
/
network_structure
landuses_map
accessibility_keys
distances=None
minutes=None
angular=None
speed_m_s=None
decay_fn=None
pbar_disabled=None
)
accessibility_decays
accessibility_decays
(
self
/
network_structure
landuses_map
accessibility_keys
decay_fns
distances=None
minutes=None
angular=None
speed_m_s=None
pbar_disabled=None
)
aggregate_to_src_idx
aggregate_to_src_idx
(
self
/
netw_src_idx
network_structure
max_walk_seconds
speed_m_s
angular=None
)
assign_data_to_network
assign_data_to_network
(
self
/
network_structure
max_assignment_dist
n_nearest_candidates
)
Assigns data entries to network nodes based on proximity and accessibility checks. This method iterates through all data entries and uses NetworkStructure::find_assignments_for_entry to determine valid node assignments for each entry. The results are collected and stored in the node_data_map.