get_vector_layers

HSTB.kluster.gdal_helpers.get_vector_layers(vector_source)

Return a list of all layer names in the given GDAL supported vector file

Parameters

vector_source (str) – absolute path to the vector file

Returns

list of vector layers

Return type

list