Skip to content
New issue

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

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

Already on GitHub? # to your account

No npoint for Wrappers.GeometryCollection #129

Open
asinghvi17 opened this issue Apr 17, 2024 · 1 comment
Open

No npoint for Wrappers.GeometryCollection #129

asinghvi17 opened this issue Apr 17, 2024 · 1 comment

Comments

@asinghvi17
Copy link
Member

ERROR: MethodError: no method matching npoint(::GeoInterface.GeometryCollectionTrait, ::GeoInterface.Wrappers.GeometryCollection{…})

Should be a simple fix.

@asinghvi17 asinghvi17 changed the title No npoint for Wrappers.GeometryCollection` No npoint for Wrappers.GeometryCollection Apr 17, 2024
@evetion
Copy link
Member

evetion commented Apr 18, 2024

I think this is by design. Npoint works on a multipoint. You probably want ngeom, since a collection can be anything.

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

No branches or pull requests

2 participants