Hi,
When I use the dwg2maptiles it generates a lot of white space around the drawing. If I save the same file to a image from QCAD the image is nicely set to the extents of the drawing. How can we do the same with dwg2maptiles so the 256 x 256 image is filled with the drawing ?
Attached a sample .bmp saved from QCAD and the 0 resolution image from dwg2maptiles
dwg2maptiles - space around image
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
dwg2maptiles - space around image
- Attachments
-
- 0.png (6.17 KiB) Viewed 4204 times
-
- SNG15_24.png (861.71 KiB) Viewed 4204 times
-
- 0.png (11.55 KiB) Viewed 4205 times
-
- SJCI_1.bmp (900.05 KiB) Viewed 4205 times
Re: dwg2maptiles - space around image
The 0 tile should indeed be centered and fill the whole tile. Can you attach, PM or mail your DXF or DWG please, thanks.
For all support requests, please:
- indicate the operating system you are using and the version thereof (e.g. Windows 10 32bit, Windows 8.1 64bit, Ubuntu 14.2 64bit, macOS 10.12, etc.)
- indicate the exact version of QCAD you are using (see Help > About or QCAD > About QCAD or indicate the name of the file you have downloaded and installed)
For all support requests, please:
- indicate the operating system you are using and the version thereof (e.g. Windows 10 32bit, Windows 8.1 64bit, Ubuntu 14.2 64bit, macOS 10.12, etc.)
- indicate the exact version of QCAD you are using (see Help > About or QCAD > About QCAD or indicate the name of the file you have downloaded and installed)
Re: dwg2maptiles - space around image
Attached the 2 DWG files.
I am on MAC 10.14.2
Version:
3.21.3.0 (3.21.3)
Internet:
QCAD.org
Build Date:
Sep 17 2018
Revision:
4b91c8c
Qt Version:
5.10.0
Architecture:
x86_64
Compiler:
Clang 8.0.0
I am on MAC 10.14.2
Version:
3.21.3.0 (3.21.3)
Internet:
QCAD.org
Build Date:
Sep 17 2018
Revision:
4b91c8c
Qt Version:
5.10.0
Architecture:
x86_64
Compiler:
Clang 8.0.0
- Attachments
-
- SNG15_24.dwg
- (2.1 MiB) Downloaded 352 times
-
- SJCI_1.dwg
- (428.35 KiB) Downloaded 325 times
Re: dwg2maptiles - space around image
Thanks. There are some (empty) block references in the seemingly empty space of the drawing:
These will be ignored in a future version. For now, please delete those block references (rectangle select and delete).Re: dwg2maptiles - space around image
I have turned on all the layers and I still cannot see these things to select them and delete ?
What about the other file, does that have the same problem ?
Many thanks for the help
What about the other file, does that have the same problem ?
Many thanks for the help
Re: dwg2maptiles - space around image
These blocks are empty (i.e. there is nothing to display). You can find them by zooming out and selecting all (Select > Select all). They will then show up as blue reference points.
I also checked the other drawing, however, that case is a bit different. There appear to be block references with reference points far away from the drawing contents. Unfortunately, there is no easy workaround for such a file (short of exploding all block references). You'd have to wait for the next release for a fix.
I also checked the other drawing, however, that case is a bit different. There appear to be block references with reference points far away from the drawing contents. Unfortunately, there is no easy workaround for such a file (short of exploding all block references). You'd have to wait for the next release for a fix.