gdal icon indicating copy to clipboard operation
gdal copied to clipboard

[DGNV8] error occurs if not closed curves are used to build polygons

Open lchevallier69 opened this issue 2 years ago • 3 comments

In some cases the DGNV8 reader try to create polygons with non closed curves. Even if we try --skipfailure option , errors remains in the file.

Expected behaviour :

Close rings when creating polygons

Steps to reproduce the problem.

try an ogr2ogr -f "DGNV8" out.dgn sample_no_closed_curves.dgn

Operating system

All

GDAL version and provenance

3.3

lchevallier69 avatar Mar 25 '22 16:03 lchevallier69

https://github.com/lchevallier69/gdal/commit/89a042a01a9a5c47017d7143e9972b6fc9428541

lchevallier69 avatar Mar 25 '22 16:03 lchevallier69

lchevallier69@89a042a

please make a pull request with that fix

rouault avatar Mar 25 '22 16:03 rouault