gis.db.models.functions.MakeValid

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.

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

Please login to continue.