Example #1
0
 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()
Example #2
0
 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()
Example #3
0
 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()
Example #4
0
 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()