问题描述
我该如何解决这个错误? IllegalArgumentException: Shell 不是 LinearRing
edges_gdf.to_crs(crs=degree_crs,inplace=True)
# Initialize the map
tiles_layer = None if road_network.simple else 'OpenStreetMap'
m = folium.Map(max_zoom=19,prefer_canvas=True,tiles=tiles_layer)
# Add the representation of the edges.
edges_gdf.drop(columns=['lanes','road_type','default_lanes','width'],axis=1,inplace=True)
layer = folium.GeoJson(
edges_gdf,smooth_factor=1,name='Roads'
).add_to(m)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)