throw new IllegalArgumentException(
"'wkt' csv strategy selected, but wktField param not specified");
}
csvStrategy = new CSVSpecifiedWKTStrategy(csvFileState, wktParam.toString());
} else {
csvStrategy = new CSVAttributesOnlyStrategy(csvFileState);
}
} else {
csvStrategy = new CSVAttributesOnlyStrategy(csvFileState);
}
return new CSVDataStore(csvFileState, csvStrategy);
}