aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-11 13:24:58 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-11 13:25:14 +0200
commit1448884cf1c0726d7fb7622f24e16a82a3b90ca7 (patch)
treea476f885352c50ac9acc7944465b56ee625cbe11
parent579e274334f5490ecf819d1638dd14e25faf8ed7 (diff)
webmap-import: Improve INFO message.
-rwxr-xr-xwebmap-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-import b/webmap-import
index ed09fe5..fccdc84 100755
--- a/webmap-import
+++ b/webmap-import
@@ -1002,7 +1002,7 @@ def importSource2(lyr_dst, path, args={}, basedir=None, extent=None):
logging.info('Imported %d features from source layer "%s"', n, layername)
if len(mismatch) > 0:
- mismatches = [ ogr.GeometryTypeToName(t) + ' (×' + str(n) + ')'
+ mismatches = [ str(n) + '× ' + ogr.GeometryTypeToName(t)
for t,n in sorted(mismatch.items(), key=lambda x: x[1]) ]
logging.info('Forced conversion to %s: %s',
ogr.GeometryTypeToName(eGType_dst), ', '.join(mismatches))