From 1448884cf1c0726d7fb7622f24e16a82a3b90ca7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 11 Jun 2024 13:24:58 +0200 Subject: webmap-import: Improve INFO message. --- webmap-import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3