Skip to content
Permalink
Browse files

add ext module for r.tileset

  • Loading branch information
alexbruy committed May 24, 2020
1 parent 779bd52 commit 683f69c6cf2d8d70821f03dc06aaf21a07e1caa9
Showing with 28 additions and 0 deletions.
  1. +28 −0 python/plugins/processing/algs/grass7/ext/r_tileset.py
@@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-

"""
***************************************************************************
r_proj.py
---------
Date : October 2017
Copyright : (C) 2017 by Médéric Ribreux
Email : medspx at medspx dot fr
***************************************************************************
* *
* 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. *
* *
***************************************************************************
"""

__author__ = 'Médéric Ribreux'
__date__ = 'October 2017'
__copyright__ = '(C) 2017, Médéric Ribreux'


def processOutputs(alg, parameters, context, feedback):
crs = alg.parameterAsCrs(parameters, 'sourceproj', context)

alg.commands.insert(0, 'g.proj -c proj4="{}"'.format(crs.toProj()))

0 comments on commit 683f69c

Please sign in to comment.
You can’t perform that action at this time.