Пример #1
0
 public static Collection readWKTFile(Reader rdr) throws IOException, ParseException {
   WKTFileReader fileRdr = new WKTFileReader(rdr, reader);
   List geoms = fileRdr.read();
   return geoms;
 }
Пример #2
0
 public static Collection readWKTFile(String filename) throws IOException, ParseException {
   WKTFileReader fileRdr = new WKTFileReader(filename, reader);
   List geoms = fileRdr.read();
   return geoms;
 }