#25498: PostGIS Distance lookups use ST_Distance_Sphere() and not ST_Distance()
-------------------------------+------------------------------------
     Reporter:  iambibhas      |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by iambibhas):

 So maybe we can say something like -

  PostGIS:       `ST_Distance_Sphere(poly, geom) <= 5` when SRID 4326 is
 used
  PostGIS:       `ST_Distance(poly, geom) <= 5` when any other projected
 projected coordinates are used

 in 2 different rows. Or use a single row to say both of them.

--
Ticket URL: <https://code.djangoproject.com/ticket/25498#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6ceca81703703ad12b78eb550ea573c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to