wkt.read("LINESTRING(0 0, 1 1)");
seems useless for me. if i knew the coordinates of my polygon why would I want to read it from a file?
do you see where im going with this?
I need those (0 0) and (1 1) coordinates. I know what to do with them!
to further clarify my point following line (if existed) is more understandable for me:
Geometry[] geometries = wkt.read("path to my local WKT file");
I would highly appreciate any suggestions or alternatives.
many thanks in advance
Geometry[] geometries = wkt.read("path to my local WKT file");
wkt.read(new FileStream("path to my local WKT file") );foreach (String line in File.ReadAllLines("path to my local WKT file")
wkt.read(line)perhaps we are talking about different APIs
Vividsolutions JTS java api does not have such an argument support for the read method of WKTReader class.