Проверка многоугольника действительна
#PROBLEM : 'ValueError: A LinearRing must have at least 3 coordinate tuples'
#Read data
collection = list(fiona.open(layer_file,'r'))
df1 = pd.DataFrame(collection)
#Check Geometry
def isvalid(geom):
try:
shape(geom)
return 1
except:
return 0
df1['isvalid'] = df1['geometry'].apply(lambda x: isvalid(x))
df1 = df1[df1['isvalid'] == 1]
collection = json.loads(df1.to_json(orient='records'))
#Convert to geodataframe
gdf = gpd.GeoDataFrame.from_features(collection)
TY SM