﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10594	GeoQuerySet methods should filter out NULL values by default	Nathaniel Whiteinge	jbronn	"Given the following GIS model:

{{{
    class SomeModel(models.Model):
        location = models.PointField(null=True)
        <snip>
}}}

When populated with instances that both have and do not have location information, doing a {{{distance(geom)}}} query yields unexpected results.

For example, {{{SomeModel.objects.distance(somePoint)}}} returns no results at all. {{{SomeModel.objects.filter(location__isnull=False).distance(somePoint)}}} works as expected.

IMO, {{{distance(geom)}}} results that cannot calculate distance should simply return None.
"		closed	GIS	dev		fixed	distance queryset		Accepted	1	0	0	0	0	0
