File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Original file line number Diff line number Diff line change 147
147
"source" : [
148
148
" \n " ,
149
149
" \n " ,
150
- " coordinates = zip(df['Longitude'], df['Latitude'])\n " ,
151
- " points = [geojson.Feature(geometry=geojson.Point(c)) for c in coordinates ]\n " ,
150
+ " values = zip(df['Longitude'], df['Latitude'], df['Remark '])\n " ,
151
+ " points = [geojson.Feature(geometry=geojson.Point(c), properties= ) for v in values ]\n " ,
152
152
" \n " ,
153
153
" print(points[0])"
154
154
]
155
155
},
156
156
{
157
157
"cell_type" : " code" ,
158
- "execution_count" : 8 ,
158
+ "execution_count" : 11 ,
159
159
"metadata" : {
160
160
"collapsed" : false
161
161
},
162
162
"outputs" : [],
163
163
"source" : [
164
164
" \n " ,
165
165
" \n " ,
166
- " geo_collection = geojson.GeometryCollection (points[:100])\n " ,
166
+ " geo_collection = geojson.FeatureCollection (points[:100])\n " ,
167
167
" \n "
168
168
]
169
169
},
170
170
{
171
171
"cell_type" : " code" ,
172
- "execution_count" : 9 ,
172
+ "execution_count" : 12 ,
173
173
"metadata" : {
174
174
"collapsed" : false
175
175
},
181
181
},
182
182
{
183
183
"cell_type" : " code" ,
184
- "execution_count" : 10 ,
184
+ "execution_count" : 13 ,
185
185
"metadata" : {
186
186
"collapsed" : false
187
187
},
You can’t perform that action at this time.
0 commit comments