gazetteerhk / census_explorer

Explore Hong Kong's neighborhoods through visualizations of census data
http://gazetteer.hk
MIT License
42 stars 12 forks source link

Error when preparing census data #58

Closed railsstudent closed 10 years ago

railsstudent commented 10 years ago

2014-02-27 21:07:14 - data_preparation - INFO - Appending public facility data Traceback (most recent call last): File "data_preparation.py", line 29, in public_facilities.main() File "/home/connie/Documents/census_explorer/scripts/public_facilities.py", line 155, in main features = get_geojson_objects() File "/home/connie/Documents/census_explorer/scripts/public_facilities.py", line 20, in get_geojson_objects with open(os.path.join(config.DIR_DATA_PREFIX, 'pub_facility_cacode.geo.json'), 'rb') as f: IOError: [Errno 2] No such file or directory: 'data/pub_facility_cacode.geo.json

hxu commented 10 years ago

Thanks for submitting this -- we know about this issue. The file it is referencing is one that we have on our drives, but the pipeline that generates it needs a bit of cleaning up. In the meantime, you can download it from here and place it manually at the path that the script looks for.