EISeg icon indicating copy to clipboard operation
EISeg copied to clipboard

加载tif格式文件后闪退

Open rainoo opened this issue 2 years ago • 5 comments

bug描述 eiseg的0.4.1.2版本,按照目的文档,使用GDAL-3.4.1-cp37-cp37m-win_amd64.whl安装gdal,使用conda install rasterio安装完毕。 conda install rasterio这个要求python版本是3.7,之前用的3.9,3.8的都安装失败。

复现方法 如bug描述

截屏 下边是控制台错误提示。eiseg直接闪退。 image

运行环境(请尽量填写,这可以帮助我们定位问题):

  • 系统: [Windows 11]
  • 安装方式:[pip]
  • 软件版本:[0.4.1.2]

rainoo avatar Jan 21 '22 09:01 rainoo

Try to run gdalinfo --version in terminal If installed, make sure to add proj path folder in windows env if not, try to follow these instructions to install GDAL on Windows https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows

Youssef-Harby avatar Jan 21 '22 10:01 Youssef-Harby

image I use pip install to install eiseg,not project in local.

‘’‘ add proj path folder in windows env ‘’‘

How should can I do ?

rainoo avatar Jan 24 '22 04:01 rainoo

I am not sure the proj path where I installed

rainoo avatar Jan 25 '22 06:01 rainoo

I am not sure the proj path where I installed

请检查一下这个数据,我想大概你是装好了环境的,问题在于这个数据的crs可能为None,所以无法访问到它的wkt。我刚刚尝试把一个jpg图像改成tif,我收到了和你同样的错误。

geoyee avatar Jan 26 '22 01:01 geoyee

@rainoo 请试试现在的呢,当crs为空的时候也能加载,就是保存shp会提示无法保存

geoyee avatar Jan 26 '22 02:01 geoyee