def main(): from mapnik_utils.composer import ComposeDebug nik_map = ComposeDebug(mapfile,**options.__dict__) if options.no_open: nik_map.render() else: nik_map.open()
def main(): from mapnik_utils.composer import ComposeDebug nik_map = ComposeDebug(mapfile, **options.__dict__) if options.no_open: nik_map.render() else: nik_map.open()
def main(): from mapnik_utils.composer import ComposeDebug nik_map = ComposeDebug(mapfile,**options.__dict__) if options.no_open: nik_map.render() else: if hasattr(options,'image'): nik_map.open() else: if not options.pipe and not options.dry_run: parser.error('\n\nPlease provide the path to an output image.\n') else: nik_map.render()