-p, -origin Draw zero point (origin)
how to set -origin, like -origin=x,y?
dwg2maptiles
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.
Re: dwg2maptiles
./dwg2maptiles -platform offscreen -skip-empty -z 6 -color-correction -center=10000,300 -b white -a -o /home/nvisual_lite_frontend/dist/img/tiles/ cad-example2.dwg
i added option -center=10000,300, But the output shows no change in position yet.
i added option -center=10000,300, But the output shows no change in position yet.
Re: dwg2maptiles
What position are you trying to change?
One can not change the origin of a drawing but one can change the entities position in regards with the origin.
For that we use QCAD in the GUI mode.
The Map Tiles tutorial can be found here:
https://qcad.org/en/tutorial-generating-map-tiles
Explained there is that it preforms an auto zoom except with the -web-mercator switch for Georeferenced Map Tiles.
With a white background I don't think that is the case ...
It is possible that you need to specify what layers to include so that it fits your requirements.
Else, I think it is best that you attach an example file and elaborate in full on what the goal is.
If the dxf/dwg has references to one or more pictures you need to attach that/those separately.
Regards,
CVH