Skip to content
Permalink
Browse files

spelling fixes

  • Loading branch information
3nids committed Jan 25, 2017
1 parent a64f909 commit 958dff9d825a356d131e3037d4ecfb66886c7edc
@@ -24,19 +24,19 @@
feedback.setProgress(int(100 * n / count))
geom = feat.geometry()
if geom.isMultipart():
featres = feat
features = feat
geoms = geom.asGeometryCollection()
geomarea = [(i, geoms[i].area()) for i in range(len(geoms))]
geomarea.sort(key=itemgetter(1))
if To_keep == 1:
featres.setGeometry(geoms[geomarea[-1][0]])
features.setGeometry(geoms[geomarea[-1][0]])
elif To_keep > len(geoms):
featres.setGeometry(geom)
features.setGeometry(geom)
else:
featres.setGeometry(geom)
features.setGeometry(geom)
geomres = [geoms[i].asPolygon() for i, a in geomarea[-1 * To_keep:]]
featres.setGeometry(QgsGeometry.fromMultiPolygon(geomres))
writer.addFeature(featres)
features.setGeometry(QgsGeometry.fromMultiPolygon(geomres))
writer.addFeature(features)
else:
writer.addFeature(feat)

@@ -2899,9 +2899,11 @@ fanatism:fanaticism
Farenheit:Fahrenheit
fatc:fact
fatser:faster
fature:feature
faught:fought
favoutrable:favourable
feasable:feasible
featre:feature
featue:feature
featues:features
feauture:feature
@@ -62,7 +62,7 @@ class TestQgsGrassFeature : public QgsFeature
};

// Command which can be composed of more GRASS features, e.g. boundaries + centroid equivalent
// of simple fature polygon
// of simple feature polygon
class TestQgsGrassCommand
{
public:

0 comments on commit 958dff9

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