geometric_features.geometric_features.GeometricFeatures.split

GeometricFeatures.split(fc, destinationDir=None)[source]

Split a feature collection into individual files for each feature. This is how new geometry should be added to the geometric_features repo.

Parameters:
fc : FeatureCollection

The feature collection to split

destinationDir : str, optional

The root path where the split geometry will be stored, cacheLocation by default

Returns:
fc : FeatureCollection

The feature collection read in