Skip to content

Commit

Permalink
Merge pull request #921 from gioman/master
Browse files Browse the repository at this point in the history
add the -r parameter to r.external (used now to create grass inputs for ...
  • Loading branch information
volaya committed Oct 6, 2013
2 parents 4072e39 + 442b236 commit 1e41b81
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 8 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/grass/GrassAlgorithm.py
Expand Up @@ -381,7 +381,7 @@ def processAlgorithm(self, progress):

if isinstance(out, OutputVector):
filename = out.value
command = 'v.out.ogr -c -e input=' + out.name + uniqueSufix
command = 'v.out.ogr -c -e -z input=' + out.name + uniqueSufix
command += ' dsn="' + os.path.dirname(out.value) + '"'
command += ' format=ESRI_Shapefile'
command += ' olayer=' + os.path.basename(out.value)[:-4]
Expand Down Expand Up @@ -483,7 +483,7 @@ def exportRasterLayer(self, layer):
command += ' input="' + layer + '"'
command += ' band=1'
command += ' output=' + destFilename
command += ' --overwrite -o'
command += ' --overwrite -o -r'
return command

def getTempFilename(self):
Expand Down
@@ -0,0 +1,12 @@
v.surf.bspline
v.surf.bspline.lambda - Bicubic or bilinear spline interpolation with Tykhonov regularization.
Vector (v.*)
ParameterVector|input|Input points layer|-1|False
ParameterNumber|sie|Length of each spline step in the east-west direction|None|None|4
ParameterNumber|sin|Length of each spline step in the north-south direction|None|None|4
ParameterSelection|method|Spline interpolation algorithm|bilinear;bicubic
ParameterTableField|column|Attribute table column with values to interpolate|input|-1|False
ParameterBoolean|-c|Find the best Tykhonov regularizing parameter using a "leave-one-out" cross validation method|True
ParameterBoolean|-e|Estimate point density and distance|False
ParameterSelection|layer|layer|1;0
OutputHTML|html|Lambda or Point Density and Distance
@@ -0,0 +1,12 @@
v.surf.bspline
v.surf.bspline.sparse - Bicubic or bilinear spline interpolation with Tykhonov regularization.
Vector (v.*)
ParameterVector|input|Input points layer|-1|False
ParameterVector|sparse|Input layer of sparse points|-1|False
ParameterNumber|sie|Length of each spline step in the east-west direction|None|None|4
ParameterNumber|sin|Length of each spline step in the north-south direction|None|None|4
ParameterSelection|method|Spline interpolation algorithm|bilinear;bicubic
ParameterNumber|lambda_i|Tykhonov regularization parameter (affects smoothing)|None|None|0.01
ParameterTableField|column|Attribute table column with values to interpolate|input|-1|False
ParameterSelection|layer|layer|1;0
OutputRaster|raster|Output raster layer
Expand Up @@ -2,13 +2,10 @@ v.surf.bspline
v.surf.bspline - Bicubic or bilinear spline interpolation with Tykhonov regularization.
Vector (v.*)
ParameterVector|input|Input points layer|-1|False
ParameterVector|sparse|Input layer of sparse points|-1|False
ParameterNumber|sie|Length of each spline step in the east-west direction|None|None|4
ParameterNumber|sin|Length of each spline step in the north-south direction|None|None|4
ParameterSelection|method|Spline interpolation algorithm|bilinear;bicubic
ParameterNumber|lambda_i|Tykhonov regularization parameter (affects smoothing)|None|None|1
ParameterNumber|lambda_i|Tykhonov regularization parameter (affects smoothing)|None|None|0.01
ParameterTableField|column|Attribute table column with values to interpolate|input|-1|False
ParameterBoolean|-c|Find the best Tykhonov regularizing parameter using a "leave-one-out" cross validation method|False
ParameterBoolean|-e|Estimate point density and distance|False
OutputVector|output|Output vector layer
OutputRaster|raster|Output raster layer
ParameterSelection|layer|layer|1;0
OutputRaster|raster|Output raster layer

0 comments on commit 1e41b81

Please sign in to comment.