cityImage.obtain_nodes_gdf#
- cityImage.obtain_nodes_gdf(edges_gdf, crs)[source]#
It obtains the nodes GeoDataFrame from the unique coordinates pairs in the edges_gdf GeoDataFrame.
- Parameters:
edges_gdf (LineString GeoDataFrame) – Street segments GeoDataFrame.
crs (str) – Coordinate reference system of the area considered .
- Returns:
nodes_gdf – The street junctions GeoDataFrame.
- Return type:
Point GeoDataFrame