From 2f090cc384318068987d07b66e2764d4ffb22cf4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 28 Sep 2023 04:08:30 +0200 Subject: Replace double quotes with single quotes. --- gis-observation-map | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gis-observation-map') diff --git a/gis-observation-map b/gis-observation-map index dad58a9..0d26ce0 100755 --- a/gis-observation-map +++ b/gis-observation-map @@ -141,7 +141,7 @@ if len(args.geometry) == 0 and len(args.point) == 0: parser.print_usage() exit(1) if len(args.point) > 0 and (args.margin is None or args.margin <= 0): - parser.error("--point requires positive --margin") + parser.error('--point requires positive --margin') for k in ['since', 'until']: v = getattr(args, k, None) @@ -226,7 +226,7 @@ def idx_intersects(idx_path, geometries): layer = ds.GetLayer() source_srs = layer.GetSpatialRef() transform_srs = osr.CoordinateTransformation(source_srs, target_srs) - locFieldIdx = layer.FindFieldIndex("location", True) + locFieldIdx = layer.FindFieldIndex('location', True) locations = [] feature = layer.GetNextFeature() -- cgit v1.2.3