-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
53 lines (39 loc) · 1.67 KB
/
Copy path__init__.py
File metadata and controls
53 lines (39 loc) · 1.67 KB
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
50
51
52
53
# -*- coding: utf-8 -*-
"""
/***************************************************************************
ParallelOffset
A QGIS plugin
Creates a parallell line at a given distance
-------------------
begin : 2013-07-23
copyright : (C) 2013 by City and County of Swansea
email : steven.gardiner@swansea.gov.uk
***************************************************************************/
/***************************************************************************
* *
* 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.
"""
def name():
return "Line Offset"
def description():
return "Creates a parallell line at a given distance"
def version():
return "Version 0.1"
def icon():
return "icon.png"
def qgisMinimumVersion():
return "1.8"
def author():
return "City and County of Swansea"
def email():
return "steven.gardiner@swansea.gov.uk"
def classFactory(iface):
# load ParallelOffset class from file ParallelOffset
from paralleloffset import ParallelOffset
return ParallelOffset(iface)