Hi,
First of all, thank you for this amazing tool, it's really useful for processing DXF/DWG files. However I have a question regarding `dwg2maptiles` command line tool.
So I've processed a lot of DXF files with this tool and so far their results have been fine. However for this specific file that I attached in my message, for some reason there is these colors that don't exist in the DXF file.
I've tried to open the file on QCAD GUI and other CAD applications, however I cannot find any layers or entities that look anything like that. This might be file issue or might be tool issue, but I have no more idea in regards of the file so therefore I am asking you if it is QCAD-related issue or if there's something that I missed from this file.
I've attached the input file here and here's my specification:
OS: Linux 64 bit
QCAD Version: 3.25.2
Looking forward for your help and thank you in advance!
Unexpected colors on the Map Tile Result
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.
Unexpected colors on the Map Tile Result
- Attachments
-
- 397_46439.dxf
- (11.01 MiB) Downloaded 303 times
Re: Unexpected colors on the Map Tile Result
Please indicate what exact command line arguments you are using to process this file, thanks.
Re: Unexpected colors on the Map Tile Result
Hi, Andrew, thank you for your response!
The following is the script that I used to generate this output.
The following is the script that I used to generate this output.
Code: Select all
dwg2maptiles -platform offscreen -a -tms -web-mercator -q 100 -t png -z 2-22 -hq-postfix=@2x -skip-empty -b transparent -o /tiles filename.dxf &
Re: Unexpected colors on the Map Tile Result
I suspect a problem with the transparent background. Can you try
just to confirm / rule out my suspicion.
Unfortunately I was unable to reproduce the problem here.
You can also try:
which is essentially a transparent white (#AARRGGBB).
Please let us know what effect these different options have.
Code: Select all
-b white
Unfortunately I was unable to reproduce the problem here.
You can also try:
Code: Select all
-b "#ffffffff"
Please let us know what effect these different options have.