attrJO = featureJO.get("attributes", None)
if attrJO is not None:
id = attrJO.get(self.idField, None)
if id:
minValue = attrJO.get(self.minField, None)
maxValue = attrJO.get(self.maxField, None)
outValue = attrJO.get(self.outField, None)
self._addThreshold(T, id, (minValue, maxValue, outValue))
After Change
A = []
for z in self.attribList:
A = A + [attrJO.get(z, None)]
self._addAttributes(T, attrJO.get(self.idField, None), tuple(A))
return T
def _constructWhereClause(self, idList=[], where=None):