} else {
// look for a radius search condition
for (SearchCondition aSc : sc) {
String name = aSc.getName();
if (name.equalsIgnoreCase("radius") && aSc instanceof RangeSearchCondition) {
RangeSearchCondition rsc = (RangeSearchCondition) aSc;
r1 = (Double) rsc.getMinVal();
r2 = (Double) rsc.getMaxVal();
break;
}
}
}
if (r1 == null && r2 == null) {