From 1a75d92eadae610608da82e009105dea5143ff77 Mon Sep 17 00:00:00 2001 From: Sebastian Gutwein Date: Mon, 30 May 2022 16:15:37 -0400 Subject: [PATCH] Find world file for .jpeg extension Adds the ability to load .jpegs with .jgw world files. --- core/georaster/georaster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/georaster/georaster.py b/core/georaster/georaster.py index 54ef54de..5c8a8712 100755 --- a/core/georaster/georaster.py +++ b/core/georaster/georaster.py @@ -111,6 +111,7 @@ def _getWfPath(self): extTest.append(extTest[0]+'x')# tfwx extTest.append(ext+'w')# tifw extTest.append('wld')#*.wld + extTest.append('gw')# jgw for jpeg file extensions extTest.extend( [ext.upper() for ext in extTest] ) for wfExt in extTest: pathTest = self.path[0:len(self.path)-3] + wfExt