gis.db.models.functions.IsValid

class IsValid(expr)

New in Django 1.10.

Availability: PostGIS

Accepts a geographic field or expression and tests if the value is well formed. Returns True if its value is a valid geometry and False otherwise.

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

Please login to continue.