Opened 13 years ago

Closed 13 years ago

#905 closed enhancement (fixed)

GML LinearRing is not supported in ST_GeomFromGML

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

gml:LinearRing represent a single ring (so an exterior one)

SELECT ST_AsEWKT(ST_GeomFromGML('<gml:LinearRing srsName="urn:ogc:def:crs:EPSG::4326">
               <gml:posList>57.0 7.5 57.0 8.5 58.0 8.5 58.0 7.5 57.0 7.5</gml:posList>
            </gml:LinearRing>
'));
                        st_asewkt                        
---------------------------------------------------------
 SRID=4326;POLYGON((7.5 57,8.5 57,8.5 58,7.5 58,7.5 57))

Change History (1)

comment:1 by colivier, 13 years ago

Resolution: fixed
Status: newclosed

Commited as r7071 and unit tests as r7072.

Note: See TracTickets for help on using tickets.