def scales_maps(ctx): outdir = ctx.obj["outdir"] region = ctx.obj["region"] intervals = int(ctx.obj["intervals"]) scales = ScalesVis(outdir, intervals) scales.generate_maps(region)
def scales_maps(ctx): outdir = ctx.obj['outdir'] region = ctx.obj['region'] intervals = int(ctx.obj['intervals']) scales = ScalesVis(outdir, intervals) scales.generate_maps(region)
def scales_crop_borders(ctx): outdir = ctx.obj["outdir"] shapefile = ctx.obj["shapefile"] intervals = int(ctx.obj["intervals"]) scales = ScalesVis(outdir, intervals) scales.crop_borders(shapefile)
def scales_crop_borders(ctx): outdir = ctx.obj['outdir'] shapefile = ctx.obj['shapefile'] intervals = int(ctx.obj['intervals']) scales = ScalesVis(outdir, intervals) scales.crop_borders(shapefile)