bug on popping geometry column

This commit is contained in:
Jorge S. Mendes de Jesus
2020-02-26 19:47:18 +01:00
parent 05c91336f5
commit 2287370b8a
+2 -1
View File
@@ -202,7 +202,8 @@ class SQLiteGPKGProvider(BaseProvider):
except AssertionError:
raise InvalidPluginError
self.columns = [item[1] for item in result if item[1] != self.geom_col]
self.columns = [item[1] for item in result if item[1]
not in [self.geom_col, self.geom_col.upper()]]
self.columns = ','.join(self.columns)+',AsGeoJSON({})'.format(
self.geom_col)