EcohydroLib  1.29
Namespaces | Variables
RegisterStudyAreaShapefile.py File Reference

Namespaces

 RegisterStudyAreaShapefile
 Register shapefile into metadata store for a project directory, copying the source shapefile into the project directory in the process (if the source layer is not a shapefile, it will be converted on copy).
 

Variables

tuple RegisterStudyAreaShapefile.parser = argparse.ArgumentParser(description='Register study area shapefile with project')
 
string RegisterStudyAreaShapefile.help = 'The configuration file'
 
tuple RegisterStudyAreaShapefile.args = parser.parse_args()
 
tuple RegisterStudyAreaShapefile.cmdline = GenericMetadata.getCommandLine()
 
 RegisterStudyAreaShapefile.configFile = None
 
tuple RegisterStudyAreaShapefile.context = Context(args.projectDir, configFile)
 
 RegisterStudyAreaShapefile.publisher = args.publisher
 
tuple RegisterStudyAreaShapefile.inStudyAreaPath = os.path.abspath(args.studyAreaLayer)
 
tuple RegisterStudyAreaShapefile.shpFilename = convertFeatureLayerToShapefile(context.config, context.projectDir, inStudyAreaPath, "studyarea", overwrite=args.overwrite)
 
tuple RegisterStudyAreaShapefile.asset = AssetProvenance(GenericMetadata.MANIFEST_SECTION)