[Qgis-user] Zoom QGIS to specific location by command line

Loren Dawe Loren.Dawe at terraremote.com
Tue Apr 4 16:51:14 PDT 2023


Hi,
I would like to zoom QGIS to a specific location (lat/lon coordinate) or area (lat/lon bounding box) using a command line argument generated outside of QGIS. I have looked through the available command line arguments and cant see anything that will allow this.

Does anyone know of a method that this could be accomplished?

I could generate a disk file containing the coordinates in any documented format if that is a solution (tried to use the Google Earth plugin and send a KML file but that doesn't work from the command line).

QGIS 3.20.3
Windows 10

Thanks in Advance,
Loren.

[cid:image001.jpg at 01D96712.70ECF530]

Loren Dawe: Senior Geomatics Specialist
www.terraremote.com<http://www.terraremote.com/>
Terra Remote Sensing Inc.
1962 Mills Road Sidney, BC, Canada, V8L 5Y3
T:250.656.0931 F:250.656.4604 T:800.814.4212



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230404/2948019b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2697 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230404/2948019b/attachment.jpg>


More information about the QGIS-User mailing list