Using F() and distance queries

10 views
Skip to first unread message

Nate Theis

unread,
May 13, 2011, 3:37:20 PM5/13/11
to geodjango
Hi. For an app I'm working on, I have a model which has 2 relevant
fields: a PointField and a max_distance (SmallIntegerField).

I need a way to:

Given a point, find all of the models where the point is within the
model's max_distance.

Ideas?

kswa...@pathsee.com

unread,
Apr 12, 2013, 3:36:46 PM4/12/13
to geod...@googlegroups.com
This is a long shot, but where you able to figure this one out? I'm working on something and am stuck on this as well.
Reply all
Reply to author
Forward
0 new messages