[postgis-tickets] [PostGIS] #3588: Incorrect distance calculation

PostGIS trac at osgeo.org
Thu Jun 23 01:08:52 PDT 2016


#3588: Incorrect distance calculation
----------------------+---------------------------
 Reporter:  przemekp  |      Owner:  pramsey
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS 2.2.3
Component:  postgis   |    Version:  2.2.x
 Keywords:            |
----------------------+---------------------------
 `SELECT ST_Distance(ST_GeographyFromText('SRID=4326;POINT(59.3327903748
 18.0644893646)'),ST_GeographyFromText('SRID=4326;POINT(59.3362
 18.0704)'))`
 >747.17041

 According to google or http://www.movable-type.co.uk/scripts/latlong.html
 it should be around 506 meters.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3588>
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