python
文章平均质量分 53
balabalaxi~
这个作者很懒,什么都没留下…
展开
-
Python和PostgreSQL,PostGIS,空间数据管理
PostgreSQL和PostGIS安装,与GDAL冲突问题原创 2022-05-30 18:33:24 · 1612 阅读 · 1 评论 -
Python GDAL获取坐标系,转投影,重采样
安装好gdal后,直接在cmd中输入以下命令:gdalsrsinfo 01.tifPython代码:import gdalimport osrpath = r"C:\temp\01.tif"d = gdal.Open(path)proj = osr.SpatialReference(wkt=d.GetProjection())space = proj.GetAttrValue('AUTHORITY',1)print(space)转投影from osgeo imp.原创 2022-04-03 15:43:44 · 2446 阅读 · 0 评论 -
Warnings due to Matplotlib
Bad key text.latex.unicode in file C:\Anaconda3\lib\site-packages\matplotlib\mpl-data\stylelib\_classic_test.mplstyle, line 112 ('text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling')You probably need to get an updated matpl.原创 2021-06-17 12:50:44 · 3808 阅读 · 2 评论 -
camelot pdf 转excel
Error:ImportError: cannot import name 'TableList' from 'camelot.core' (C:\Users\shres\AppData\Local\Programs\Python\Python38\lib\site-packages\camelot\core\__init__.py)pip uninstall camelotpip uninstall camelot-pypip install camelot-py[cv]or..原创 2021-05-26 14:50:59 · 630 阅读 · 0 评论 -
Anaconda Python 3.7和3.9 GDAL 安装方法, python3安装pyhdf
pip install pipwinpipwin install gdal检验:from osgeo import gdal原创 2020-11-16 16:44:57 · 5479 阅读 · 2 评论 -
pip install geopandas出错
错误代码:ERROR: Command errored out with exit status 1: command: 'c:\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\11931\\AppData\\Local\\Temp\\pip-install-yy0nccti\\fiona\\setup.py'"'"'; __file__='"'"'C:\\User...原创 2020-10-30 16:09:37 · 3109 阅读 · 1 评论