Basically I was going through this tutorial where we did import data from OSM and throughout modifying the data, There was basically a command to add missing Highway speed limits to Unclassified Roads.
Here's the tutorial
and while recreating the GeoDataFrame dataset by combining the two frames using this command.
edges = edges_with_maxspeed.append(edges_without_maxspeed)
edges["maxspeed"].unique()
I got this:
ValueError: Cannot determine common CRS for concatenation inputs, got ['WGS 84']. Use `to_crs()` to transform geometries to the same CRS before merging.
Knowing as I mentioned above both datasets share the same CRS.
I tried this:
edges_with_maxspeed = edges_with_maxspeed.reset_index(drop=True)
edges_without_maxspeed = edges_without_maxspeed.reset_index(drop=True)
edges = edges.reset_index(drop=True)
edges = gpd.GeoDataFrame(pd.concat([edges_without_maxspeed, edges_with_maxspeed], ignore_index=True), crs=edges.crs)
and multiple other lines but couldn't figure out the issue.