mitroadmaps / roadtracer

MIT License
235 stars 76 forks source link

1_sat.go can't work #27

Closed 4ever-Rain closed 5 years ago

4ever-Rain commented 5 years ago

Hi, I was following the steps to construct dataset. However, when I run the code like the following:

mkdir /data/imagery/
go run 1_sat.go MyAPIKEY /data/imagery/

I got an error like the following: panic: open /data/imagery/XXX_-X_-X_sat.png: no such file or directory ex. open /data/imagery/austin-1-1_sat.png: no such file or directory

I checked the folder of imagery. It was empty.

How can I solve this problem? @uakfdotb

uakfdotb commented 5 years ago

Create the directory /data/imagery/.

If you are on Windows or if you don't have permission to create /data/imagery/ then maybe you need to use just ./imagery/ or something like that.

4ever-Rain commented 5 years ago

Thanks for your help! It have worked now, after I get the permission or change the path.