2
/***************************************************************************
4
* This program is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License as published by *
6
* the Free Software Foundation; either version 2 of the License, or *
7
* (at your option) any later version. *
9
***************************************************************************/
11
This is the main module of OpenStreetMap plugin for Quantum GIS.
12
It initializes the plugin, making it known to QGIS.
14
OSM Plugin is viewer and editor for OpenStreetMap data.
19
"""Function returns name of this plugin.
21
@return name of this plugin ~ OpenStreetMap plugin
24
return "OpenStreetMap plugin"
28
"""Function returns brief description of this plugin.
30
@return brief description of this plugin.
33
return "Viewer and editor for OpenStreetMap data"
37
"""Function returns version of this plugin.
39
@return version of this plugin
41
from OsmPlugin import versionNumber
42
return "Version "+versionNumber()
45
def qgisMinimumVersion():
46
"""Function returns information on what minimum version
47
of Quantum GIS this plugin works with.
49
@return minimum supported version of QGIS
55
def classFactory(iface):
56
"""Function returns OSM Plugin instance.
58
@return instance of OSM Plugin
61
from OsmPlugin import OsmPlugin
62
# return object of our plugin with reference to QGIS interface as the only argument
63
return OsmPlugin(iface)