Opened 4 years ago

Closed 4 years ago

Last modified 3 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 4 years ago.
patch file
shapefile.png (100.7 KB) - added by martinslinde 4 years ago.
example shapefile screenshot
without_holes_mslinks.png (111.4 KB) - added by martinslinde 4 years ago.
without patch , shapefile converted to DGN
with_holes_mslinks.png (119.9 KB) - added by martinslinde 4 years ago.
with patch , shapefile converted to DGN
test_shapefile_for_input.zip (1.2 KB) - added by martinslinde 4 years ago.
shapefile with feature with hole and mslink attribute

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by martinslinde

patch file

Changed 4 years ago by martinslinde

Attachment: shapefile.png added

example shapefile screenshot

Changed 4 years ago by martinslinde

Attachment: without_holes_mslinks.png added

without patch , shapefile converted to DGN

Changed 4 years ago by martinslinde

Attachment: with_holes_mslinks.png added

with patch , shapefile converted to DGN

Changed 4 years ago by martinslinde

shapefile with feature with hole and mslink attribute

comment:1 Changed 4 years ago by Even Rouault

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 Changed 3 years ago by Even Rouault

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