class MakeValid(expr)
New in Django 1.10.
Availability: PostGIS
Accepts a geographic field or expression and attempts to convert the value into a valid geometry without losing any of the input vertices. Geometries that are already valid are returned without changes. Simple polygons might become a multipolygon and the result might be of lower dimension than the input.
Please login to continue.