Opened 12 years ago

Closed 7 years ago

#3119 closed enhancement (wontfix)

OGRPolygon cut

Reported by: bishop Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: OGRPolygon cut OGRLineString
Cc:

Description

New OGRPolygon method OGRPolygon::Cut(OGRLineString* pCutLine). Cut polygon by cutline.

Attachments (1)

polygon_cut.patch (4.8 KB) - added by bishop 12 years ago.
OGRPolygon Cut

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by bishop

Attachment: polygon_cut.patch added

OGRPolygon Cut

comment:1 Changed 7 years ago by Jukka Rahkonen

I think this patch has never been applied. Bishop, would you rather push it ahead or forget it?

comment:2 Changed 7 years ago by bishop

Resolution: wontfix
Status: newclosed

This is partically duplicate this API:

OGRGeometry *pMultiPoly = OGRGeometryFactory::transformWithOptions(pPoly , NULL, papszOptions);

Also, this is subject to discuss how it'll be better to add such functionality - in OGRPolygon class or OGRGeometryFactory. So I close this ticket.

Note: See TracTickets for help on using tickets.