songtaohe / Sat2Graph

Sat2Graph: Road Graph Extraction through Graph-Tensor Encoding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the problem about rtreego

wwcc1107 opened this issue · comments

when i run main.go. i meets the questions:

apls/main.go:107:49: cannot use rtreego.Point literal.ToRect(tol) (type rtreego.Rect) as type *rtreego.Rect in return argument
apls/main.go:356:13: cannot use &gNode (type *gpsnode) as type rtreego.Spatial in argument to rt.Insert:
*gpsnode does not implement rtreego.Spatial (wrong type for Bounds method)
have Bounds() *rtreego.Rect
want Bounds() rtreego.Rect
apls/main.go:373:28: impossible type assertion:
*gpsnode does not implement rtreego.Spatial (wrong type for Bounds method)
have Bounds() *rtreego.Rect
want Bounds() rtreego.Rect
apls/main.go:377:25: impossible type assertion:
*gpsnode does not implement rtreego.Spatial (wrong type for Bounds method)
have Bounds() *rtreego.Rect
want Bounds() rtreego.Rect
apls/main.go:378:36: impossible type assertion:
*gpsnode does not implement rtreego.Spatial (wrong type for Bounds method)
have Bounds() *rtreego.Rect
want Bounds() rtreego.Rect
apls/main.go:381:32: impossible type assertion:
*gpsnode does not implement rtreego.Spatial (wrong type for Bounds method)
have Bounds() *rtreego.Rect
want Bounds() rtreego.Rect
have you meet the same question?thank you

commented

I have the same question