gis.db.models.functions.Difference

class Difference(expr1, expr2, **extra)

Availability: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite

Accepts two geographic fields or expressions and returns the geometric difference, that is the part of geometry A that does not intersect with geometry B.

Changed in Django 1.10:

MySQL support was added.

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

Please login to continue.