
经纬度
木下瞳
这个作者很懒,什么都没留下…
展开
-
经纬度轮廓面积计算
import js2pyimport pandas as pdimport numpy as npfrom shapely.geometry import Polygon,Pointdata_js = open(r'polygon_go.js', 'r', encoding='utf8').read()data_js = js2py.eval_js(data_js)def def_get_area_js(poly,data_js): ''' 计算poly的面积(单位:平方.原创 2022-05-26 17:27:28 · 707 阅读 · 0 评论 -
shapely 经纬度相关计算
判断经纬度是否落在轮廓里经纬度 lng,lat轮廓 polygon,即经纬度坐标串,取值格式如下:POLYGON ((113.757503 23.016089, 113.75749818472667 23.01599098285967, 113.7574837852804 23.015893909677985, 113.75745994033572 23.015798715322745, 113.7574268795325 23.015706316567634, 113.757384921..原创 2022-05-21 19:45:50 · 1527 阅读 · 0 评论