File tree 2 files changed +21
-24
lines changed
2 files changed +21
-24
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
{
25
25
"cell_type" : " code" ,
26
- "execution_count" : 1 ,
26
+ "execution_count" : 65 ,
27
27
"metadata" : {
28
28
"collapsed" : false
29
29
},
97
97
" 4 22.0 7.589551 47.547405 277.0 Basel SBB"
98
98
]
99
99
},
100
- "execution_count" : 1 ,
100
+ "execution_count" : 65 ,
101
101
"metadata" : {},
102
102
"output_type" : " execute_result"
103
103
}
112
112
},
113
113
{
114
114
"cell_type" : " code" ,
115
- "execution_count" : 44 ,
115
+ "execution_count" : 66 ,
116
116
"metadata" : {
117
117
"collapsed" : false ,
118
118
"scrolled" : true
130
130
},
131
131
{
132
132
"cell_type" : " code" ,
133
- "execution_count" : 39 ,
133
+ "execution_count" : 67 ,
134
134
"metadata" : {
135
135
"collapsed" : false
136
136
},
152
152
},
153
153
{
154
154
"cell_type" : " code" ,
155
- "execution_count" : 41 ,
155
+ "execution_count" : 68 ,
156
156
"metadata" : {
157
157
"collapsed" : false
158
158
},
159
159
"outputs" : [],
160
160
"source" : [
161
161
" import geojson as geojson\n " ,
162
162
" \n " ,
163
- " geo_collection = geojson.GeometryCollection(points)\n " ,
163
+ " geo_collection = geojson.GeometryCollection(points[:100] )\n " ,
164
164
" \n "
165
165
]
166
166
},
167
167
{
168
168
"cell_type" : " code" ,
169
- "execution_count" : 45 ,
169
+ "execution_count" : 69 ,
170
170
"metadata" : {
171
171
"collapsed" : false
172
172
},
178
178
},
179
179
{
180
180
"cell_type" : " code" ,
181
- "execution_count" : 47 ,
181
+ "execution_count" : 74 ,
182
182
"metadata" : {
183
183
"collapsed" : false
184
184
},
185
- "outputs" : [
186
- {
187
- "data" : {
188
- "text/plain" : [
189
- " <function TextIOWrapper.close>"
190
- ]
191
- },
192
- "execution_count" : 47 ,
193
- "metadata" : {},
194
- "output_type" : " execute_result"
195
- }
196
- ],
185
+ "outputs" : [],
197
186
"source" : [
198
187
" \n " ,
199
- " #file = open('stations.geojson', 'w')\n " ,
200
- " #file.write(dump)\n " ,
201
- " #file.close"
188
+ " with open('stations.geojson', 'w') as file:\n " ,
189
+ " file.write(dump)\n "
202
190
]
203
191
},
192
+ {
193
+ "cell_type" : " code" ,
194
+ "execution_count" : null ,
195
+ "metadata" : {
196
+ "collapsed" : false
197
+ },
198
+ "outputs" : [],
199
+ "source" : []
200
+ },
204
201
{
205
202
"cell_type" : " code" ,
206
203
"execution_count" : null ,
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments