envirosolutionspl / uldk_gugik

EN: The plugin allows user to download geometry of parcells, communies, regions. Plugin uses ULDK API of The Central Office of Geodesy and Cartography of Poland; PL: Wtyczka QGIS, która pozwala na pobieranie geometrii granic działek katastralnych, obrębów, gmin, powiatów i województw. Pobieranie danych jest realizowane przez usługę ULDK udostępnianą przez Główny Urząd Geodezji i Kartografii.
https://www.envirosolutions.pl/news/105/129/Usluga-Lokalizacji-Dzialek-Katastralnych.html
GNU General Public License v3.0
3 stars 5 forks source link

Poprawa Deprecation Warning #46

Open wojtek19022 opened 1 month ago

wojtek19022 commented 1 month ago

Kiedyś może być problem z tym elementem:

2024-05-11T21:58:43     WARNING    warning:C:\Users/Wojtek/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\uldk\uldk_gugik.py:354: DeprecationWarning: QgsCoordinateReferenceSystem constructor is deprecated
              QgsCoordinateReferenceSystem(int(srid), QgsCoordinateReferenceSystem.EpsgCrsId))

             traceback: File "C:\Users/Wojtek/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\uldk\uldk_gugik.py", line 354, in run
              QgsCoordinateReferenceSystem(int(srid), QgsCoordinateReferenceSystem.EpsgCrsId))

Przy ustawianiu układu współrzędnych dla widgetu QgsProjectionSelectionWidget