aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgis-observation-map24
1 files changed, 16 insertions, 8 deletions
diff --git a/gis-observation-map b/gis-observation-map
index 196fea1..41af068 100755
--- a/gis-observation-map
+++ b/gis-observation-map
@@ -70,14 +70,22 @@ parser = argparse.ArgumentParser(
usage='''%(prog)s --project-home=DIR --project-name=NAME {--geometry=FILE|--point=X,Y} ...
%(prog)s {--geometry=FILE|--point=X,Y} ...'''
)
-parser.add_argument('--margin', type=int, help='Margin (in meters) from geometry envelopes')
-parser.add_argument('--topo-basedir', default=config['QGIS']['topo-basedir'], type=ePath, help='Base directory for "Topografi 10", "Topografi 50", etc.')
-parser.add_argument('--project-name', help='Project filename (and title)')
-parser.add_argument('--project-home', type=ePath, help='Project home directory')
-parser.add_argument('--geometry', nargs='*', default=[], type=ePath, help='Geometry filename(s)')
-parser.add_argument('--point', nargs='*', metavar='X,Y', default=[], help=f'Coordinates of interest (in {target_srs.GetName()})')
-parser.add_argument('--observation-format', default='GPKG', help='Format for the observation file (default: %(default)s)')
-parser.add_argument('--style', default=config['QGIS']['style'], type=ePath, help='QGIS Layer Style File (*.qml) to apply to the observation layer (default: %(default)s)')
+parser.add_argument('--margin', type=int,
+ help='Margin (in meters) from geometry envelopes')
+parser.add_argument('--topo-basedir', default=config['QGIS']['topo-basedir'], type=ePath,
+ help='Base directory for "Topografi 10", "Topografi 50", etc.')
+parser.add_argument('--project-name',
+ help='Project filename (and title)')
+parser.add_argument('--project-home', type=ePath,
+ help='Project home directory')
+parser.add_argument('--geometry', nargs='*', default=[], type=ePath,
+ help='Geometry filename(s)')
+parser.add_argument('--point', nargs='*', metavar='X,Y', default=[],
+ help=f'Coordinates of interest (in {target_srs.GetName()})')
+parser.add_argument('--observation-format', default='GPKG',
+ help='Format for the observation file (default: %(default)s)')
+parser.add_argument('--style', default=config['QGIS']['style'], type=ePath,
+ help='QGIS Layer Style File (*.qml) to apply to the observation layer (default: %(default)s)')
args = parser.parse_args()