use of org.activityinfo.geoadmin.model.AdminLevel 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