osmnx からマップ データをダウンロードして (kepler.gl)[https://kepler.gl/demo] で使用したいのですが
、csv、json、および geojson 形式のデータしか受け付けません。
私が試してみました
import osmnx as ox
G = ox.graph_from_place('taian,shandong', network_type='drive')
ox.plot_graph(G)
nodes,edges=ox.graph_to_gdfs(G)
nodes.to_file('nodes_.geojson',driver='GeoJSON')
edges.to_file('edges_.geojson',driver='GeoJSON')
しかし、エッジはエラーが発生します
「無効なフィールド タイプ クラス:'list'」
osmnx から csv または json または geojson を取得するにはどうすればよいですか?