GeoJson usage in folium
问题 I have used GeoJson method in FeatureGroup of folium to add polygon layers to my map. I am getting some error. I have checked the syntax of this method.Everything is correct but still i am getting the error mentioned below in the image. 回答1: I stumbled upon the same issue. From the documentation at https://python-visualization.github.io/folium/modules.html#folium.features.GeoJson you can see various examples of opening the geojson file. >>> # Providing file that shall be embedded. >>> GeoJson