aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-import
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-import')
-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()