EcohydroLib  1.29
Namespaces | Variables
GetBoundingboxFromStudyareaShapefile.py File Reference

Namespaces

 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.context = Context(args.projectDir, None)
 
float GetBoundingboxFromStudyareaShapefile.buffer = 0.01
 
tuple GetBoundingboxFromStudyareaShapefile.manifest = GenericMetadata.readManifestEntries(context)
 
list GetBoundingboxFromStudyareaShapefile.shapefileName = manifest['study_area_shapefile']
 
tuple GetBoundingboxFromStudyareaShapefile.shapefilePath = os.path.join(context.projectDir, shapefileName)
 
tuple GetBoundingboxFromStudyareaShapefile.bbox = getBoundingBoxForShapefile(shapefilePath, buffer=buffer)