mapmaker.properties.pathways module
- class mapmaker.properties.pathways.ResolvedPath[source]
Bases:
object
A path described in terms of numeric feature ids.
- property as_dict: dict[str, Any]
The numeric feature ids that make up a path.
- extend_lines(geojson_ids: list[int])[source]
Associate line segments with the path.
Arguments:
- geojson_ids
Line segment numeric GeoJSON ids
- extend_nerves(geojson_ids: list[int])[source]
Associate nerve cuffs with the path.
Arguments:
- geojson_ids
Nerve cuff numeric GeoJSON ids
- class mapmaker.properties.pathways.Route(path_id, route)[source]
Bases:
object
- property end_nodes
- property nodes
- property path_id
- property start_nodes
- property through_nodes
- class mapmaker.properties.pathways.ResolvedPathways(flatmap: FlatMap)[source]
Bases:
object
- property node_paths: dict[int, list[str]]
- property paths_dict: dict[str, dict]
- property type_paths: dict[str, list[str]]
- add_connectivity(path_id: str, line_geojson_ids: list[int], model: str, path_type: PATH_TYPE, node_feature_ids: set[str], nerve_features: list[mapmaker.flatmap.feature.Feature])[source]
- class mapmaker.properties.pathways.Path(source, path, trace=False)[source]
Bases:
object
- property connectivity: Graph
- property id
- property label
- property lines
- property models
- property nerves
- property path_type
- property route
- property source
- property trace
- class mapmaker.properties.pathways.ConnectivityModel(description)[source]
Bases:
object
- property id
- property network
- property path_ids
- property paths
- property publications
- property source