Closed whatcoloris closed 4 years ago
ohey, cool! a few thoughtz:
i kindof forgot that we just published the list of 2018 contributors directly to this emergencyindex.com
repo and not a submodule. your commit contains both the 2018 contributors index html file (which is already in the repo) as well as the submodule change in .gitmodules. we should pick one or the other and preferably the submodule.
however, i don't think these issues with the 2018 contributors index and submodules have anything to do with this PR about a script to encode geo coordinates in the project data files. so i'd like to see those changes removed before merging this PR.
also, it seems like you copied the scrape_indesign.rb
script to map_update.rb
and added a geocode_projects
function. the result is a lot of duplicated code which seems confusing. i'd say the two reasonable options would be to either 1) just add the geocode_projects
definition to scrape_indesign.rb
or maybe even preferably yank all the stuff that's not related to geocode_projects
from the map_update.rb
script?
...also, i guess i don't understand the -c
flag; i mean, redis is neat but how is this useful? what's the intention for using redis?
...also, i guess i don't understand the
-c
flag; i mean, redis is neat but how is this useful? what's the intention for using redis?
Agreed on all accounts, will make these changes.
Redis is great for not making several API calls! That's why the -c flag is useful, also a lot of people are performing at similar places so...
@whatcoloris so this PR has a change to .gitmodules
adding the 2018 contributors, which will be handled over at #51. so you won't want to include changes for that here. i'd imagine this PR to only contain the utilz/map_update.rb
file...
@whatcoloris i'm closing this PR because i'm trying to delete the master branch.
Combed through 2011 and 2012 already with this script
how to use!
-g flag indicates geocoding -c flag causes each project's coordinates to be cached locally