geometric_features.geometric_features.GeometricFeatures¶
-
class
geometric_features.geometric_features.
GeometricFeatures
(cacheLocation='./geometric_data', remoteBranchOrTag=None)[source]¶ An object for keeping track of where geometric features are cached and downloading missing features as needed.
Attributes: - allFeaturesAndTags : dict of dict
A cache of all the feature names and tags in the
geometric_features
repo used to determine which featues need to be downloaded into the local cache- remoteBranch : str, optional
The branch or tag from the
geometric_features
repo to download from if files are missing from the local cache
-
__init__
(cacheLocation='./geometric_data', remoteBranchOrTag=None)[source]¶ The constructor for the GeometricFeatures object
Parameters: - cacheLocation : str, optional
The location of the local geometric features cache
- remoteBranchOrTag : str, optional
The branch or tag from the
geometric_features
repo to download from if files are missing from the local cache, with default to a tag the same as this version ofgeometric_features
Methods
__init__
([cacheLocation, remoteBranchOrTag])The constructor for the GeometricFeatures object read
(componentName, objectType[, …])Read one or more features from the cached collection of geometric features. split
(fc[, destinationDir])Split a feature collection into individual files for each feature.