mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
spelling fixes
This commit is contained in:
parent
a64f909474
commit
958dff9d82
@ -24,19 +24,19 @@ for n, feat in enumerate(processing.features(polyLayer)):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user