Skip to content

Commit

Permalink
QgsPointV2 -> QgsPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfink committed Jun 14, 2017
1 parent 736e295 commit f7c43ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Change Log
==========
* __2.99.5__ (2017-06-14):
* adapted to API changes in QGIS core (issue #13)
* __2.99.4__ (2017-04-27):
* adapted to API changes in QGIS core (issue #12)
* __2.99.3__ (2017-03-16):
Expand Down
4 changes: 2 additions & 2 deletions cartogram_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from qgis.core import (
QgsGeometry,
QgsMessageLog,
QgsPointV2,
QgsPoint,
QgsVectorLayer,
QgsVertexId,
QgsWkbTypes
Expand Down Expand Up @@ -294,7 +294,7 @@ def transformFeatures(self):
abstractGeometry = features[featureId].geometry().clone()
abstractGeometry.moveVertex(
QgsVertexId(p, r, v, QgsVertexId.SegmentVertex),
QgsPointV2(x, y)
QgsPoint(x, y)
)
features[featureId].setGeometry(abstractGeometry)

Expand Down
6 changes: 4 additions & 2 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name=cartogram3
qgisMinimumVersion=2.99
qgisMaximumVersion=3.99
description=Generate anamorphic maps
version=2.99.4
version=2.99.5
author=Christoph Fink
email=morph@austromorph.space

Expand All @@ -14,7 +14,9 @@ about=This plugin creates continous cartograms (a.k.a. anamorphic maps) from pol
tracker=https://github.com/austromorph/cartogram3/issues
repository=https://github.com/austromorph/cartogram3

changelog=2.99.4 (2017-04-27):
changelog=2.99.5 (2017-06-14):
– adapted to API changes in QGIS core (issue #13)
2.99.4 (2017-04-27):
– adapted to API changes in QGIS core (issue #12)
2.99.3 (2017-03-16):
– significant performance improvements for large datasets
Expand Down

0 comments on commit f7c43ef

Please sign in to comment.