File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 55
55
dojo [ :name ] . gsub! ( 'Kanazawa, Ishikawa @ HackforPlay' , '金沢' )
56
56
57
57
features << {
58
- " type" => "Feature" ,
59
- " geometry" => {
60
- " type" => "Point" ,
61
- " coordinates" => [ dojo [ :geoPoint ] [ :lon ] , dojo [ :geoPoint ] [ :lat ] ] ,
58
+ type : "Feature" ,
59
+ geometry : {
60
+ type : "Point" ,
61
+ coordinates : [ dojo [ :geoPoint ] [ :lon ] , dojo [ :geoPoint ] [ :lat ] ] ,
62
62
} ,
63
- " properties" => {
64
- " description" => "#{ name2logo [ dojo [ :name ] ] } #{ dojo [ :name ] } <br />#{ name2text [ dojo [ :name ] ] } <a target='_blank' href='http://zen.coderdojo.com/dojos/#{ dojo [ :urlSlug ] } '>連絡先を見る</a>" ,
63
+ properties : {
64
+ description : "#{ name2logo [ dojo [ :name ] ] } #{ dojo [ :name ] } <br />#{ name2text [ dojo [ :name ] ] } <a target='_blank' href='http://zen.coderdojo.com/dojos/#{ dojo [ :urlSlug ] } '>連絡先を見る</a>" ,
65
65
}
66
66
}
67
67
end
68
68
end
69
69
70
70
geojson = {
71
- " type" : "FeatureCollection" ,
72
- " features" : features
71
+ type : "FeatureCollection" ,
72
+ features : features
73
73
}
74
74
75
75
File . open ( "dojos.geojson" , "w" ) do |file |
You can’t perform that action at this time.
0 commit comments