[postgis-tickets] [PostGIS] #3573: Operator <<->> incorrectly calculates m distance

PostGIS trac at osgeo.org
Tue Jun 7 06:32:52 PDT 2016


#3573: Operator <<->> incorrectly calculates m distance
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.2.3
Component:  postgis  |    Version:  2.2.x
 Keywords:           |
---------------------+---------------------------
 When computing the m-distance between a point and a line, the m ordinate
 of the point is ignored.

 {{{
 SELECT 'POINT M (0 0 100000)'::geometry <<->> 'LINESTRING M (0 0 5, 0 1
 6)'::geometry AS dist;
  dist
 ------
     5


 SELECT 'POINT M (0 0 1e9)'::geometry <<->> 'LINESTRING M (0 0 5, 0 1
 6)'::geometry AS dist;
  dist
 ------
     5
 }}}

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