Opened 9 years ago

Last modified 9 years ago

#3306 new defect

ST_LineMerge drops vertical segments

Reported by: bfreed3 Owned by: pramsey
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version: 2.1.x
Keywords: Cc:

Description

SELECT ST_AsText(ST_LineMerge(ST_GeomFromText('MULTILINESTRING((0 0 0, 10 10 10, 20 20 10),(20 20 10, 30 30 20, 30 30 40))')));

The resulting Linestring has a Z dimension, but loses the vertical segments.

This becomes a problem when tracking pipeline construction at places where vertical pipes branch off, for example.

Change History (1)

comment:1 by pramsey, 9 years ago

Milestone: PostGIS 2.1.9PostGIS GEOS

This is an issue in GEOS, unfortunately, not PostGIS, so I've set the milestone appropriate. To increase odds of a fix rolling in, file a ticket at the GEOS trac too. Thanks!

Note: See TracTickets for help on using tickets.