cityImage.standardize_nodes_gdf#

cityImage.standardize_nodes_gdf(nodes_gdf, *, node_id_column=None, copy=True, validate=True)[source]#

Return a nodes GeoDataFrame matching the minimal cityImage schema.

The output always contains nodeID and an active geometry column. If nodeID is absent, the current index is used. Point geometries are also used to populate missing x/y columns.

Return type:

GeoDataFrame