public void ParseMultiPoint() { string multipoint = "MULTIPOINT (20.564 346.3493254, 45 32, 23 54)"; MultiPoint geom = Geometry.GeomFromText(multipoint) as MultiPoint; Assert.IsNotNull(geom); Assert.AreEqual(20.564, geom[0].X); Assert.AreEqual(54, geom[2].Y); Assert.AreEqual(multipoint, geom.AsText()); Assert.IsTrue(Geometry.GeomFromText("MULTIPOINT EMPTY").IsEmpty()); Assert.AreEqual("MULTIPOINT EMPTY", new MultiPoint().AsText()); }