gis.db.models.functions.NumPoints

class NumPoints(expression, **extra)

Availability: MySQL, PostGIS, Oracle, SpatiaLite

Accepts a single geographic field or expression and returns the number of points in the first linestring in the geometry field; otherwise returns None.

doc_Django
2016-10-09 18:37:24
Comments
Leave a Comment

Please login to continue.