Skip to content

Commit

Permalink
QGIS Server: dxf format options for export with zero width (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent authored and nyalldawson committed May 1, 2024
1 parent 19ab774 commit 33b2e4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -1182,6 +1182,11 @@ namespace QgsWms
if ( mWmsParameters.noMText() )
flags.setFlag( QgsDxfExport::Flag::FlagNoMText );

if ( mWmsParameters.exportLinesWithZeroWidth() )
{
flags.setFlag( QgsDxfExport::Flag::FlagHairlineWidthExport );
}

dxf->setFlags( flags );

return dxf;
Expand Down

0 comments on commit 33b2e4b

Please sign in to comment.