-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
49 lines (35 loc) · 1.74 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"""
/***************************************************************************
Value Tool - A QGIS plugin to get values at the mouse pointer
-------------------
begin : 2008-08-26
copyright : (C) 2008-2010 by G. Picard
email :
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
This script initializes the plugin, making it known to QGIS.
"""
# load valuetool class from file valuetool.py
def name():
return 'Value Tool'
def description():
return 'Display in a table or plot the values from the visible raster layers at the current mouse position'
def version():
return 'Version 0.4.5'
def qgisMinimumVersion():
return '1.0'
def category():
return 'Raster'
def authorName():
return 'Ghislain Picard'
def classFactory(iface):
from valuetool import ValueTool
return ValueTool(iface)
# Display the values of the raster layers at the current mouse position. Values are printed in a table or plotted on a graph. The plugin is dockable like overview or coordinate capture, go to View/Panels to activate it.