aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-11 04:22:33 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-11 04:22:59 +0200
commit8cc145c4c63b33f21716fc21a42880c53fd1a373 (patch)
tree76137327c008a4bf274982a5079488ec23602151
parentbaf0898dfda49d2222ba5a29d8918a0ff5bb37bb (diff)
Improve comments.
-rwxr-xr-xwebmap-import4
1 files changed, 2 insertions, 2 deletions
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()