[postgis-tickets] [PostGIS] #4935: Bug in ST_LineCrossingDirection ?

PostGIS trac at osgeo.org
Tue Jun 29 03:13:33 PDT 2021


#4935: Bug in ST_LineCrossingDirection ?
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.1.3
Component:  postgis  |    Version:
 Keywords:           |
---------------------+---------------------------
 The manual page about ST_LineCrossingDirection is not very clear on the
 matter, but I would expect this to return -1 (crosses left) instead of 1
 (crosses right):
 {{{
 SELECT ST_LineCrossingDirection(
  'LINESTRING(20 37,23 37,20 34,20 37)', -- g1
  'LINESTRING(20 34,20.5 33)' --g2
 );
 }}}

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