Skip to content

Error when running go script #5

@qkgia

Description

@qkgia

Dear authors,

I got the following error when running
go run scripts/preprocess-matches.go mot17 /home/ubuntu/data/

/home/ubuntu/golang/src/github.com/mitroadmaps/gomapinfer/common/graph_rtree.go:16:2: cannot use rect (type rtreego.Rect) as type *rtreego.Rect in return argument /home/ubuntu/golang/src/github.com/mitroadmaps/gomapinfer/common/graph_rtree.go:38:52: cannot use RtreegoRect(rect) (type *rtreego.Rect) as type rtreego.Rect in argument to rtree.tree.SearchIntersect /home/ubuntu/golang/src/github.com/mitroadmaps/gomapinfer/common/graph_rtree.go:41:25: impossible type assertion: *edgeSpatial does not implement rtreego.Spatial (wrong type for Bounds method) have Bounds() *rtreego.Rect want Bounds() rtreego.Rect /home/ubuntu/golang/src/github.com/mitroadmaps/gomapinfer/common/graph_rtree.go:49:33: cannot use edgeSpatial literal (type *edgeSpatial) as type rtreego.Spatial in argument to rtree.Insert: *edgeSpatial does not implement rtreego.Spatial (wrong type for Bounds method) have Bounds() *rtreego.Rect want Bounds() rtreego.Rect

Thanks

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