Skip to content

Instantly share code, notes, and snippets.

@NathanW2
Last active December 17, 2015 14:29
Show Gist options
  • Save NathanW2/5624610 to your computer and use it in GitHub Desktop.
Save NathanW2/5624610 to your computer and use it in GitHub Desktop.
layer = iface.activeLayer()
feature = layer.selectedFeatures()[0]
feature.geometry().boundingBox().toString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment