fix SQLite provider feature responses - Issue 41 (#45)
This commit is contained in:
committed by
Tom Kralidis
parent
0dfb9adc4b
commit
893795c26d
@@ -73,7 +73,9 @@ class SQLiteProvider(BaseProvider):
|
||||
feature_list = list()
|
||||
for row_data in self.dataDB:
|
||||
row_data = dict(row_data) # sqlite3.Row is doesnt support pop
|
||||
feature = {}
|
||||
feature = {
|
||||
'type': 'Feature'
|
||||
}
|
||||
feature["geometry"] = json.loads(
|
||||
row_data.pop('AsGeoJSON(geometry)')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user