Currently, the wof-exportify tool updates a single record based on the given ID. It would be helpful to add an additional opt_parser.add_option function to the wof:exportify tool that updates all .geojson records in a given directory or folder. This would be useful in cases where we create a new alt-geometry.geojson that needs Exportifying.
Currently, the command to Exportify the main .geojson file in the /whosonfirst-data/data/858/373/17 directory would look like:
Currently, the
wof-exportify
tool updates a single record based on the given ID. It would be helpful to add an additionalopt_parser.add_option
function to thewof:exportify
tool that updates all .geojson records in a given directory or folder. This would be useful in cases where we create a new alt-geometry.geojson that needs Exportifying.Currently, the command to Exportify the main .geojson file in the
/whosonfirst-data/data/858/373/17
directory would look like:wof-exportify -s /usr/local/mapzen/whosonfirst-data/data/ -i 85837317
To update all .geojson files (main and alt-geometry files), a possible new command could look something like:
wof-exportify -s /usr/local/mapzen/whosonfirst-data/data/ -a 85837317
https://github.com/whosonfirst/py-mapzen-whosonfirst-export/blob/master/scripts/wof-exportify#L37