コード例 #1
0
        public void LineStringWKTEquals()
        {
            Dictionary <String, object> pers = new Dictionary <String, object>();

            WKTParser wkt            = new WKTParser();
            String    StrCoordinates = "LINESTRING(5 10.2,3.05 8.6,2.04 11.006)";

            LineString line = (LineString)wkt.Read(StrCoordinates);

            Assert.AreEqual(line.AsWKT(), StrCoordinates, "LineString WKT data are not equals");
        }