摘要:
import shapely.geometry as geometry from shapely.geometry import Polygon import numpy as np # 数据格式转换 from osgeo import gdal_array, ogr from numpy impo 阅读全文
摘要:
# 根据经度、纬度计算两地距离: def get_distance2(lat1, lon1, lat2, lon2): """获取地理坐标系下的两点间距离""" # GetDistanceInGeographyCoordinate, return two point distance radius_ 阅读全文
摘要:
from osgeo import ogr, osr, gdal ,gdalconst import numpy as np import math import sympy as sy import cv2 #注册所有驱动 gdal.AllRegister() #解决中文路径乱码问题 gdal.S 阅读全文
摘要:
import threading import time import os import tarfile input_path = r"D:\jieyaqian" out = r'D:\jieyahou' classs = os.listdir(input_path) def repress(fo 阅读全文
摘要:
import cv2 import scipy.interpolate import numpy as np from osgeo import gdal def read_img(filename): dataset = gdal.Open(filename) im_width = dataset 阅读全文