Re: [QGIS-Developer] PyQGIS zoom to layer not working

2023-08-08 Thread Frank Broniewski via QGIS-Developer
well. Have a nice day, Frank -Ursprüngliche Nachricht- Von: QGIS-Developer Im Auftrag von Frank Broniewski via QGIS-Developer Gesendet: Donnerstag, 22. Juni 2023 10:56 An: rdmaili...@duif.net; qgis-developer@lists.osgeo.org Betreff: Re: [QGIS-Developer] PyQGIS zoom to layer not working

Re: [QGIS-Developer] PyQGIS zoom to layer not working

2023-06-22 Thread Frank Broniewski via QGIS-Developer
Hey Richard, thanks for the good wishes! I feel, I completely jinxed it 😃. I will continue to investigate, as soon as I find a solution, I'll post it here ... -Ursprüngliche Nachricht- Von: Richard Duivenvoorde Gesendet: Dienstag, 20. Juni 2023 15:33 An: Frank Broniewski ; qgis-develop

Re: [QGIS-Developer] PyQGIS zoom to layer not working

2023-06-20 Thread Richard Duivenvoorde via QGIS-Developer
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 o

Re: [QGIS-Developer] PyQGIS zoom to layer not working

2023-06-20 Thread Frank Broniewski via QGIS-Developer
t CRS to 2169 in the options, but this did not help unfortunately. Many thanks, Frank -Ursprüngliche Nachricht- Von: Richard Duivenvoorde Gesendet: Dienstag, 20. Juni 2023 13:37 An: Frank Broniewski ; qgis-developer@lists.osgeo.org Betreff: Re: [QGIS-Developer] PyQGIS zoom to laye

Re: [QGIS-Developer] PyQGIS zoom to layer not working

2023-06-20 Thread Richard Duivenvoorde via QGIS-Developer
Hi Frank, It really depends on: - what is the crs of your project - what is the crs of your layer - if they match, it should work - if they do not match you have to reproject the layer extent to the crs of the mapcanvas I think the python console will be helpfull here. While loaded, does the p