It is essential that the computed distance can be output by the view, per row. It should be sortable too.

That way, after filtering relative to a point and a certain distance (which the module awesomely handles already), the view could then display actual distances, in order of nearest to farthest. Kindof the whole point of a proximity filter methinks?

For example, think of a store finder app, where you could see the distance relative to your address per store...

Comments

marcjohnson’s picture

Priority: Major » Normal
mauriziopinotti’s picture

AFAIK in Views 3 you can't sort on a field that doesn't exist in the database, such as "distance" which is computed on-the-fly by this module.

Please correct me if I'm wrong.

derjochenmeyer’s picture

Title: distance available in view output » Make calculated distance available in views output
Version: 7.x-1.1 » 7.x-2.x-dev
Category: feature » task
jm.federico’s picture

Status: Active » Closed (fixed)

Hello

This functionality is now available on the "betterviews" branch.
It also allows sorting.
I'm closing this issue.

This will eventually make it to the 3.x version.

jm.federico’s picture

Status: Closed (fixed) » Postponed
jm.federico’s picture

Status: Postponed » Fixed
derjochenmeyer’s picture

Status: Fixed » Active

Let's not mark this "fixed" until we merge branches or release new a development branch including this feature. We also reference these issues on the project page:
http://drupal.org/project/geolocation_proximity

derjochenmeyer’s picture

Status: Active » Fixed

This feature is now in 7.x-2.x and will be available in 7.x-2.x-alpha3 and above.
Thanks jm.federico!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.