Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the problem about rtreego #18

Open
wwcc1107 opened this issue Dec 13, 2022 · 2 comments
Open

the problem about rtreego #18

wwcc1107 opened this issue Dec 13, 2022 · 2 comments

Comments

@wwcc1107
Copy link

wwcc1107 commented Dec 13, 2022

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

@QK51643729
Copy link

I have the same question

@ucasVachel
Copy link

I have the same question too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants