[postgis-tickets] [PostGIS] #3138: ST_OffsetCurve returns EMPTY line from non-empty input

PostGIS trac at osgeo.org
Thu May 28 00:46:02 PDT 2015


#3138: ST_OffsetCurve returns EMPTY line from non-empty input
---------------------+--------------------------
 Reporter:  strk     |      Owner:  strk
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS GEOS
Component:  postgis  |    Version:
 Keywords:           |
---------------------+--------------------------
 If the line is short relatively to the offset, OffsetCurve can return
 EMPTY:
 {{{
 =# select ST_AsText(ST_OffsetCurve('LINESTRING(24 0,24.00001
 0)'::geometry, 3));
 LINESTRING(24 3,24.00001 3)
 =# select ST_AsText(ST_OffsetCurve('LINESTRING(24 0,24.000001
 0)'::geometry, 3));
 LINESTRING EMPTY
 }}}

 Spotted here: https://github.com/azavea/nyc-trees/issues/1728

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