Skip to content

Downloading the dataset workaround #43

@isaaccorley

Description

@isaaccorley

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions