eolearn.core.utils.vector_io

A module implementing utilities for working with geopackage files

eolearn.core.utils.vector_io.infer_schema(df)[source]

This function is copied over from GeoPandas, part of geopandas.io.file module, with the sole purpose of disabling the if df.empty check that prevents saving an empty dataframe. Will be removed after GeoPandas version 0.11 fixes the problem.