Skip to content

Commit

Permalink
[sextante] algorithm fixes and minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jul 11, 2013
1 parent 646db83 commit 7ee80c7
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 14 deletions.
1 change: 0 additions & 1 deletion python/plugins/sextante/algs/ftools/Intersection.py
Expand Up @@ -69,7 +69,6 @@ def processAlgorithm(self, progress):
inFeatB = vlayerB.getFeatures(request).next()
tmpGeom = QgsGeometry(inFeatB.geometry())
if geom.intersects( tmpGeom ):
print "hola"
atMapB = inFeatB.attributes()
int_geom = QgsGeometry( geom.intersection( tmpGeom ) )
if int_geom.wkbType() == 7:
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/sextante/gdal/scripts/proximity.py
Expand Up @@ -32,7 +32,7 @@
##values=string
##maxdist=number 0
##nodata=number 0
##distunits=selection PIXEL;GEO
##distunits=selection GEO,PIXEL
##fixed_buf_val=number 0
from sextante.gdal.GdalUtils import GdalUtils
try:
Expand Down
Expand Up @@ -3,6 +3,6 @@ v.clean.advanced - Toolset for cleaning topology of vector map (Advanced).
Vector (v.*)
ParameterVector|input|Layer to clean|-1|False
ParameterString|tool|Cleaning tools (comma separated)|break
ParameterNumber|thresh|Threshold|None|None|0.0
ParameterNumber|thresh|Threshold|None|None|0..1
OutputVector|output|Cleaned vector layer
OutputVector|error|Errors layer
2 changes: 1 addition & 1 deletion python/plugins/sextante/grass/description/v.clean.txt
Expand Up @@ -3,6 +3,6 @@ v.clean - Toolset for cleaning topology of vector map.
Vector (v.*)
ParameterVector|input|Layer to clean|-1|False
ParameterSelection|tool|Cleaning tool|break;snap;rmdangle;chdangle;rmbridge;chbridge;rmdupl;rmdac;bpol;prune;rmarea;rmline;rmsa
ParameterNumber|thresh|Threshold|None|None|0.0
ParameterNumber|thresh|Threshold|None|None|0.1
OutputVector|output|Cleaned vector layer
OutputVector|error|Errors layer
7 changes: 6 additions & 1 deletion python/plugins/sextante/gui/help/algclasssification.txt
Expand Up @@ -308,7 +308,12 @@ saga:polartocartesiancoordinates,USE_ORIGINAL_NAME,Domain specific/Cost analysis
saga:polygon-lineintersection,USE_ORIGINAL_NAME,Vector/Geometry operations
saga:polygoncentroids,USE_ORIGINAL_NAME,Vector/Polygons
saga:polygondissolve,USE_ORIGINAL_NAME,Vector/Polygons
saga:polygonintersection,USE_ORIGINAL_NAME,Vector/Polygons
saga:intersect,Polygon intersection,Vector/Polygons
saga:difference,Polygon difference,Vector/Polygons
saga:update,Polygon update,Vector/Polygons
saga:identity,Polygon identity,Vector/Polygons
saga:union,Polygon union,Vector/Polygons
saga:symmetricaldifference,Polygon symmetrical difference,Vector/Polygons
saga:polygonpartstoseparatepolygons,USE_ORIGINAL_NAME,Vector/Polygons
saga:polygonproperties,USE_ORIGINAL_NAME,Vector/Polygons
saga:polygonshapeindices,USE_ORIGINAL_NAME,Vector/Polygons
Expand Down
@@ -0,0 +1,6 @@
Difference
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection
6 changes: 6 additions & 0 deletions python/plugins/sextante/saga/description/PolygonIdentity.txt
@@ -0,0 +1,6 @@
Identity
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection
6 changes: 6 additions & 0 deletions python/plugins/sextante/saga/description/PolygonIntersect.txt
@@ -0,0 +1,6 @@
Intersect
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection

This file was deleted.

@@ -0,0 +1,6 @@
Symmetrical Difference
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection
6 changes: 6 additions & 0 deletions python/plugins/sextante/saga/description/PolygonUnion.txt
@@ -0,0 +1,6 @@
Union
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection
6 changes: 6 additions & 0 deletions python/plugins/sextante/saga/description/PolygonUpdate.txt
@@ -0,0 +1,6 @@
Update
shapes_polygons
ParameterVector|A|Layer A|2|False
ParameterVector|B|Layer B|2|False
ParameterBoolean|SPLIT|Split Parts|True
OutputVector|RESULT|Intersection

0 comments on commit 7ee80c7

Please sign in to comment.