From 8cc145c4c63b33f21716fc21a42880c53fd1a373 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 11 Jun 2024 04:22:33 +0200 Subject: Improve comments. --- webmap-import | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webmap-import') diff --git a/webmap-import b/webmap-import index adfc0cf..ed09fe5 100755 --- a/webmap-import +++ b/webmap-import @@ -284,7 +284,7 @@ def parseSubFieldType(name): else: raise Exception(f'Unknown field subtype "{name}"') -# Parse timezone (XXX for GDAL ≥3.8 only) +# Parse timezone (WARN for GDAL ≥3.8 only) TZ_RE = re.compile(r'(?:UTC\b)?([\+\-]?)([0-9][0-9]):?([0-9][0-9])', flags=re.IGNORECASE) def parseTimeZone(tz): if tz is None: @@ -907,7 +907,7 @@ def importSource2(lyr_dst, path, args={}, basedir=None, extent=None): defn = lyr.GetLayerDefn() n = defn.GetGeomFieldCount() - if n != 1: # XXX + if n != 1: # TODO Add support for multiple geometry fields logging.warning('Source layer "%s" has %d != 1 geometry fields', layername, n) n = defn.GetFieldCount() -- cgit v1.2.3