You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried many times in blender and Install BlenderGIS
Use the web basemap tool,
Install GDAL into Blender following the instructions on the wiki and using the .whl files named above.
Attempt to use the web basemap tool, and observe Blender crash.
Error message
Python: Traceback (most recent call last):
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 523, in execute
bpy.ops.view3d.map_viewer('INVOKE_DEFAULT', srckey=self.src, laykey=self.lay, grdkey=self.grd, recenter=self.recenter)
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 107, in call
ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 602, in invoke
self.map = BaseMap(context, self.srckey, self.laykey, self.grdkey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 85, in init
self.srv = MapService(srckey, cacheFolder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 386, in init
self.srcTms = TileMatrix(GRIDS[self.srcGridKey])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 87, in init
self.xmin, self.ymax = self.geoToProj(lonMin, latMax)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 143, in geoToProj
return reprojPt(4326, self.CRS, long, lat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\reproj.py", line 337, in reprojPt
rprj = Reproj(crs1, crs2)
^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\reproj.py", line 231, in init
self.crs1 = crs1.getOgrSpatialRef()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\srs.py", line 158, in getOgrSpatialRef
raise ValueError('Cannot initialize osr : ' + self.proj4)
ValueError: Cannot initialize osr : +init=epsg:4326
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:107
The text was updated successfully, but these errors were encountered:
Blender and OS versions
blender-4.2.3-windows-x64 windows 10 pro
Describe the bug
i tried many gdal version from lastest to the older from here https://github.com/cgohlke/geospatial-wheels/releases for example GDAL-3.6.4-cp311-cp311-win_amd64.whl and also numpy from https://github.com/cgohlke/numpy-mkl-wheels/releases numpy-2.1.2-cp311-cp311-win_amd64.whl and i followed How to install gdal from your site https://github.com/domlysz/BlenderGIS/wiki/How-to-install-GDAL and i did everything new Windows environment variable named GDAL_DATA and osgeo files in sitepackages but when i run blender and i have my custom geotiff from another software in scene and when i tried to open basemap showing crash log
How to Reproduce
I tried many times in blender and Install BlenderGIS
Use the web basemap tool,
Install GDAL into Blender following the instructions on the wiki and using the .whl files named above.
Attempt to use the web basemap tool, and observe Blender crash.
Error message
Python: Traceback (most recent call last):
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 523, in execute
bpy.ops.view3d.map_viewer('INVOKE_DEFAULT', srckey=self.src, laykey=self.lay, grdkey=self.grd, recenter=self.recenter)
File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 107, in call
ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 602, in invoke
self.map = BaseMap(context, self.srckey, self.laykey, self.grdkey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\operators\view3d_mapviewer.py", line 85, in init
self.srv = MapService(srckey, cacheFolder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 386, in init
self.srcTms = TileMatrix(GRIDS[self.srcGridKey])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 87, in init
self.xmin, self.ymax = self.geoToProj(lonMin, latMax)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\basemaps\mapservice.py", line 143, in geoToProj
return reprojPt(4326, self.CRS, long, lat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\reproj.py", line 337, in reprojPt
rprj = Reproj(crs1, crs2)
^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\reproj.py", line 231, in init
self.crs1 = crs1.getOgrSpatialRef()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nashville\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\BlenderGIS-master\core\proj\srs.py", line 158, in getOgrSpatialRef
raise ValueError('Cannot initialize osr : ' + self.proj4)
ValueError: Cannot initialize osr : +init=epsg:4326
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:107
The text was updated successfully, but these errors were encountered: