set_kml_driver

Contents

set_kml_driver#

set_kml_driver() None[source]#

Set KML driver for Fiona data (use it at your own risks !)

Only useful with geopandas<1.0.0 or with fiona’s engine

Example

>>> path = "path/to/kml.kml"
>>> gpd.read_file(path, engine="fiona")
fiona.errors.DriverError: unsupported driver: 'LIBKML'
>>> set_kml_driver()
>>> gpd.read_file(path, engine="fiona")
               Name  ...                                           geometry
0  CC679_new_AOI2_3  ...  POLYGON Z ((45.03532 32.49765 0.00000, 46.1947...
[1 rows x 12 columns]