Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,11 @@ def mainFunc(STREAM_ID, SOURCE_BRANCH, TARGET_BRANCH, UUID_COL, ATTR_METADATA, K
|
|
129 |
curUUid = objDict[UUID_COL]
|
130 |
targetGeoRow = idMapper[curUUid]
|
131 |
print(stream_dataTrg[targetGeoRow].__dict__.keys())
|
132 |
-
|
|
|
|
|
|
|
|
|
133 |
streamData_new.append(datanew)
|
134 |
|
135 |
log["avg_attrRemoved"] = log["avg_attrRemoved"]/len(stream_data)
|
|
|
129 |
curUUid = objDict[UUID_COL]
|
130 |
targetGeoRow = idMapper[curUUid]
|
131 |
print(stream_dataTrg[targetGeoRow].__dict__.keys())
|
132 |
+
|
133 |
+
try:
|
134 |
+
datanew["@geometry"] = stream_dataTrg[targetGeoRow].__dict__["@geometry"]
|
135 |
+
except:
|
136 |
+
datanew["@Geometry"] = stream_dataTrg[targetGeoRow].__dict__["@Geometry"]
|
137 |
streamData_new.append(datanew)
|
138 |
|
139 |
log["avg_attrRemoved"] = log["avg_attrRemoved"]/len(stream_data)
|