[postgis-tickets] [PostGIS] #4480: Geography Distance inconsistent with Intersects

PostGIS trac at osgeo.org
Tue Aug 13 09:41:24 PDT 2019


#4480: Geography Distance inconsistent with Intersects
---------------------+---------------------------
 Reporter:  pramsey  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  high     |  Milestone:  PostGIS 2.5.3
Component:  postgis  |    Version:  2.4.x
 Keywords:           |
---------------------+---------------------------
 https://lists.osgeo.org/pipermail/postgis-users/2019-August/043466.html

 {{{
 we found some unexpected results when doing spatial queries on very
 large geography polygons. For example

     SELECT ST_Distance(ST_SetSRID( ST_MakeBox2D(ST_Point(160,
 60),ST_Point(-160,-60)), 4326)::geography,ST_SetSRID(ST_Point(0, 0),
 4326)::geography)/1000

 returns 13130km instead of 0 as the point 0,0 should be inside this
 polygon.
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4480>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list