[OSM-dev] Anyone with a speedy gazetteer

Tom Hughes tom at compton.nu
Mon Jan 12 14:00:06 GMT 2009


Milo van der Linden wrote:

> Regarding the near by; this would mainly mean "select this and that 
> where searchterm="bla" and distance(the_geom, yourlocation) < x.

You know that "distance(the_geom, yourlocation) < x" is not optimised by 
spatial indexes I assume... Hence you should use ST_DWithin instead ;-)

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list