|
26 | 26 | __revision__ = '$Format:%H$'
|
27 | 27 |
|
28 | 28 | groups = {'grid_analysis': 'Raster analysis',
|
29 |
| - 'grid_calculus': 'Raster calculus', |
30 |
| - 'grid_calculus_bsl': 'Raster calculus', |
31 |
| - 'grid_discretisation': 'Raster analysis', |
32 |
| - 'grid_filter': 'Raster filter', |
33 |
| - 'grid_gridding': 'Raster creation tools', |
34 |
| - 'grid_spline': 'Raster creation tools', |
35 |
| - 'grid_tools': 'Raster tools', |
36 |
| - 'grid_visualisation': 'Raster visualization', |
37 |
| - 'imagery_classification': 'Image analysis', |
38 |
| - 'imagery_rga': 'Image analysis', |
39 |
| - 'imagery_segmentation': 'Image analysis', |
40 |
| - 'imagery_tools': 'Image analysis', |
41 |
| - 'io_esri_e00': 'I/O', |
42 |
| - 'io_gdal': 'I/O', |
43 |
| - 'io_gps': 'I/O', |
44 |
| - 'io_grid': 'I/O', |
45 |
| - 'io_grid_grib2': 'I/O', |
46 |
| - 'io_grid_image': 'I/O', |
47 |
| - 'io_odbc': 'I/O', |
48 |
| - 'io_shapes': 'I/O', |
49 |
| - 'io_shapes_dxf': 'I/O', |
50 |
| - 'io_shapes_las': 'I/O', |
51 |
| - 'io_table': 'I/O', |
52 |
| - 'pj_georeference': 'Georeferencing', |
53 |
| - 'pj_geotrans': 'Projections and Transformations', |
54 |
| - 'pj_proj4': 'Projections and Transformations', |
55 |
| - 'pointcloud_tools': 'Point clouds', |
56 |
| - 'shapes_grid': 'Vector to raster', |
57 |
| - 'shapes_lines': 'Vector line tools', |
58 |
| - 'shapes_points': 'Vector point tools', |
59 |
| - 'shapes_polygons': 'Vector polygon tools', |
60 |
| - 'shapes_tools': 'Vector general tools', |
61 |
| - 'shapes_transect': 'Vector general tools', |
62 |
| - 'sim_cellular_automata': 'Simulation', |
63 |
| - 'sim_ecosystems_hugget': 'Simulation', |
64 |
| - 'sim_fire_spreading': 'Simulation', |
65 |
| - 'sim_hydrology': 'Simulation', |
66 |
| - 'statistics_grid': 'Geostatistics', |
67 |
| - 'statistics_kriging': 'Raster creation tools', |
68 |
| - 'statistics_points': 'Geostatistics', |
69 |
| - 'statistics_regression': 'Geostatistics', |
70 |
| - 'ta_channels': 'Terrain Analysis - Channels', |
71 |
| - 'ta_compound': 'Terrain Analysis - Morphometry', |
72 |
| - 'ta_hydrology': 'Terrain Analysis - Hydrology', |
73 |
| - 'ta_lighting': 'Terrain Analysis - Lighting', |
74 |
| - 'ta_morphometry': 'Terrain Analysis - Morphometry', |
75 |
| - 'ta_preprocessor': 'Terrain Analysis - Hydrology', |
76 |
| - 'ta_profiles': 'Terrain Analysis - Profiles', |
77 |
| - 'table_calculus': 'Table tools', |
78 |
| - 'table_tools': 'Table tools', |
79 |
| - 'tin_tools': 'TIN'} |
| 29 | + 'grid_calculus': 'Raster calculus', |
| 30 | + 'grid_calculus_bsl': 'Raster calculus', |
| 31 | + 'grid_discretisation': 'Raster analysis', |
| 32 | + 'grid_filter': 'Raster filter', |
| 33 | + 'grid_gridding': 'Raster creation tools', |
| 34 | + 'grid_spline': 'Raster creation tools', |
| 35 | + 'grid_tools': 'Raster tools', |
| 36 | + 'grid_visualisation': 'Raster visualization', |
| 37 | + 'imagery_classification': 'Image analysis', |
| 38 | + 'imagery_rga': 'Image analysis', |
| 39 | + 'imagery_segmentation': 'Image analysis', |
| 40 | + 'imagery_tools': 'Image analysis', |
| 41 | + 'io_esri_e00': 'I/O', |
| 42 | + 'io_gdal': 'I/O', |
| 43 | + 'io_gps': 'I/O', |
| 44 | + 'io_grid': 'I/O', |
| 45 | + 'io_grid_grib2': 'I/O', |
| 46 | + 'io_grid_image': 'I/O', |
| 47 | + 'io_odbc': 'I/O', |
| 48 | + 'io_shapes': 'I/O', |
| 49 | + 'io_shapes_dxf': 'I/O', |
| 50 | + 'io_shapes_las': 'I/O', |
| 51 | + 'io_table': 'I/O', |
| 52 | + 'pj_georeference': 'Georeferencing', |
| 53 | + 'pj_geotrans': 'Projections and Transformations', |
| 54 | + 'pj_proj4': 'Projections and Transformations', |
| 55 | + 'pointcloud_tools': 'Point clouds', |
| 56 | + 'shapes_grid': 'Vector to raster', |
| 57 | + 'shapes_lines': 'Vector line tools', |
| 58 | + 'shapes_points': 'Vector point tools', |
| 59 | + 'shapes_polygons': 'Vector polygon tools', |
| 60 | + 'shapes_tools': 'Vector general tools', |
| 61 | + 'shapes_transect': 'Vector general tools', |
| 62 | + 'sim_cellular_automata': 'Simulation', |
| 63 | + 'sim_ecosystems_hugget': 'Simulation', |
| 64 | + 'sim_fire_spreading': 'Simulation', |
| 65 | + 'sim_hydrology': 'Simulation', |
| 66 | + 'statistics_grid': 'Geostatistics', |
| 67 | + 'statistics_kriging': 'Raster creation tools', |
| 68 | + 'statistics_points': 'Geostatistics', |
| 69 | + 'statistics_regression': 'Geostatistics', |
| 70 | + 'ta_channels': 'Terrain Analysis - Channels', |
| 71 | + 'ta_compound': 'Terrain Analysis - Morphometry', |
| 72 | + 'ta_hydrology': 'Terrain Analysis - Hydrology', |
| 73 | + 'ta_lighting': 'Terrain Analysis - Lighting', |
| 74 | + 'ta_morphometry': 'Terrain Analysis - Morphometry', |
| 75 | + 'ta_preprocessor': 'Terrain Analysis - Hydrology', |
| 76 | + 'ta_profiles': 'Terrain Analysis - Profiles', |
| 77 | + 'table_calculus': 'Table tools', |
| 78 | + 'table_tools': 'Table tools', |
| 79 | + 'tin_tools': 'TIN'} |
80 | 80 |
|
81 | 81 |
|
82 | 82 | def decoratedGroupName(name):
|
83 | 83 | return groups.get(name, name)
|
84 | 84 |
|
85 | 85 | algorithms = {'Add Grid Values to Points': 'Add raster values to points',
|
86 |
| - 'Add Grid Values to Shapes': 'Add raster values to features', |
87 |
| - 'Change Grid Values': 'Reclassify values (simple)', |
88 |
| - 'Clip Grid with Polygon': 'Clip raster with polygon', |
89 |
| - 'Cluster Analysis for Grids': 'Cluster Analysis', |
90 |
| - 'Contour Lines from Grid': 'Contour Lines', |
91 |
| - 'Cubic Spline Approximation': 'Interpolate (Cubic spline)', |
92 |
| - 'Cut Shapes Layer': 'Cut vector Layer', |
93 |
| - 'Directional Statistics for Single Grid': 'Directional Statistics for raster layer', |
94 |
| - 'Filter Clumps': 'Remove small pixel clumps (to no-data)', |
95 |
| - 'Fire Risk Analysis': 'Fire Risk Analysis', |
96 |
| - 'Fit N Points to shape': 'Fit n points in polygon', |
97 |
| - 'Flat Detection': 'Flat Detection', |
98 |
| - 'Flow Accumulation (Flow Tracing)': 'Catchment area (Flow Tracing)', |
99 |
| - 'Flow Accumulation (Recursive)': 'Catchment area (Recursive)', |
100 |
| - 'Flow Accumulation (Top-Down)': 'Catchment area', |
101 |
| - 'GWR for Multiple Predictor Grids': 'GWR for Multiple Predictor layers', |
102 |
| - 'GWR for Single Predictor Grid': 'GWR for Single Predictor layer', |
103 |
| - 'Geographically Weighted Multiple Regression (Points/Grids)': 'Geographically Weighted Multiple Regression (Points/Raster)', |
104 |
| - 'Geographically Weighted Regression (Points/Grid)': 'Geographically Weighted Regression (Points/Raster)', |
105 |
| - 'Geometric Figures': 'Geometric Figures', |
106 |
| - 'Get Shapes Extents': 'Feature extents', |
107 |
| - "Global Moran's I for Grids": "Global Moran's I for raster layer", |
108 |
| - 'Grid Buffer': 'Raster Buffer', |
109 |
| - 'Grid Cell Index': 'Raster Cell Index', |
110 |
| - 'Grid Difference': 'Raster Difference', |
111 |
| - 'Grid Division': 'Raster Division', |
112 |
| - 'Grid Masking': 'Raster Masking', |
113 |
| - 'Grid Normalisation': 'Raster Normalisation', |
114 |
| - 'Grid Orientation': 'Raster Orientation', |
115 |
| - 'Grid Proximity Buffer': 'Raster Proximity Buffer', |
116 |
| - 'Grid Skeletonization': 'Raster Skeletonization', |
117 |
| - 'Grid Standardisation': 'Raster Standardisation', |
118 |
| - 'Grid Statistics for Polygons': 'Raster Statistics for Polygons', |
119 |
| - 'Grid Values to Points': 'Raster Values to Points', |
120 |
| - 'Grid Values to Points (randomly)': 'Raster Values to Points (randomly)', |
121 |
| - 'Grid Volume': 'Raster Volume', |
122 |
| - 'Grids Product': 'Raster Product', |
123 |
| - 'Grids Sum': 'Rasters Sum', |
124 |
| - 'Inverse Distance Weighted': 'Inverse Distance Weighted Interpolation', |
125 |
| - 'Identity': 'Polygon identity', |
126 |
| - 'Merge Layers': 'Merge vector layers', |
127 |
| - 'Modified Quadratic Shepard': 'Modified Quadratic Shepard interpolation', |
128 |
| - 'Mosaick raster layers': 'Mosaic raster layers', |
129 |
| - 'Multilevel B-Spline Interpolation': 'Multilevel B-Spline Interpolation', |
130 |
| - 'Multilevel B-Spline Interpolation (from Grid)': 'Multilevel B-Spline Interpolation (from Raster)', |
131 |
| - 'Multiple Regression Analysis (Grid/Grids)': 'Multiple Regression Analysis (Raster/Raster)', |
132 |
| - 'Multiple Regression Analysis (Points/Grids)': 'Multiple Regression Analysis (Points/Raster)', |
133 |
| - 'Proximity Grid': 'Proximity Raster', |
134 |
| - 'QuadTree Structure to Shapes': 'QuadTree Structure to polygons', |
135 |
| - 'Radius of Variance (Grid)': 'Radius of Variance (Raster)', |
136 |
| - 'Reclassify Grid Values': 'Reclassify values', |
137 |
| - 'Shapes Buffer (Attribute distance)': 'Variable distance buffer', |
138 |
| - 'Shapes Buffer (Fixed distance)': 'fixed distance buffer', |
139 |
| - 'Shapes to Grid': 'Rasterize', |
140 |
| - 'Statistics for Grids': 'Statistics for Rasters', |
141 |
| - 'Terrain Ruggedness Index (TRI)': 'Terrain Ruggedness Index (TRI)', |
142 |
| - 'Thin Plate Spline (Global)': 'Thin Plate Spline (Global)', |
143 |
| - 'Thin Plate Spline (Local)': 'Thin Plate Spline (Local)', |
144 |
| - 'Thin Plate Spline (TIN)': 'Thin Plate Spline (TIN)', |
145 |
| - 'Threshold Buffer': 'Threshold raster buffer', |
146 |
| - 'Transform Shapes': 'Transform vector layer', |
147 |
| - 'Transpose Grids': 'Transpose Raster layers', |
148 |
| - 'Union': 'Polygon uUnion', |
149 |
| - 'Update': 'Polygon update', |
150 |
| - 'Upslope Area': 'Upslope Area', |
151 |
| - 'Zonal Grid Statistics': 'Zonal raster statistics'} |
| 86 | + 'Add Grid Values to Shapes': 'Add raster values to features', |
| 87 | + 'Change Grid Values': 'Reclassify values (simple)', |
| 88 | + 'Clip Grid with Polygon': 'Clip raster with polygon', |
| 89 | + 'Cluster Analysis for Grids': 'Cluster Analysis', |
| 90 | + 'Contour Lines from Grid': 'Contour Lines', |
| 91 | + 'Cubic Spline Approximation': 'Interpolate (Cubic spline)', |
| 92 | + 'Cut Shapes Layer': 'Cut vector Layer', |
| 93 | + 'Directional Statistics for Single Grid': 'Directional Statistics for raster layer', |
| 94 | + 'Filter Clumps': 'Remove small pixel clumps (to no-data)', |
| 95 | + 'Fire Risk Analysis': 'Fire Risk Analysis', |
| 96 | + 'Fit N Points to shape': 'Fit n points in polygon', |
| 97 | + 'Flat Detection': 'Flat Detection', |
| 98 | + 'Flow Accumulation (Flow Tracing)': 'Catchment area (Flow Tracing)', |
| 99 | + 'Flow Accumulation (Recursive)': 'Catchment area (Recursive)', |
| 100 | + 'Flow Accumulation (Top-Down)': 'Catchment area', |
| 101 | + 'GWR for Multiple Predictor Grids': 'GWR for Multiple Predictor layers', |
| 102 | + 'GWR for Single Predictor Grid': 'GWR for Single Predictor layer', |
| 103 | + 'Geographically Weighted Multiple Regression (Points/Grids)': 'Geographically Weighted Multiple Regression (Points/Raster)', |
| 104 | + 'Geographically Weighted Regression (Points/Grid)': 'Geographically Weighted Regression (Points/Raster)', |
| 105 | + 'Geometric Figures': 'Geometric Figures', |
| 106 | + 'Get Shapes Extents': 'Feature extents', |
| 107 | + "Global Moran's I for Grids": "Global Moran's I for raster layer", |
| 108 | + 'Grid Buffer': 'Raster Buffer', |
| 109 | + 'Grid Cell Index': 'Raster Cell Index', |
| 110 | + 'Grid Difference': 'Raster Difference', |
| 111 | + 'Grid Division': 'Raster Division', |
| 112 | + 'Grid Masking': 'Raster Masking', |
| 113 | + 'Grid Normalisation': 'Raster Normalisation', |
| 114 | + 'Grid Orientation': 'Raster Orientation', |
| 115 | + 'Grid Proximity Buffer': 'Raster Proximity Buffer', |
| 116 | + 'Grid Skeletonization': 'Raster Skeletonization', |
| 117 | + 'Grid Standardisation': 'Raster Standardisation', |
| 118 | + 'Grid Statistics for Polygons': 'Raster Statistics for Polygons', |
| 119 | + 'Grid Values to Points': 'Raster Values to Points', |
| 120 | + 'Grid Values to Points (randomly)': 'Raster Values to Points (randomly)', |
| 121 | + 'Grid Volume': 'Raster Volume', |
| 122 | + 'Grids Product': 'Raster Product', |
| 123 | + 'Grids Sum': 'Rasters Sum', |
| 124 | + 'Inverse Distance Weighted': 'Inverse Distance Weighted Interpolation', |
| 125 | + 'Identity': 'Polygon identity', |
| 126 | + 'Merge Layers': 'Merge vector layers', |
| 127 | + 'Modified Quadratic Shepard': 'Modified Quadratic Shepard interpolation', |
| 128 | + 'Mosaick raster layers': 'Mosaic raster layers', |
| 129 | + 'Multilevel B-Spline Interpolation': 'Multilevel B-Spline Interpolation', |
| 130 | + 'Multilevel B-Spline Interpolation (from Grid)': 'Multilevel B-Spline Interpolation (from Raster)', |
| 131 | + 'Multiple Regression Analysis (Grid/Grids)': 'Multiple Regression Analysis (Raster/Raster)', |
| 132 | + 'Multiple Regression Analysis (Points/Grids)': 'Multiple Regression Analysis (Points/Raster)', |
| 133 | + 'Proximity Grid': 'Proximity Raster', |
| 134 | + 'QuadTree Structure to Shapes': 'QuadTree Structure to polygons', |
| 135 | + 'Radius of Variance (Grid)': 'Radius of Variance (Raster)', |
| 136 | + 'Reclassify Grid Values': 'Reclassify values', |
| 137 | + 'Shapes Buffer (Attribute distance)': 'Variable distance buffer', |
| 138 | + 'Shapes Buffer (Fixed distance)': 'fixed distance buffer', |
| 139 | + 'Shapes to Grid': 'Rasterize', |
| 140 | + 'Statistics for Grids': 'Statistics for Rasters', |
| 141 | + 'Terrain Ruggedness Index (TRI)': 'Terrain Ruggedness Index (TRI)', |
| 142 | + 'Thin Plate Spline (Global)': 'Thin Plate Spline (Global)', |
| 143 | + 'Thin Plate Spline (Local)': 'Thin Plate Spline (Local)', |
| 144 | + 'Thin Plate Spline (TIN)': 'Thin Plate Spline (TIN)', |
| 145 | + 'Threshold Buffer': 'Threshold raster buffer', |
| 146 | + 'Transform Shapes': 'Transform vector layer', |
| 147 | + 'Transpose Grids': 'Transpose Raster layers', |
| 148 | + 'Union': 'Polygon uUnion', |
| 149 | + 'Update': 'Polygon update', |
| 150 | + 'Upslope Area': 'Upslope Area', |
| 151 | + 'Zonal Grid Statistics': 'Zonal raster statistics'} |
| 152 | + |
152 | 153 |
|
153 | 154 | def decoratedAlgorithmName(name):
|
154 | 155 | decorated = algorithms.get(name, name)
|
|
0 commit comments