TransWikia.com

QGIS 2.18 Scale not being set up correctly

Geographic Information Systems Asked by Thomas Camlong on June 9, 2021

I’m working on adding scale based visibility on different layer. I’m currently using :


canvas.setDestinationCrs(crs)    
crs.createFromUserInput(name)    
crs = QgsCoordinateReferenceSystem()

to set the CRS of my project. However, when launching it with QGIS 2.18, it won’t load until I go to the project’s settings and click OK in the CRS panel. This problem does not apply to QGIS 3

Below is a GIF showing how to solve it using the GUI:

enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP