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.
Data structures and utilities for spatial data analysis.
DataEntry
Data entry for spatial analysis.
DataEntry
DataEntry
()
DataMap
Map of data entries for spatial analysis.
DataMap
DataMap
()
progress_init
progress_init
(
self
/
)
progress
progress
(
self
/
)
insert
insert
(
self
/
data_key_py
geom_wkt
dedupe_key_py=None
)
entry_keys
entry_keys
(
self
/
)
get_entry
get_entry
(
self
/
data_key
)
count
count
(
self
/
)
is_empty
is_empty
(
self
/
)
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.