[Qgis-developer] Getting center of layer in lat/long

Gary Sherman gsherman at geoapt.com
Thu Sep 11 14:29:15 PDT 2014


On 9/11/14 1:09 PM, Mark Coletti wrote:

> However, this may be a valid concern if this does become a snippet on
> the web site.  So, I'll ask again: how do I get this code added as a
> snippet to the web site since it's likely a common use case for plugin
> development?
>
Hi Mark,

The snippets are contained in the documentation set:
https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/pyqgis_developer_cookbook/snippets.rst

If you update snippets.rst it will get pushed to the website.

-gary

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman

Founder, QGIS Project
Consulting: geoapt.com
Publishing: locatepress.com

We work virtually anywhere
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


More information about the Qgis-developer mailing list