jremillard / images-to-osm

Use Mask R-CNN/Keras/TensorFlow and OSM to find features in satellite images for fun.
MIT License
501 stars 84 forks source link

Full directory structure not created in getdatafromosm.py #5

Closed ColeMurray closed 6 years ago

ColeMurray commented 6 years ago

On first run, script implies a user must have created the root directory for storing OSM data. This causes error

Traceback (most recent call last):
  File "getdatafromosm.py", line 56, in <module>
    saveOsmData(queryMA)
  File "getdatafromosm.py", line 21, in saveOsmData
    os.mkdir( csvDirectoryName)
FileNotFoundError: [Errno 2] No such file or directory: 'osm/baseball'