Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3934 closed defect (fixed)

GML3: directedEdge: Failed to get LineString geometry in curveProperty

Reported by: strk Owned by: Even Rouault
Priority: normal Milestone: 1.8.1
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords: gml directededge
Cc:

Description

The curveProperty contains GML3 version, so no LineString? but Curve:

<gml:curveProperty>
  <gml:Curve srsName="urn:ogc:def:crs:EPSG::4326">
    <gml:segments >
      <gml:LineStringSegment>
        <gml:posList srsDimension="2">21 6 21 14</gml:posList>
      </gml:LineStringSegment>
    </gml:segments>
  </gml:Curve>
</gml:curveProperty>

Attachments (2)

curveProperty.xml (3.8 KB) - added by strk 7 years ago.
SupportCurveInsideCurveProperty.patch (700 bytes) - added by strk 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by strk

Attachment: curveProperty.xml added

comment:1 Changed 7 years ago by strk

The full call is:

ogr2ogr  -f "ESRI Shapefile" test curveProperty.xml 

Changed 7 years ago by strk

comment:2 Changed 7 years ago by strk

The attached patch fixes reading the testcase GML, allowing <Curve> to appear within <curveProperty>

comment:3 Changed 7 years ago by Even Rouault

Owner: changed from warmerdam to Even Rouault

comment:4 Changed 7 years ago by Even Rouault

Component: defaultOGR_SF
Keywords: gml directededge added
Milestone: 1.8.1
Resolution: fixed
Status: newclosed

Fix commited in trunk (r21601) and in branches/1.8 (r21602). Test added in r21603.

Thanks.

comment:5 Changed 7 years ago by Even Rouault

Version: svn-trunk1.8.0
Note: See TracTickets for help on using tickets.