File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 16
16
"outputs" : [],
17
17
"source" : [
18
18
" from ipyleaflet import Map, GeoData\n " ,
19
- " import geopandas as gpd"
19
+ " import geopandas as gpd\n " ,
20
+ " import fiona"
20
21
]
21
22
},
22
23
{
29
30
" \n " ,
30
31
" m = Map(center=[41.8781, -87.6298], zoom=4)\n " ,
31
32
" \n " ,
32
- " gpd.io.file. fiona.drvsupport.supported_drivers[\" KML\" ] = \" rw\"\n " ,
33
+ " fiona.drvsupport.supported_drivers[\" KML\" ] = \" rw\"\n " ,
33
34
" us_states = gpd.read_file(\" data/us-states.kml\" , driver=\" KML\" )\n " ,
34
35
" \n " ,
35
36
" geo_data = GeoData(\n " ,
47
48
" m.add(geo_data)\n " ,
48
49
" m"
49
50
]
51
+ },
52
+ {
53
+ "cell_type" : " code" ,
54
+ "execution_count" : null ,
55
+ "metadata" : {},
56
+ "outputs" : [],
57
+ "source" : []
50
58
}
51
59
],
52
60
"metadata" : {
53
61
"kernelspec" : {
54
- "display_name" : " Python 3" ,
62
+ "display_name" : " Python 3 (ipykernel) " ,
55
63
"language" : " python" ,
56
64
"name" : " python3"
57
65
},
65
73
"name" : " python" ,
66
74
"nbconvert_exporter" : " python" ,
67
75
"pygments_lexer" : " ipython3" ,
68
- "version" : " 3.7.6 "
76
+ "version" : " 3.11.3 "
69
77
}
70
78
},
71
79
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments