gis.db.models.functions.NumGeometries

class NumGeometries(expression, **extra)

Availability: MySQL, PostGIS, Oracle, SpatiaLite

Accepts a single geographic field or expression and returns the number of geometries if the geometry field is a collection (e.g., a GEOMETRYCOLLECTION or MULTI* field); otherwise returns None.

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

Please login to continue.