Description

侃大山,随便聊聊。有啥新奇特的Idea都可以分享。

By wuzhenzhen, 31 March, 2025

描述:利用ArcGIS绘制地图一般需要经纬度信息,但是从大部分网站上获得的数据只有地理位置信息。因此需要基于地理位置信息从百度地图批量获取对应的经纬度

  1. 在百度地图上申请需要的密钥,具体网址为:https://lbs.baidu.com/apiconsole/key。
  2. 利用Python脚本,从百度地图官网获取经纬度:

By wuzhenzhen, 31 March, 2025

描述:从PPBC网站上搜索到物种后,因为不能直接批量下载地理位置信息,因此选择代码直接从网页上获取地址。

1. 搜索羊踯躅,获得以下网址:https://ppbc.iplant.cn/sp/25162

 

2. 利用python脚本(get_address.py)获取网址信息,并对获得的信息进行去重

By chenyi, 27 March, 2025

报错

root@bf19e2a71b7c:/home/scy/raw/Torreya# rm -rf torreya_noptg/
rm: cannot remove 'torreya_noptg/.nfs00000000888910c9001a8a16': Device or resource busy

解决办法

By chenyi, 27 March, 2025

1、错误问题:BLAST Database creation error: Near line 68473, the local id is too long.  Its length is 68 but the maximum allowed local id length is 50.  Please find and correct all local ids that are too long.