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

加载tif格式文件后闪退 #104

Open
rainoo opened this issue Jan 21, 2022 · 5 comments
Open

加载tif格式文件后闪退 #104

rainoo opened this issue Jan 21, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@rainoo
Copy link

rainoo commented Jan 21, 2022

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 rainoo added the bug Something isn't working label Jan 21, 2022
@Youssef-Harby
Copy link
Collaborator

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 Youssef-Harby self-assigned this Jan 21, 2022
@rainoo
Copy link
Author

rainoo commented Jan 24, 2022

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
Copy link
Author

rainoo commented Jan 25, 2022

I am not sure the proj path where I installed

@geoyee
Copy link
Member

geoyee commented Jan 26, 2022

I am not sure the proj path where I installed

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

@geoyee
Copy link
Member

geoyee commented Jan 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants