Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Projection #29

Open
Martin-Dawson opened this issue Jan 1, 2024 · 5 comments
Open

Local Projection #29

Martin-Dawson opened this issue Jan 1, 2024 · 5 comments

Comments

@Martin-Dawson
Copy link

On opening the segmentation tool the following messages appear even if the demo mode is switched off:

2024-01-01T12:03:07 INFO Great : SAM Features with 12 patches in 'beiluhe_google_img_201211_clip' have been loaded, you can start labeling now
2024-01-01T12:03:34 INFO Note: : Project CRS has been changed to Feature CRS temporarily, and will be reset to original CRS when this widget is closed.

CRS has to be reset to Project CRS before segmentation if working with a CRS other than the one specified for the demo.

@Fanchengyan
Copy link
Collaborator

Hi @Martin-Dawson

Thank you for your feedback. We have made significant changes in our latest code and have fixed this issue. We will be pushing out a new version soon. If this is impacting your work, you can replace the original code with the code from the latest main branch.

@Martin-Dawson
Copy link
Author

Loading latest code seems to have resolved issue if demo mode is switched off before opening project. Running plugin in latest QGIS version seems to produce several deprecation warnings:

2024-01-04T11:39:30 WARNING warning:C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms_functional_pil.py:242: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
interpolation: int = Image.BILINEAR,

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 391, in loadPlugin
          __import__(packageName)
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\__init__.py", line 7, in 
          from .geo_sam_tool import Geo_SAM
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 10, in 
          from .tools.widgetTool import Selector, EncoderCopilot
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 21, in 
          from torchgeo.datasets import BoundingBox
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\__init__.py", line 6, in 
          from .advance import ADVANCE
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\advance.py", line 17, in 
          from .geo import NonGeoDataset
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\geo.py", line 30, in 
          from torchvision.datasets import ImageFolder
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 972, in _find_and_load_unlocked
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\__init__.py", line 6, in 
          from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\__init__.py", line 23, in 
          from .fakedata import FakeData
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\fakedata.py", line 5, in 
          from .. import transforms
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\__init__.py", line 1, in 
          from .transforms import *
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\transforms.py", line 17, in 
          from . import functional as F
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\functional.py", line 18, in 
          from . import _functional_pil as F_pil, _functional_tensor as F_t
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\_functional_pil.py", line 242, in 
          interpolation: int = Image.BILINEAR,
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\Image.py", line 74, in __getattr__
          deprecate(name, 10, f"{enum.__name__}.{name}")
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\_deprecate.py", line 62, in deprecate
          warnings.warn(

2024-01-04T11:39:30 WARNING warning:C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms_functional_pil.py:288: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
interpolation: int = Image.NEAREST,

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 391, in loadPlugin
          __import__(packageName)
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\__init__.py", line 7, in 
          from .geo_sam_tool import Geo_SAM
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 10, in 
          from .tools.widgetTool import Selector, EncoderCopilot
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 21, in 
          from torchgeo.datasets import BoundingBox
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\__init__.py", line 6, in 
          from .advance import ADVANCE
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\advance.py", line 17, in 
          from .geo import NonGeoDataset
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\geo.py", line 30, in 
          from torchvision.datasets import ImageFolder
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 972, in _find_and_load_unlocked
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\__init__.py", line 6, in 
          from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\__init__.py", line 23, in 
          from .fakedata import FakeData
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\fakedata.py", line 5, in 
          from .. import transforms
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\__init__.py", line 1, in 
          from .transforms import *
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\transforms.py", line 17, in 
          from . import functional as F
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\functional.py", line 18, in 
          from . import _functional_pil as F_pil, _functional_tensor as F_t
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\_functional_pil.py", line 288, in 
          interpolation: int = Image.NEAREST,
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\Image.py", line 62, in __getattr__
          deprecate(name, 10, "Resampling.NEAREST or Dither.NONE")
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\_deprecate.py", line 62, in deprecate
          warnings.warn(

2024-01-04T11:39:30 WARNING warning:C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms_functional_pil.py:304: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
interpolation: int = Image.NEAREST,

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 391, in loadPlugin
          __import__(packageName)
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\__init__.py", line 7, in 
          from .geo_sam_tool import Geo_SAM
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 10, in 
          from .tools.widgetTool import Selector, EncoderCopilot
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 21, in 
          from torchgeo.datasets import BoundingBox
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\__init__.py", line 6, in 
          from .advance import ADVANCE
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\advance.py", line 17, in 
          from .geo import NonGeoDataset
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\geo.py", line 30, in 
          from torchvision.datasets import ImageFolder
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 972, in _find_and_load_unlocked
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\__init__.py", line 6, in 
          from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\__init__.py", line 23, in 
          from .fakedata import FakeData
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\fakedata.py", line 5, in 
          from .. import transforms
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\__init__.py", line 1, in 
          from .transforms import *
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\transforms.py", line 17, in 
          from . import functional as F
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\functional.py", line 18, in 
          from . import _functional_pil as F_pil, _functional_tensor as F_t
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\_functional_pil.py", line 304, in 
          interpolation: int = Image.NEAREST,
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\Image.py", line 62, in __getattr__
          deprecate(name, 10, "Resampling.NEAREST or Dither.NONE")
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\_deprecate.py", line 62, in deprecate
          warnings.warn(

2024-01-04T11:39:30 WARNING warning:C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms_functional_pil.py:321: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
interpolation: int = Image.BICUBIC,

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 391, in loadPlugin
          __import__(packageName)
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\__init__.py", line 7, in 
          from .geo_sam_tool import Geo_SAM
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 10, in 
          from .tools.widgetTool import Selector, EncoderCopilot
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 21, in 
          from torchgeo.datasets import BoundingBox
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\__init__.py", line 6, in 
          from .advance import ADVANCE
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\advance.py", line 17, in 
          from .geo import NonGeoDataset
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchgeo\datasets\geo.py", line 30, in 
          from torchvision.datasets import ImageFolder
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 972, in _find_and_load_unlocked
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\__init__.py", line 6, in 
          from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\__init__.py", line 23, in 
          from .fakedata import FakeData
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\datasets\fakedata.py", line 5, in 
          from .. import transforms
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\__init__.py", line 1, in 
          from .transforms import *
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\transforms.py", line 17, in 
          from . import functional as F
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\functional.py", line 18, in 
          from . import _functional_pil as F_pil, _functional_tensor as F_t
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1058, in _handle_fromlist
          File "", line 228, in _call_with_frames_removed
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\torchvision\transforms\_functional_pil.py", line 321, in 
          interpolation: int = Image.BICUBIC,
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\Image.py", line 74, in __getattr__
          deprecate(name, 10, f"{enum.__name__}.{name}")
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\PIL\_deprecate.py", line 62, in deprecate
          warnings.warn(

2024-01-04T11:39:32 WARNING warning:C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\vis.py:24: DeprecationWarning: Please use distance_transform_edt from the scipy.ndimage namespace, the scipy.ndimage.morphology namespace is deprecated.
from scipy.ndimage.morphology import distance_transform_edt

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin
          if not _startPlugin(packageName):
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin
          plugins[packageName] = package.classFactory(iface)
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\__init__.py", line 35, in classFactory
          from .qrvt import QRVT
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\qrvt.py", line 60, in 
          import rvt.tile
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\tile.py", line 24, in 
          import rvt.default
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\default.py", line 28, in 
          import rvt.vis
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 1007, in _find_and_load
          File "", line 986, in _find_and_load_unlocked
          File "", line 680, in _load_unlocked
          File "", line 855, in exec_module
          File "", line 228, in _call_with_frames_removed
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\vis.py", line 24, in 
          from scipy.ndimage.morphology import distance_transform_edt
          File "C:\PROGRA~1\QGIS33~1.2\apps\Python39\lib\site-packages\scipy\ndimage\morphology.py", line 31, in __getattr__
          warnings.warn(f"Please use `{name}` from the `scipy.ndimage` namespace, "

2024-01-04T11:39:33 WARNING warning:C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\remotior_sensus\core\log.py:77: ResourceWarning: unclosed file
logger.handlers.clear()

         traceback: File "", line 1, in 
          File "C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py", line 448, in startPlugin
          plugins[packageName].initGui()
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 528, in initGui
          cfg.rs.set(log_level=20)
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\remotior_sensus\core\session.py", line 385, in set
          self.configurations.logger = Log(
          File "C:\Users\marti\AppData\Roaming\Python\Python39\site-packages\remotior_sensus\core\log.py", line 77, in __init__
          logger.handlers.clear()

2024-01-04T11:39:46 WARNING warning:C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py:146: DeprecationWarning: QgsMapLayerComboBox.setFilters() is deprecated
self.wdg_sel.MapLayerComboBox.setFilters(

         traceback: File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 88, in create_widget_selector
          self.wdg_select.open_widget()
          File "C:\Users/marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\widgetTool.py", line 146, in open_widget
          self.wdg_sel.MapLayerComboBox.setFilters(

@kolegovpp
Copy link

kolegovpp commented May 9, 2024

Hello everybody!
I installed the full GIS package from OSGeo4W, installed the necessary neural network packages (torch torchvision torchgeo segment-anything) as recommended through the OSGeo4W terminal.

When you turn on the module, the same errors as those described above pop up, namely:

2024-05-09T13:22:48     CRITICAL    Traceback (most recent call last):
              File "rasterio\\crs.pyx", line 586, in rasterio.crs.CRS.from_epsg
              File "rasterio\\_err.pyx", line 195, in rasterio._err.exc_wrap_int
             rasterio._err.CPLE_AppDefinedError: PROJ: proj_create_from_database: e:\OSGeo4W\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 404, in loadPlugin
              __import__(packageName)
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/testUserb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\__init__.py", line 7, in 
              from .geo_sam_tool import Geo_SAM
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/testUserb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 24, in 
              from .tools.SAMTool import SAM_Model
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/testUserb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\SAMTool.py", line 13, in 
              from .torchgeo_sam import SamTestFeatureDataset, SamTestFeatureGeoSampler
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "C:\Users/testUserb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\torchgeo_sam.py", line 21, in 
              from torchgeo.datasets import unbind_samples, stack_samples, BoundingBox, RasterDataset, GeoDataset, IntersectionDataset
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "e:\OSGeo4W\apps\Python312\Lib\site-packages\torchgeo\datasets\__init__.py", line 6, in 
              from .advance import ADVANCE
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "e:\OSGeo4W\apps\Python312\Lib\site-packages\torchgeo\datasets\advance.py", line 17, in 
              from .geo import NonGeoDataset
              File "e:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "e:\OSGeo4W\apps\Python312\Lib\site-packages\torchgeo\datasets\geo.py", line 42, in 
              class GeoDataset(Dataset[dict[str, Any]], abc.ABC):
              File "e:\OSGeo4W\apps\Python312\Lib\site-packages\torchgeo\datasets\geo.py", line 85, in GeoDataset
              _crs = CRS.from_epsg(4326)
              ^^^^^^^^^^^^^^^^^^^
              File "rasterio\\crs.pyx", line 590, in rasterio.crs.CRS.from_epsg
             rasterio.errors.CRSError: The EPSG code is unknown. PROJ: proj_create_from_database: e:\OSGeo4W\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
             

So, how it fix by myself or wait new release?!

UPD: Qgis info.

QGIS Version: 3.36.2-Maidenhead
Revision: 6d250527
Qt version: 5.15.13
Python version: 3.12.3
GDAL/OGR version: 3.8.5
PROJ Version: 9.4.0
EPSG registry database version: ()
GEOS version: 3.12.1-CAPI-1.18.1
SQLite version: 3.45.1
PDAL version: 2.6.3
PostgreSQL version: 16.2
SpatiaLite version: 5.1.0
QWT Version: 6.2.0
QScintilla2 version: 2.14.1
OS version: Windows 10 Version 2009

Included Python modules:
LAStools 1.1
profiletool 4.1.8
db_manager 0.1.20
MetaSearch 0.3.6
processing 2.12.99

@Fanchengyan
Copy link
Collaborator

Hi @kolegovpp

According to errors info, your current PROJ database (proj.db) found at e:\OSGeo4W\share\proj\ is outdated (version 2). PROJ versions 6 and above require a database with layout version 3 or higher. You may have multiple GIS software installed that use PROJ (like QGIS, GDAL, etc.), ensure they are all using the same PROJ library to avoid conflicts. You need to fix this by yourself.

@kolegovpp
Copy link

Hi @kolegovpp

According to errors info, your current PROJ database (proj.db) found at e:\OSGeo4W\share\proj\ is outdated (version 2). PROJ versions 6 and above require a database with layout version 3 or higher. You may have multiple GIS software installed that use PROJ (like QGIS, GDAL, etc.), ensure they are all using the same PROJ library to avoid conflicts. You need to fix this by yourself.

Oh, thanks! I'll update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants