Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有本地投影(EPSG:2263)的地理数据框,我想将其转换为 WGS84(全局),以便在 python 中添加底图交互性。但是,在转换此数据时,此代码块的运行时间长达数小时且极其不切实际,我只有大约 40,000 个多边形需要转换。我正在使用的代码:
gdf.to_crs(epsg = 4326)
有谁知道在 python 中重新投影较大数据集的更快方法?
我之前用一个较小的数据集进行过这个调用来测试它,实际上它花了将近一分钟的时间,只有 150 条记录。