planetfederal / qgis-mgrs-tools-plugin

GNU General Public License v2.0
6 stars 9 forks source link

'QgsCoordinateReferenceSystem' is not defined #10

Closed SrNetoChan closed 6 years ago

SrNetoChan commented 6 years ago

I get this when I try to create a layer from a table with MGRS codes

Processing algorithm… Algorithm 'Create points layer from table with MGRS coordinates' starting… Input parameters: { 'FIELD' : 'MGRS', 'INPUT' : 'Point?crs=EPSG:4326&field=fid:long&field=code:string(30)&field=MGRS:string&uid={9ceeb2e4-ebea-460c-a522-66e564c03429}', 'OUTPUT' : 'memory:' }

Traceback (most recent call last): File "/home/aneto/.local/share/QGIS/QGIS3/profiles/default/python/plugins/mgrstools/processingprovider/layerfrommgrstable.py", line 62, in processAlgorithm QgsCoordinateReferenceSystem("EPSG:4326")) NameError: name 'QgsCoordinateReferenceSystem' is not defined

Execution failed after 0.22 seconds