Ticket #1619 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

bug in OGRPolygon::flattenTo2D()

Reported by: Kosta Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: OGR_SF Version: unspecified
Severity: major Keywords:
Cc:

Description

The following line of code is missing in OGRPolygon::flattenTo2D():

nCoordDimension = 2;

Patch attached...

Attachments

flattento2d.patch Download (406 bytes) - added by Kosta 5 years ago.
patch for bug in OGRPloyon::flattenTo2D()

Change History

Changed 5 years ago by Kosta

patch for bug in OGRPloyon::flattenTo2D()

Changed 5 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.4.2

Kosta,

Good point. I have fixed this in trunk (r11423) and 1.4 branch (r11424).

Thanks

Note: See TracTickets for help on using tickets.