public void InitFromGeometry_ShouldCreateValidBoundingBox(string wkt, double east, double north, double south, double west)
        {
            var wgs84=CommonServiceLocator.GetCoordinateSystemProvider().Wgs84;
            var builder=new Ogc.Gml.V311.GmlGeometryBuilder(wgs84);
            builder.Parse(wkt, wgs84);
            var input=builder.ConstructedGeometry;

            var res=new EX_GeographicBoundingBox();
            res.InitFromGeometry(input);

            Assert.Equal(east, (double)res.eastBoundLongitude.Decimal.TypedValue);
            Assert.Equal(north, (double)res.northBoundLatitude.Decimal.TypedValue);
            Assert.Equal(south, (double)res.southBoundLatitude.Decimal.TypedValue);
            Assert.Equal(west, (double)res.westBoundLongitude.Decimal.TypedValue);
        }
        public void InitFromGeometry_ShouldCreateValidBoundingBox(string wkt, double east, double north, double south, double west)
        {
            var wgs84   = CommonServiceLocator.GetCoordinateSystemProvider().Wgs84;
            var builder = new Ogc.Gml.V311.GmlGeometryBuilder(wgs84);

            builder.Parse(wkt, wgs84);
            var input = builder.ConstructedGeometry;

            var res = new EX_GeographicBoundingBox();

            res.InitFromGeometry(input);

            Assert.Equal(east, (double)res.eastBoundLongitude.Decimal.TypedValue);
            Assert.Equal(north, (double)res.northBoundLatitude.Decimal.TypedValue);
            Assert.Equal(south, (double)res.southBoundLatitude.Decimal.TypedValue);
            Assert.Equal(west, (double)res.westBoundLongitude.Decimal.TypedValue);
        }