Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5381 closed enhancement (fixed)

For OGR DGN added polygon inner ring (holes) writing and MSLink writing.

Reported by: martinslinde Owned by: warmerdam
Priority: low Milestone: 1.11.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: dgn mslink inner-rings
Cc:

Description

For OGR DGN driver added write support for polygon inner rings. If a polygon has inner rings, then Cell is created containing multiple Shapes, all inner ring Shapes are marked with Hole property.

Added missing MSLink write support.

(I have not done any C++ programming for a while, so it would be good if someone can go through the patch).

Attachments (5)

gdal-dgn-innerrings-mslink.patch (3.6 KB ) - added by martinslinde 10 years ago.
patch file
shapefile.png (100.7 KB ) - added by martinslinde 10 years ago.
example shapefile screenshot
without_holes_mslinks.png (111.4 KB ) - added by martinslinde 10 years ago.
without patch , shapefile converted to DGN
with_holes_mslinks.png (119.9 KB ) - added by martinslinde 10 years ago.
with patch , shapefile converted to DGN
test_shapefile_for_input.zip (1.2 KB ) - added by martinslinde 10 years ago.
shapefile with feature with hole and mslink attribute

Download all attachments as: .zip

Change History (7)

by martinslinde, 10 years ago

patch file

by martinslinde, 10 years ago

Attachment: shapefile.png added

example shapefile screenshot

by martinslinde, 10 years ago

Attachment: without_holes_mslinks.png added

without patch , shapefile converted to DGN

by martinslinde, 10 years ago

Attachment: with_holes_mslinks.png added

with patch , shapefile converted to DGN

by martinslinde, 10 years ago

shapefile with feature with hole and mslink attribute

comment:1 by Even Rouault, 10 years ago

Milestone: 2.0
Resolution: fixed
Status: newclosed

Applied in trunk r26929 "DGN writing: added polygon inner ring (holes) writing and MSLink writing (patch by martinslinde, #5381)" with fixes for memory leaks

comment:2 by Even Rouault, 10 years ago

Milestone: 2.01.11.0
Note: See TracTickets for help on using tickets.