如果可以接受中文字符
https://github.com/longwosion/geojson-map-china
找对应的城市即可
不接受英文字符
我用的sentinelsat库就处理不了中文字符
访问 https://nominatim.openstreetmap.org/search.php
得到这个OSM 3076268
访问http://polygons.openstreetmap.fr/index.py
submit后即可得到geojson
https://github.com/longwosion/geojson-map-china
找对应的城市即可
我用的sentinelsat库就处理不了中文字符
访问 https://nominatim.openstreetmap.org/search.php
得到这个OSM 3076268
访问http://polygons.openstreetmap.fr/index.py
submit后即可得到geojson