[postgis-tickets] [PostGIS] #4910: Conversion from Postgis geometry to GML 3.1.1 and back fails
PostGIS
trac at osgeo.org
Fri Jul 30 10:03:54 PDT 2021
#4910: Conversion from Postgis geometry to GML 3.1.1 and back fails
---------------------------+---------------------------
Reporter: tomassejkora | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.1.4
Component: postgis | Version: 3.1.x
Resolution: | Keywords: GML 3.1.1
---------------------------+---------------------------
Comment (by pramsey):
Huh, I assumed this would be some quirk of GML output, but it seems tied
to the second element of the multipolygon which is a degenerate collapsed
polygon. This reduced example also generates the error
{{{
WITH g(geom) AS (
SELECT 'POLYGON((-804030.52 -988525.62,-804026.137267668
-988528.6887703099,-804026.14 -988528.6900000001,-804030.52
-988525.62))'::geometry
)
SELECT
ST_GeomFromGML(
ST_AsGML(3, geom, 2, 0, 'gml', NULL),
5514)
FROM g;
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4910#comment:4>
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