data = geopandas.read_file(path_filename,driver='kml')
数据,我收到错误:
不支持的驱动程序:“KML”
data = geopandas.read_file(path_filename,driver='kml')
数据,我收到错误:
不支持的驱动程序:“KML”
gd.io.file.fiona.drvsupport.supported_drivers['kml'] = 'rw'
gd.io.file.fiona.drvsupport.supported_drivers['KML'] = 'rw'
gd.io.file.fiona.drvsupport.supported_drivers['LIBKML'] = 'rw'
fiona.drvsupport.supported_drivers['kml'] = 'rw' # enable KML support which is disabled by default
fiona.drvsupport.supported_drivers['KML'] = 'rw' # enable KML support which is disabled by default
fiona.drvsupport.supported_drivers['LIBKML'] = 'rw' # enable KML support which is disabled by default
有时将 kml 添加到支持的驱动程序列表中是可行的。