Skip to content

why PointCollection minimum of two items? #95

Closed
@patrick-radius

Description

@patrick-radius

I was wondering why the PointCollection constructor has a restriction on a minimum of 2 items.
As far as i know this is not a MySQL restriction, and i have a need for some records with only one (or zero) items in the multipoint column.

I am currently unable to do that.
Also i tried extending the MultiPoint class and override the constructor. But since the library is using a factory it wont use the extended class.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions