For anyone else struggling to get gomapinfer installed and running to download the imagery, you can use the following to install without the error thrown by rtreego error referenced in mitroadmaps/gomapinfer#3.
GO111MODULE=off go get github.com/IronSublimate/gomapinfer/common
GO111MODULE=off go get github.com/IronSublimate/gomapinfer/googlemaps
Then replace in all .go files in this repo:
github.com/mitroadmaps/gomapinfer/common -> github.com/ironsublimate/gomapinfer/common
github.com/mitroadmaps/gomapinfer/googlemaps -> github.com/ironsublimate/gomapinfer/googlemaps
Then run to download the imagery:
mkdir /data/imagery
GO111MODULE=off go run 1_sat.go API_KEY /data/imagery
Then to generate the ground truth masks download the ground truth road graphs here https://roadmaps.csail.mit.edu/roadtracer/graphs.zip and unzip and run
mkdir /data/masks
GO111MODULE=off go run 5_truth_tiles.go graphs/gt/ /data/masks/
For anyone else struggling to get gomapinfer installed and running to download the imagery, you can use the following to install without the error thrown by rtreego error referenced in mitroadmaps/gomapinfer#3.
Then replace in all
.gofiles in this repo:github.com/mitroadmaps/gomapinfer/common->github.com/ironsublimate/gomapinfer/commongithub.com/mitroadmaps/gomapinfer/googlemaps->github.com/ironsublimate/gomapinfer/googlemapsThen run to download the imagery:
Then to generate the ground truth masks download the ground truth road graphs here https://roadmaps.csail.mit.edu/roadtracer/graphs.zip and unzip and run