gis.geos.MultiPoint

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.

doc_Django
2016-10-09 18:38:29
Comments
Leave a Comment

Please login to continue.