Stringfilefilter=modifier.filetype==null?".*":".*"+modifier.filetype+".*";// TODO: should be ".ext" but while/comment above suggests not -> add filetype contrain pullOneFilteredFromRWI()
finalStringfilefilter=modifier.filetype==null?".*":".*"+modifier.filetype+".*";// TODO: should be ".ext" but while/comment above suggests not -> add filetype contrain pullOneFilteredFromRWI()
/* Remove redundant sequences of catch all expressions */
Patternr=Pattern.compile("(\\.|(\\.\\*))\\.\\*");
Matcherm;
while((m=r.matcher(filter)).find()){
filter=m.replaceAll(".*");
}
}else{
filter=QueryParams.catchall_pattern.toString();
}
returnfilter;
}
privatedoublekmNormal=100.d;// 100 =ca 40000.d / 360.d == 111.11 - if lat/lon is multiplied with this, rounded and diveded by this, the location is normalized to a 1km grid