#3317 closed enhancement (fixed)
ST_LineMerge documentation should mention no support for M values
Reported by: | pauldzy | Owned by: | robe |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 2.5.0 |
Component: | documentation | Version: | 2.1.x |
Keywords: | ST_LineMerge | Cc: |
Description
ST_LineMerge strips off M values from input geometries. It would be nice if the documentation mentioned this.
SELECT ST_AsEWKT(
ST_LineMerge(
ST_GeomFromEWKT('SRID=0;MULTILINESTRINGM((-29 -27 10,-30 -29.7 20,-36 -31 30,-45 -33 40),(-45 -33 40,-46 -32 50))')
)
);
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 7 years ago
Milestone: | PostGIS 2.1.9 → PostGIS 2.2.6 |
---|
comment:3 by , 7 years ago
strk you have that GEOS ticket closed was it ever committed or was it committed into some test branch
output is still same as of:
POSTGIS="2.4.0 r15853" PGSQL="100" GEOS="3.7.0dev-CAPI-1.11.0 8fe2ce6" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.2.2, released 2017/09/15" LIBXML="2.7.8" LIBJSON="0.12" LIBPROTOBUF="1.2.1" RASTER
SELECT ST_AsEWKT( ST_LineMerge( ST_GeomFromEWKT('SRID=0;MULTILINESTRINGM((-29 -27 10,-30 -29.7 20,-36 -31 30,-45 -33 40),(-45 -33 40,-46 -32 50))') ) ); st_asewkt ------------------------------------------------------- LINESTRING(-29 -27,-30 -29.7,-36 -31,-45 -33,-46 -32) (1 row)
Do we need to change something in PostGIS to enable M output o
comment:4 by , 7 years ago
Nope, branch not merged yet, it is "mvalues" and conflicts with current master.
Nobody seems to be taking care of that work anymore.
comment:5 by , 7 years ago
Milestone: | PostGIS 2.2.6 → PostGIS 2.5.0 |
---|
Note:
See TracTickets
for help on using tickets.
Any function implemented by GEOS will strip the M ordinate value, until GEOS adds support for it: https://github.com/libgeos/libgeos/pull/45