parser=argparse.ArgumentParser(description='This Script generates a hierarchical nodes list for node migration using nginx geo feature.')
parser.add_argument('-j','--json-path',required=False,default='https://service.freifunk-muensterland.de/maps/data/',help='Path of nodes.json and graph.json (can be local folder or remote URL).')
parser.add_argument('-s','--shapes-path',required=False,default='https://freifunk-muensterland.de/md-fw-dl/shapes/',help='Path of shapefiles (can be local folder or remote URL).')
parser.add_argument('-t','--targets',nargs='+',required=True,help='List of targets which should be proceeded. Example: -t citya cityb ...')
parser.add_argument('-o','--out-file',required=False,help='Filename where the generated Output should stored.',default='./webserver-configuration')
parser.add_argument('-f','--filters',nargs='*',required=False,choices=('exclude_clouds_with_lan_links','no_lan'),help='Filter out nodes and local clouds based on filter rules')