According to https://docs.djangoproject.com/en/1.3/ref/contrib/gis/db-api/ , Spatialite supports GeoQuerySet.distance(). However, by importing a list of areas ( MultiPolygonhow mpoly), I try to do the following:
Area.objects.all().distance(center)
And instead of what can be used, I get an error: " ValueError: SQLite does not support linear distance calculations in geodetic coordinate systems. "
What is wrong here, do I need a special configuration on Spatialite or incorrect documentation?
source
share