Exemple #1
0
 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;
 }
Exemple #2
0
 public static Geometry readWKT(String inputWKT) throws ParseException {
   return reader.read(inputWKT);
 }