Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Move the new XYZ algorithms under the raster tools group
  • Loading branch information
nirvn committed May 21, 2019
1 parent 284f5d5 commit 20ed28d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions python/plugins/processing/algs/qgis/TilesXYZ.py
Expand Up @@ -368,6 +368,12 @@ def name(self):
def displayName(self):
return self.tr('Generate XYZ tiles (MBTiles)')

def group(self):
return self.tr('Raster tools')

def groupId(self):
return 'rastertools'

def processAlgorithm(self, parameters, context, feedback):
output_file = self.parameterAsString(parameters, self.OUTPUT_FILE, context)
if not output_file:
Expand Down Expand Up @@ -472,6 +478,12 @@ def name(self):
def displayName(self):
return self.tr('Generate XYZ tiles (Directory)')

def group(self):
return self.tr('Raster tools')

def groupId(self):
return 'rastertools'

def processAlgorithm(self, parameters, context, feedback):
is_tms = self.parameterAsBoolean(parameters, self.TMS_CONVENTION, context)
output_html = self.parameterAsString(parameters, self.OUTPUT_HTML, context)
Expand Down

1 comment on commit 20ed28d

@PeterPetrik
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

group(self) should be in TilesXYZAlgorithmBase not in the childer

Please sign in to comment.