Browse Source

gui.isochrones: clean up imports

feature/processing_qgs2
noerw 1 year ago
parent
commit
612c3cf6be
1 changed files with 4 additions and 12 deletions
  1. 4
    12
      gui/isochrones.py

+ 4
- 12
gui/isochrones.py View File

@@ -1,10 +1,9 @@
1 1
 #!/usr/bin/env python3
2 2
 # -*- coding: utf-8 -*-
3 3
 """
4
-Contains isochrones class to perform requests to ORS isochrone API.
4
+GUI logic for the Isochrones tab, after clicking ok in the dialog
5 5
 """
6 6
 
7
-
8 7
 from PyQt4.QtCore import QVariant
9 8
 from PyQt4.QtGui import QColor
10 9
 
@@ -13,16 +12,9 @@ from qgis.core import (QgsPoint,
13 12
                        QgsFeature,
14 13
                        QgsField,
15 14
                        QgsGeometry,
16
-                       QgsMapLayerRegistry,
17
-                       QgsSymbolV2,
18
-                       QgsSimpleFillSymbolLayerV2,
19
-                       QgsRendererCategoryV2,
20
-                       QgsCategorizedSymbolRendererV2)
21
-
22
-from OSMtools.core import (geocode,
23
-                           convert,
24
-                           auxiliary
25
-                          )
15
+                       QgsMapLayerRegistry)
16
+
17
+from OSMtools.core import geocode, auxiliary
26 18
 
27 19
 from OSMtools.core import isochrones
28 20
 

Loading…
Cancel
Save