dwgmapconvert: Global Width property is dropped

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
bumsik-angelswing
Newbie Member
Posts: 8
Joined: Fri Apr 02, 2021 2:24 am

dwgmapconvert: Global Width property is dropped

Post by bumsik-angelswing » Fri Apr 02, 2021 3:15 am

Hi, we are using your Pro product (qcad-3.26.1-pro-linux-x86_64) on Ubuntu 20.04 LTS.

We noticed that dwgmapconvert drops Global Width property from original Polylines.

Code: Select all

$ ~/opt/qcad-3.26.1-pro-linux-x86_64/dwgmapconvert \                                                                                                                                           
	-platform offscreen \                                                                                                                                                                          
	-crs-in="EPSG:5186" \                                                                                                                                                                          
	-crs-out="EPSG:3857" \
	-o test_reprojects.dxf \
	-f \
	test.dxf
test.dxf
Original DXF file
(290.56 KiB) Downloaded 427 times
test_reprojects.dxf
Reprojected DXF file
(292.58 KiB) Downloaded 437 times
We run the above command to convert the CRS. And we attach screenshot for the same DXF files.
original_dxf.png
Original DXF file screenshot
original_dxf.png (24.13 KiB) Viewed 3146 times
reprojected_dxf.png
Reprojected DXF file screenshot
reprojected_dxf.png (24.24 KiB) Viewed 3146 times
As you can see, the original polylines gets thin because they lost Global Width properties.
Is there any options to preserve Global Width?

Thanks!

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: dwgmapconvert: Global Width property is dropped

Post by andrew » Tue Apr 06, 2021 7:16 am

Polylines can have individual start and end widths for each segment. This is currently not supported for projection as the outline of the filled polyline would have to be projected for an accurate result.

However, this particular use case with a fixed width throughout the whole polyline will be supported in the next version:
https://qcad.org/changelog

bumsik-angelswing
Newbie Member
Posts: 8
Joined: Fri Apr 02, 2021 2:24 am

Re: dwgmapconvert: Global Width property is dropped

Post by bumsik-angelswing » Thu Apr 08, 2021 10:17 am

However, this particular use case with a fixed width throughout the whole polyline will be supported in the next version:
This is very cool! Thanks for response :) !

Post Reply

Return to “QCAD Troubleshooting and Problems”