Ticket #905 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

GML LinearRing is not supported in ST_GeomFromGML

Reported by: colivier Owned by: colivier
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
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

Changed 2 years ago by colivier

  • status changed from new to closed
  • resolution set to fixed

Commited as r7071 and unit tests as r7072.

Note: See TracTickets for help on using tickets.