I've been using postgisPostGIS via geodjangoGeoDjango (djangoDjango v3.0.7), happily until just now. i I have a query (djangoDjango .filter()
) that looks like this:
.filter(point__distance_lte=(dlPt, D(m=CloseRadius)))
when it invokes the postgresPostgreSQL query iI get this error:
django.db.utils.ProgrammingError: function st_distancesphereST_DistanceSphere(geometry, geometry) does not exist
dlPt
is indeed a Point, <class 'django.contrib.gis.geos.point.Point'>
, and so are the point
attributes in the objects being searched.
anyAny ideas what the issue might be?