Changes between Version 5 and Version 6 of UsersWikiplpgsqlfunctionsDistance


Ignore:
Timestamp:
09/29/09 21:24:16 (15 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiplpgsqlfunctionsDistance

    v5 v6  
    33 * '''An ST_Dwithin like function that uses indexes for degree point data'''
    44[http://www.postgis.org/pipermail/postgis-users/2009-June/023711.html]
     5
     6Caveat from newsgroup: Here's a simple 80/20 solution for people with lon/lat tables of
     7points wanting to do distance searches.  It only works for places less
     8than 60degrees north or south, and only for points. If you know your
     9data is all more southerly than 60d, adjust the constant factor to
     10make the index portion of the search more selective (and hence,
     11efficient (faster)).
     12
    513{{{
    614#!sql