version 1.69, 2004/05/07 16:52:04
|
version 1.70, 2004/05/07 17:09:07
|
Line 936 class ECHO_collection(Folder, Persistent
|
Line 936 class ECHO_collection(Folder, Persistent
|
if len(coordtemp)>3: |
if len(coordtemp)>3: |
coord=coordtemp[0:4] |
coord=coordtemp[0:4] |
label="" |
label="" |
|
vc="" |
if hasattr(object,'label') and not object.label=="": |
if hasattr(object,'label') and not object.label=="": |
label=object.label |
label=object.label |
elif hasattr(object,'title') and not object.title=="": |
elif hasattr(object,'title') and not object.title=="": |
label=object.title |
label=object.title |
else: |
else: |
label=object.getId() |
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 |
return ids |
|
|
|
|