OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.86k stars 2.54k forks source link

DXF: add the support of AutoCAD Wipeout object #11022

Open Jwohnlf opened 1 week ago

Jwohnlf commented 1 week ago

Feature description

I open this issue with the intention to add an feature enhancement to add the support of WIPEOUT DXF entities. As mentionned in the knonw issue log, this feature is still missing in the DXF driver.

WIPEOUT objects are sometimes used to draw the outline of object. In the screenshot below a annotation box related to a sewer manhole is drawn as a block using such DXF entity.
DXF-wipeout-instance1

Another example where a manhole outline is drawn with a Wipeout entity DXF-wipeout-instance2

Additional context

No response

rouault commented 1 week ago

FYI @atlight

atlight commented 1 week ago

Actually making the WIPEOUT entity perform the wipeout action on other geometries may be beyond the scope of the GDAL DXF driver, but it surely wouldn't be too difficult to construct the outline of the WIPEOUT as a polygon so that the consumer can do what it wants with the raw geometry.

In any event I have little or no bandwidth for coding feature requests on the DXF driver at this time. I'd be happy to review pull requests though.

Jwohnlf commented 1 week ago

My intention is indeed to propose a feature implementation limited to the output the outline of these WIPEOUT entities. I'll do a pull request soon. Your review is obviously welcome !