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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.