Opened 4 years ago

#3138 new defect

ST_OffsetCurve returns EMPTY line from non-empty input

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version:
Keywords: Cc:


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));

Spotted here:

Change History (0)

Note: See TracTickets for help on using tickets.