Skip to content
Permalink
Browse files

More drop V2 suffix fixes

  • Loading branch information
m-kuhn committed Oct 29, 2017
1 parent 271ef7c commit 750a54f8f6ff8dda8159d083357440bef339f89d
@@ -27,10 +27,10 @@

from qgis.core import (QgsFeature,
QgsGeometry,
QgsMultiPointV2,
QgsMultiPoint,
QgsMultiLineString,
QgsLineString,
QgsPolygonV2,
QgsPolygon,
QgsFeatureSink,
QgsWkbTypes,
QgsProcessingException,
@@ -32,8 +32,8 @@
from qgis.core import (QgsFeature,
QgsGeometry,
QgsGeometryCollection,
QgsPolygonV2,
QgsMultiPolygonV2,
QgsPolygon,
QgsMultiPolygon,
QgsMultiSurface,
QgsWkbTypes,
QgsFeatureSink,
@@ -46,7 +46,7 @@
QgsProcessing,
QgsFeature,
QgsVertexId,
QgsMultiPointV2)
QgsMultiPoint)

from processing.algs.qgis.QgisAlgorithm import QgisAlgorithm

@@ -85,7 +85,7 @@ class TestQgsGeometry : public QObject
void point(); //test QgsPointV2
void lineString(); //test QgsLineString
void circularString();
void polygon(); //test QgsPolygonV2
void polygon(); //test QgsPolygon
void curvePolygon();
void triangle();
void circle();
@@ -29,10 +29,10 @@
QgsLineString,
QgsMultiCurve,
QgsMultiLineString,
QgsMultiPointV2,
QgsMultiPolygonV2,
QgsMultiPoint,
QgsMultiPolygon,
QgsMultiSurface,
QgsPolygonV2,
QgsPolygon,
QgsCoordinateTransform,
QgsRectangle,
QgsWkbTypes,
@@ -1947,11 +1947,11 @@ def testTypeInformation(self):
(QgsLineString, "LineString", QgsWkbTypes.LineString),
(QgsMultiCurve, "MultiCurve", QgsWkbTypes.MultiCurve),
(QgsMultiLineString, "MultiLineString", QgsWkbTypes.MultiLineString),
(QgsMultiPointV2, "MultiPoint", QgsWkbTypes.MultiPoint),
(QgsMultiPolygonV2, "MultiPolygon", QgsWkbTypes.MultiPolygon),
(QgsMultiPoint, "MultiPoint", QgsWkbTypes.MultiPoint),
(QgsMultiPolygon, "MultiPolygon", QgsWkbTypes.MultiPolygon),
(QgsMultiSurface, "MultiSurface", QgsWkbTypes.MultiSurface),
(QgsPoint, "Point", QgsWkbTypes.Point),
(QgsPolygonV2, "Polygon", QgsWkbTypes.Polygon),
(QgsPolygon, "Polygon", QgsWkbTypes.Polygon),
]

for geomtype in types:

0 comments on commit 750a54f

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