摘要: import pandas as pd from pathlib import Path def backwardtrace(file: str): if not Path(file).is_file(): raise ValueError('File does not exist!') else: 阅读全文
posted @ 2023-11-21 14:59 是阿杰呀 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. 读取 shp/geojson 边界文件 import geopandas as gpd file = 'media/abc.geojson' gdf = gpd.read_file(file) # 将 GeoDataFrame 转换为 GeoJSON 字符串 geojson = json.lo 阅读全文
posted @ 2023-11-21 14:57 是阿杰呀 阅读(834) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示