Commit 4efd0aca authored by Rabotin Michael's avatar Rabotin Michael
Browse files

Fixed deprecated method

parent 58ca96aa
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -676,7 +676,8 @@ class HruDelinDockWidget(QtWidgets.QDockWidget, FORM_CLASS):
self.projNum = int(osrProj.GetAttrValue('AUTHORITY', 1))
self.proj = 'EPSG:%s' % self.projNum
self.projObj = QgsCoordinateReferenceSystem(self.projNum, QgsCoordinateReferenceSystem.EpsgCrsId)
# self.projObj = QgsCoordinateReferenceSystem(self.projNum, QgsCoordinateReferenceSystem.EpsgCrsId)
self.projObj = QgsCoordinateReferenceSystem.fromEpsgId(self.projNum)
self.demLayer = self.displayLayer({
'type': 'raster',
'path': self.demPath,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment