[postgis-tickets] [PostGIS] #2681: GML error

PostGIS trac at osgeo.org
Tue Mar 25 12:54:31 PDT 2014


#2681: GML error
----------------------+-----------------------------------------------------
 Reporter:  colivier  |       Owner:  colivier     
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.1.2
Component:  postgis   |     Version:  2.1.x        
 Keywords:  GML       |  
----------------------+-----------------------------------------------------
 SELECT ST_GeomFROMGML('<gml:MultiSurface>
                <gml:surfaceMember>
                  <gml:Surface>
                     <gml:patches>
                       <gml:PolygonPatch>
                         <gml:exterior>
                           <gml:LinearRing>
                             <gml:posList>0 0 0 1 1 1 1 0 0 0</gml:posList>
                           </gml:LinearRing>
                         </gml:exterior>
                       </gml:PolygonPatch>
                     </gml:patches>
                   </gml:Surface>
                 </gml:surfaceMember>
                 <gml:surfaceMember>
                   <gml:Surface>
                     <gml:patches>
                       <gml:PolygonPatch>
                         <gml:interior>
                           <gml:LinearRing>
                             <gml:posList>0.25 0.25 0.25 0.75 0.75 0.75
 0.75 0.25 0.25 0.25</gml:posList>
                           </gml:LinearRing>
                         </gml:interior>
                       </gml:PolygonPatch>
                     </gml:patches>
                   </gml:Surface>
                 </gml:surfaceMember>
                <gml:surfaceMember>
                  <gml:Surface>
                     <gml:patches>
                       <gml:PolygonPatch>
                         <gml:exterior>
                           <gml:LinearRing>
                             <gml:posList>0 0 0 -1 -1 -1 -1 0 0
 0</gml:posList>
                           </gml:LinearRing>
                         </gml:exterior>
                       </gml:PolygonPatch>
                     </gml:patches>
                   </gml:Surface>
                 </gml:surfaceMember>
               </gml:MultiSurface>');


 Thanks to Even.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2681>
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