zoom to full extent not working correctly
Comments (15)
-
-
This is a map tool that needs to be applied on the map of interest. Like the zoom in / out map tools, so I would’nt consider it a bug. It’s just different to QGIS which has a single map canvas only.
-
reporter On the map layer of interest? Do you mean on the map view of interest?
-
reporter If I have multiple layers in one view, the tool should concider all layer for calculating the full extent, right? Like in QGIS.
-
reporter
-
reporter QGIS version
3.18.1-Zürich
QGIS code branch
Release 3.18
Compiled against Qt
5.12.9
Running against Qt
5.12.9
Compiled against GDAL/OGR
3.2.2
Running against GDAL/OGR
3.2.2
Compiled against GEOS
3.9.1-CAPI-1.14.2
Running against GEOS
3.9.1-CAPI-1.14.2
Compiled against SQLite
3.34.0
Running against SQLite
3.35.2
PostgreSQL Client Version
13.1
SpatiaLite Version
5.0.1
QWT Version
6.1.6
QScintilla2 Version
2.11.2
Compiled against PROJ
8.0.0
Running against PROJ
Rel. 8.0.0, March 1st, 2021
OS Version
Windows 10 (10.0)
Active python plugins
enmapboxplugin;
db_manager;
MetaSearch;
processing -
So far it uses the full extent of all layers in a map canvas, but using that of the layer clicked on would be a nice option too.
You QGIS is outdated. Please update and check again. -
relates to https://github.com/qgis/QGIS/issues/43097 (closed and in 3.20)
-
reporter … but using that of the layer clicked on would be a nice option too.
Maybe that is an option for the MapView context menu, where you could have an option to zoom to the full extent of the layer under the clicked position?
-
reporter update not possible for Windows Conda QGIS: is still 3.18.3
-
So what exactly is the map tool doing in your case and what would you expect instead?
-
I checked it in 3.18 conda (linux) and the map tool worked as expected.
-
reporter With this setup it will fail, when using the map tool in Map
#1:
-
reporter The map tool seams to also consicer the extent of the WMS from Map
#2, which would be wrong. -
- changed status to resolved
closed with QGIS 3.20 (fix in QGIS API see https://github.com/qgis/QGIS/issues/43097 )
- Log in to comment
Please provide details on your QGIS & EnMAP-Box version