【发布时间】:2020-08-09 17:08:03
【问题描述】:
!pip install sentinelsat
!pip install geopandas
!pip install folium
from sentinelsat import SentinelAPI
user = '****'
password = '****'
api = SentinelAPI(user, password, 'https://scihub.copernicus.eu/dhus')
import geopandas as gpd
import folium
nReserve = gpd.read_file(r"G:\New folder (2)\cardinialres.shp")
m = folium.Map([-37.971389, 145.418889], zoom_start=12)
folium.GeoJson(nReserve).add_to(m)
m
''我google了一下,发现需要使用SHAPE_RESTORE_SHX=YES fio info myshapefile.shp,但是不知道在Jupiter实验室哪里用。
【问题讨论】:
标签: python-3.x jupyter-notebook gdal shapefile jupyter-lab