]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/commitdiff
Disable the creation of a shapefile.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 22 Nov 2023 21:46:59 +0000 (22:46 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 22 Nov 2023 21:46:59 +0000 (22:46 +0100)
tools/austria_simplified.py

index 653e5f40f384b6157399dcbfa1f5c54893d8bb35..c903014d195e81e5171f90ab564cc5d8220ce074 100644 (file)
@@ -59,7 +59,6 @@ def main(country_name: str, shapefile: str | None):
 if __name__ == '__main__':
     parser = argparse.ArgumentParser(description='Creates a simplified version of a country')
     parser.add_argument('--country', default='Austria', help='Country to simplify (e.g. Switzerland)')
-    parser.add_argument('--shapefile', default='simplified_austria.shp',
-                        help='Write result to shape file with this name')
+    parser.add_argument('--shapefile', help='Write result to shape file with this name')
     args = parser.parse_args()
     main(args.country, args.shapefile)