use of org.activityinfo.geoadmin.ColumnGuesser in project activityinfo by bedatadriven.
the class LocationImportForm method guessLevelColumns.
public void guessLevelColumns(GeoAdminClient client) {
for (AdminLevel level : levelCombos.keySet()) {
List<AdminEntity> entities = client.getAdminEntities(level);
setLevelAttribute(level, new ColumnGuesser().forEntities(entities).findBest(source));
}
}
Aggregations