[postgis-devel] [PostGIS] #905: GML LinearRing is not supported in ST_GeomFromGML

PostGIS trac at osgeo.org
Tue Apr 12 13:22:35 PDT 2011


#905: GML LinearRing is not supported in ST_GeomFromGML
-------------------------+--------------------------------------------------
 Reporter:  colivier     |       Owner:  colivier     
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 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))
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/905>
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-devel mailing list