﻿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
18704	Distance lookups fail when used with LIMIT statements	Dan Loewenherz	nobody	"To repro, just create a geomanaged model and try the following statements.

{{{
Place.objects.filter(coordinates__distance_lte=(pnt, D(mi=2)))
}}}

Should work, with pnt being an arbitrary coordinate (Point). Now, try something like the following.

{{{
Place.objects.filter(coordinates__distance_lte=(pnt, D(mi=2)))[:3]
}}}

It will fail with ""GEOSException: Error encountered checking Coordinate Sequence returned from GEOS C function"".

Thanks!"	Bug	closed	GIS	1.4	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
