--- ECHO_content/ECHO_collection.py 2004/05/07 16:52:04 1.69 +++ ECHO_content/ECHO_collection.py 2004/05/07 17:09:07 1.70 @@ -936,13 +936,21 @@ class ECHO_collection(Folder, Persistent if len(coordtemp)>3: coord=coordtemp[0:4] label="" + vc="" if hasattr(object,'label') and not object.label=="": label=object.label elif hasattr(object,'title') and not object.title=="": label=object.title else: label=object.getId() - ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,object.viewClassification]) + if object.viewClassification != "": + vc=object.viewClassification + else: + if len(coordtemp) > 4 and coordtemp[4] != "": + vc="view point" + else: + vc="area" + ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,vc]) return ids