python读取hgt文件的坐标不统一

阅读: 评论:0

python读取hgt⽂件的坐标不统⼀
为什么每个数据块显⽰的⽅向会不⼀样,不应该栅格数据⾃⼰本⾝是有经纬度,能够定位的吗?
import os
# Original file:
#'ftp://v/srtm/version2/SRTM1/Region_04/N39E115.hgt.zip'
个体工商户税收定期定额征收管理办法if not ists('N39E115.hgt.zip'):
# Download the data
动漫部落try:
from urllib import urlopen
except ImportError:
quest import urlopen
print('Downloading data, please wait (10M)')
opener = urlopen('ftp://v/srtm/version2/SRTM1/Region_04/N39E115.hgt.zip')
open('N39E115.hgt.zip', 'wb').ad())
# Load the data (signed 2 byte integers, big endian) >>>>>#
import zipfile
硅酸铝纤维毡
import numpy as np
a=np.fromstring(zipfile.ZipFile('N39E115.hgt.zip').read('N39E115.hgt'),'>i2')
b=np.fromstring(zipfile.ZipFile('N39E116.hgt.zip').read('N39E116.hgt'),'>i2')
灿烂的宋元文化c=np.fromstring(zipfile.ZipFile('N39E117.hgt.zip').read('N39E117.hgt'),'>i2')
d=np.fromstring(zipfile.ZipFile('N40E115.hgt.zip').read('N40E115.hgt'),'>i2')
e=np.fromstring(zipfile.ZipFile('N40E116.hgt.zip').read('N40E116.hgt'),'>i2')
f=np.fromstring(zipfile.ZipFile('N40E117.hgt.zip').read('N40E117.hgt'),'>i2')
mathcad2001g=np.fromstring(zipfile.ZipFile('N41E115.hgt.zip').read('N41E115.hgt'),'>i2')
h=np.fromstring(zipfile.ZipFile('N41E116.hgt.zip').read('N41E116.hgt'),'>i2')
i=np.fromstring(zipfile.ZipFile('N41E117.hgt.zip').read('N41E117.hgt'),'>i2')

本文发布于:2023-07-06 12:41:12,感谢您对本站的认可!

本文链接:https://patent.en369.cn/xueshu/178399.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:定额   定期   税收   征收   能够   坐标   栅格数据   部落
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 369专利查询检索平台 豫ICP备2021025688号-20 网站地图