Browse Source

allow QuickOSM in QGIS Server WPS

tags/1.4.5
Etienne Trimaille 3 years ago
parent
commit
0f3e2c0628
2 changed files with 8 additions and 0 deletions
  1. 6
    0
      __init__.py
  2. 2
    0
      metadata.txt

+ 6
- 0
__init__.py View File

@@ -26,3 +26,9 @@ This script initializes the plugin, making it known to QGIS.
26 26
 def classFactory(iface):
27 27
     from quick_osm import QuickOSM
28 28
     return QuickOSM(iface)
29
+
30
+
31
+# noinspection PyDocstring,PyPep8Naming
32
+def serverClassFactory(serverIface):
33
+    from quick_osm_processing.algorithm_provider import (
34
+        QuickOSMAlgorithmProvider)

+ 2
- 0
metadata.txt View File

@@ -7,6 +7,8 @@ version=1.4.4
7 7
 newQueries=False
8 8
 author=Etienne Trimaille
9 9
 email=etienne@trimaille.eu
10
+# For QGIS WPS
11
+server=True
10 12
 
11 13
 # End of mandatory metadata
12 14
 

Loading…
Cancel
Save