forked from 3liz/QgisCadastrePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
38 lines (34 loc) · 1.76 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
# -*- coding: utf-8 -*-
"""
/***************************************************************************
Cadastre
A QGIS plugin
This plugins helps users to import the french land registry ('cadastre') into a database. It is meant to ease the use of the data in QGIs by providing search tools and appropriate layer symbology.
-------------------
begin : 2013-06-11
copyright : (C) 2013 by 3liz
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* 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.
"""
from __future__ import absolute_import
def classFactory(iface):
# load Cadastre class from file Cadastre
from .cadastre_menu import cadastre_menu
return cadastre_menu(iface)
def serverClassFactory(serverIface): # pylint: disable=invalid-name
"""Load cadastreServer class from file cadastre.
:param iface: A QGIS Server interface instance.
:type iface: QgsServerInterface
"""
#
from .cadastre_server import cadastreServer
return cadastreServer(serverIface)