[QGIS-Developer] PyQGIS zoom to layer not working

Richard Duivenvoorde rdmailings at duif.net
Tue Jun 20 06:32:52 PDT 2023


On 6/20/23 14:56, Frank Broniewski wrote:
> I did set the QGIS default CRS to 2169 in the options, but this did not help unfortunately.

Mmm, that should work:

Settings / CRS and Transforms/ CRS for projects / Use a default CRS
AND I would maybe also set the CRS for layer to epsg:2169

Another option is to create a 'Default Project' (empty, BUT crs set to epsg:2169)
Settings / General / Set Current Project As Default
and
Checkbox 'Create new project from default project'

fiddling with those I'm pretty sure it should be possible to start QGIS in the right crs..

Suc6

Richard Duivenvoorde


More information about the QGIS-Developer mailing list