[postgis-tickets] [PostGIS] #4814: GEOS roundtrip conversion drops empty components
PostGIS
trac at osgeo.org
Thu Dec 10 03:18:59 PST 2020
#4814: GEOS roundtrip conversion drops empty components
---------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: 2.5.x
Keywords: |
---------------------+---------------------------
{{{
strk=# select ST_AsText(postgis_geos_noop('GEOMETRYCOLLECTION(POINT EMPTY,
POINT(1 1))'));
st_astext
--------------------------------
GEOMETRYCOLLECTION(POINT(1 1))
(1 row)
strk=# select ST_AsText('GEOMETRYCOLLECTION(POINT EMPTY, POINT(1 1))');
st_astext
--------------------------------------------
GEOMETRYCOLLECTION(POINT EMPTY,POINT(1 1))
(1 row)
}}}
It looks our postgis->geos->postgis conversion is dropping EMPTY
components. I think it shouldn't.
Found during work on #4813
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4814>
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