class MultiPoint(*args, **kwargs)
MultiPoint
objects may be instantiated by passing in Point
objects as arguments, or a single sequence of Point
objects:
>>> mp = MultiPoint(Point(0, 0), Point(1, 1)) >>> mp = MultiPoint( (Point(0, 0), Point(1, 1)) )
Changed in Django 1.10:
In previous versions, an empty MultiPoint
couldn’t be instantiated.
Please login to continue.