Opened 12 years ago

Closed 12 years ago

Last modified 12 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 12 years ago.
SupportCurveInsideCurveProperty.patch (700 bytes ) - added by strk 12 years ago.

Download all attachments as: .zip

Change History (7)

by strk, 12 years ago

Attachment: curveProperty.xml added

comment:1 by strk, 12 years ago

The full call is:

ogr2ogr  -f "ESRI Shapefile" test curveProperty.xml 

comment:2 by strk, 12 years ago

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

comment:3 by Even Rouault, 12 years ago

Owner: changed from warmerdam to Even Rouault

comment:4 by Even Rouault, 12 years ago

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 by Even Rouault, 12 years ago

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