Skip to content

Instantly share code, notes, and snippets.

@SzieberthAdam
Last active January 19, 2016 10:45
Show Gist options
  • Save SzieberthAdam/fd58f731234117ddac3c to your computer and use it in GitHub Desktop.
Save SzieberthAdam/fd58f731234117ddac3c to your computer and use it in GitHub Desktop.
PyQGIS: CRS (Coordinate Reference System / Projection)
# project
project_crs = qgis.utils.iface.mapCanvas().mapRenderer().destinationCrs()
qgis.utils.iface.mapCanvas().mapRenderer().setDestinationCrs(new_project_crs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment