Ticket #3934 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

GML3: directedEdge: Failed to get LineString geometry in curveProperty

Reported by: strk Owned by: 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

curveProperty.xml Download (3.8 KB) - added by strk 2 years ago.
SupportCurveInsideCurveProperty.patch Download (0.7 KB) - added by strk 2 years ago.

Change History

Changed 2 years ago by strk

Changed 2 years ago by strk

The full call is:

ogr2ogr  -f "ESRI Shapefile" test curveProperty.xml 

Changed 2 years ago by strk

Changed 2 years ago by strk

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

Changed 2 years ago by rouault

  • owner changed from warmerdam to rouault

Changed 2 years ago by rouault

  • keywords gml directededge added
  • resolution set to fixed
  • status changed from new to closed
  • component changed from default to OGR_SF
  • milestone set to 1.8.1

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

Thanks.

Changed 2 years ago by rouault

  • version changed from svn-trunk to 1.8.0
Note: See TracTickets for help on using tickets.