[postgis-tickets] [PostGIS] #2782: st_lineMerge not merging
PostGIS
trac at osgeo.org
Wed Jun 25 09:57:38 PDT 2014
#2782: st_lineMerge not merging
---------------------+------------------------------------------------------
Reporter: mjurce | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by mjurce):
In this way merges.
select st_asText(st_makeLine(a.geom))
from ( select (ST_DumpPoints(st_curvetoline(
st_GeomFromText('MULTICURVE(CIRCULARSTRING(708237.133 153748.878,
708240.630 153778.206,708246.992 153807.048),CIRCULARSTRING(708246.992
153807.048,708246.308 153805.266,708245.236 153803.688),
CIRCULARSTRING(708245.236 153803.688,708242.097 153802.592,708239.161
153804.152),
CIRCULARSTRING(708239.161 153804.152,708238.274 153806.923,708238.402
153809.829),
CIRCULARSTRING(708238.402 153809.829,708232.204 153779.826,708228.571
153749.406),
(708228.571 153749.406,708237.133 153748.878))')) )) .geom ) as a
Should linemerge also work.
Any drawback usning dumPoints insetead of linemerge?
Thanks.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2782#comment:1>
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