EcohydroWorkflowLib  0.973
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
GetBoundingboxFromStudyareaShapefile.py File Reference

Namespaces

namespace  GetBoundingboxFromStudyareaShapefile
 Get bounding box for ESRI Shapefile projected in WGS84 (EPSG:4326)
 

Variables

tuple GetBoundingboxFromStudyareaShapefile.parser argparse.ArgumentParser(description='Get bounding box from study area shapefile')
 
string GetBoundingboxFromStudyareaShapefile.help 'The directory to which metadata, intermediate, and final files should be saved'
 
tuple GetBoundingboxFromStudyareaShapefile.args parser.parse_args()
 
tuple GetBoundingboxFromStudyareaShapefile.cmdline GenericMetadata.getCommandLine()
 
tuple GetBoundingboxFromStudyareaShapefile.projectDir os.path.abspath(args.projectDir)
 
float GetBoundingboxFromStudyareaShapefile.buffer 0.01
 
tuple GetBoundingboxFromStudyareaShapefile.manifest GenericMetadata.readManifestEntries(projectDir)
 
list GetBoundingboxFromStudyareaShapefile.shapefileName manifest['study_area_shapefile']
 
tuple GetBoundingboxFromStudyareaShapefile.shapefilePath os.path.join(projectDir, shapefileName)
 
tuple GetBoundingboxFromStudyareaShapefile.bbox getBoundingBoxForShapefile(shapefilePath, buffer=buffer)