New answers tagged

1

There are lots of different types of Grids in QGIS, so I want to make sure we're talking about the same thing. This is the type of grid I think you're talking about: A Map Grid on a Map Item in the Print layout No, the map grid in print layout doesn't accept expressions. Since the feature you want doesn't exist, here's a workaround that might help you. ...


0

Hope this helps: prj = QgsProject.instance() dest_crs= QgsCoordinateReferenceSystem("EPSG:4326")#WGS84 src_crs= prj.crs() transformation = QgsCoordinateTransform(src_crs, dest_crs, prj) yourPoint = QgsPoint(QgsPoint(994369,515288))#example coords yourPoint.transform(transformation) print(yourPoint.x(), "/", yourPoint.y()) will return 21.3538857925002 / 48....


Top 50 recent answers are included