Closed drf5n closed 3 years ago
@drf5n please see my previously submitted PR https://github.com/nextgis/quickmapservices/pull/204 Anyway it seems there is no willingness to update the plugin by the plugin devs.
so
QgsCoordinateReferenceSystem.fromEpsgId(code) and QgsCoordinateReferenceSystem('EPSG:3857')
are functionally the same?
@agiudiceandrea please don't jump to conclusions, give us a nudge next time.
please don't jump to conclusions, give us a nudge next time.
happy to have been proven wrong :-)
Yes, they are functionally the same. You can pass a bare code to the fromEpsgId function, or you can prefix the code with "EPSG:" and it meas the same thing.
https://github.com/nextgis/quickmapservices/pull/204 fixes more deprecations, so it was better than this PR.
Avoid deprecation warning from https://qgis.org/pyqgis/master/core/QgsCoordinateReferenceSystem.html