plaza_preprocessing.optimizer package¶
Subpackages¶
Submodules¶
plaza_preprocessing.optimizer.optimizer module¶
plaza_preprocessing.optimizer.shortest_paths module¶
- 
plaza_preprocessing.optimizer.shortest_paths.compute_astar_shortest_paths(graph, entry_points)[source]¶ compute a list of shortest paths as LineStrings between all pairs of entry points using the astar algorithm. Uses direct distance between entry points as a heuristic
Return type: List[LineString]
plaza_preprocessing.optimizer.utils module¶
- 
plaza_preprocessing.optimizer.utils.find_nearest_geometry(obj, geometries)[source]¶ return the geometry that is nearest to the object
- 
plaza_preprocessing.optimizer.utils.get_polygon_coords(polygon)[source]¶ return a list of coordinates of all points in a polygon
- 
plaza_preprocessing.optimizer.utils.line_visible(plaza_geometry, line, delta_m)[source]¶ check if the line is “visible”, i.e. unobstructed through the plaza
- 
plaza_preprocessing.optimizer.utils.meters_to_degrees(meters)[source]¶ convert meters to approximate degrees