public static List readWKT(String[] inputWKT) throws ParseException { ArrayList geometries = new ArrayList(); for (int i = 0; i < inputWKT.length; i++) { geometries.add(reader.read(inputWKT[i])); } return geometries; }
public static Geometry readWKT(String inputWKT) throws ParseException { return reader.read(inputWKT); }