苏小测

导航

 

2023年3月2日

摘要: win10 x64,GDAL x64,idea社区版 1、path设置 2、proj_lib设置 3、导入为库 阅读全文
posted @ 2023-03-02 14:19 苏小测 阅读(129) 评论(0) 推荐(0) 编辑
 

2022年3月31日

摘要: f=open(txt,'w') sys.stdout=fsys.stderr=f print '111' 阅读全文
posted @ 2022-03-31 14:25 苏小测 阅读(29) 评论(0) 推荐(0) 编辑
 

2022年1月8日

摘要: from collections import defaultdict,Counter 1 dd=defaultdict(int)for item in names: dd[item]+=1for k,v in dd.iteritems(): pass 2 for item in set(names 阅读全文
posted @ 2022-01-08 09:56 苏小测 阅读(34) 评论(0) 推荐(0) 编辑
 

2021年9月16日

摘要: 最近参照网上教程,尝试用python提取高德地图POI,有个疑问,为什么从中类的搜索结果数量与各小类搜索结果数量之和不等? 如下所示,第一行为直接搜索中类的结果,2-12行为分别搜索小类的结果,最后一列为数量,为什么不等呢? 1 320111 010100 562 320111 010101 283 阅读全文
posted @ 2021-09-16 11:09 苏小测 阅读(62) 评论(0) 推荐(0) 编辑
 

2021年9月1日

摘要: 这里主要是指多边形图斑的质心 对于一个马蹄形的面状图斑,通过多边形转点工具,默认点A在多边形外,选项点B在多边形内。 游标中,shape@y、shape@xy、shape@truecentroid 返回的都是A 而几何的centroid属性返回的是内部的点,如果质心在外面,则返回labelpoint 阅读全文
posted @ 2021-09-01 10:00 苏小测 阅读(583) 评论(1) 推荐(0) 编辑
 

2021年5月16日

摘要: row = [u'课程', u'语文', u'数学', u'英语']print rowprint str(row).decode('unicode-escape')import jsons=json.dumps(row,ensure_ascii=False)print s output: [u'\u 阅读全文
posted @ 2021-05-16 22:20 苏小测 阅读(157) 评论(0) 推荐(0) 编辑
 

2021年4月22日

摘要: python测试,路径、文件名含中文时数据集读取失败,图层名含中文时图层读取失败 C# 测试,图层含中文不影响。 阅读全文
posted @ 2021-04-22 15:48 苏小测 阅读(121) 评论(0) 推荐(0) 编辑
 

2021年3月9日

摘要: https://gis.stackexchange.com/questions/90372/using-arcpy-da-insertcursor-to-insert-entire-row-that-is-fetched-from-search-cur# Get field objects from 阅读全文
posted @ 2021-03-09 08:34 苏小测 阅读(129) 评论(0) 推荐(0) 编辑
 

2021年2月14日

摘要: https://my.usgs.gov/confluence/display/EGIS/ArcGIS+Desktop+10+Performance+Tweaks Skip to end of metadata Created by Unknown User (cprice@usgs.gov), la 阅读全文
posted @ 2021-02-14 10:09 苏小测 阅读(191) 评论(0) 推荐(0) 编辑
 

2021年2月10日

摘要: http://blog.sina.com.cn/s/blog_497c741a0102vvhl.html 这是我们经常被问及的问题,尤其是刚刚接触遥感的用户。这个问题的回答依赖于特定的应用和传感器类型。但是一般情况下,对于光学影像,我们应该在进行任何光谱分析之前进行大气校正;这篇文章将会给予一些指导 阅读全文
posted @ 2021-02-10 15:34 苏小测 阅读(446) 评论(0) 推荐(0) 编辑