/// <summary>
        /// 检查坐标范围
        /// </summary>
        /// <param name="extent"></param>
        /// <returns></returns>
        public bool CheckCoordinateExtent(CoordinateExtent coordinateExtent)
        {
            if (coordinateExtent == null)
            {
                return(false);
            }

            if (coordinateExtent.MinX < this.MIN_X)
            {
                return(false);
            }

            if (coordinateExtent.MinY < this.MIN_Y)
            {
                return(false);
            }

            if (coordinateExtent.MaxX > this.MAX_X)
            {
                return(false);
            }

            if (coordinateExtent.MaxY > this.MAX_Y)
            {
                return(false);
            }

            return(true);
        }
        /// <summary>
        /// 纠正坐标范围(如果在合理范围内,则返回原值;如果超出边界,则舍弃边界以外的部分。)
        /// </summary>
        /// <param name="coordinateExtent"></param>
        /// <returns></returns>
        public CoordinateExtent CorrectCoordianteExtent(CoordinateExtent coordinateExtent)
        {
            if (coordinateExtent == null)
            {
                return(new CoordinateExtent(this.PROJECTION_TYPE, this.MIN_X, this.MIN_Y, this.MAX_X, this.MAX_Y));
            }

            if (coordinateExtent.MinX < this.MIN_X)
            {
                coordinateExtent.MinX = this.MIN_X;
            }

            if (coordinateExtent.MinY < this.MIN_Y)
            {
                coordinateExtent.MinY = this.MIN_Y;
            }

            if (coordinateExtent.MaxX > this.MAX_X)
            {
                coordinateExtent.MaxX = this.MAX_X;
            }

            if (coordinateExtent.MaxY > this.MAX_Y)
            {
                coordinateExtent.MaxY = this.MAX_Y;
            }

            return(coordinateExtent);
        }
        /// <summary>
        /// 获取默认的坐标范围
        /// </summary>
        /// <returns></returns>
        public CoordinateExtent GetDefaultCoordinateExtent()
        {
            CoordinateExtent extent = new CoordinateExtent();

            extent.ProjType = this.PROJECTION_TYPE;
            extent.MinX     = this.MIN_X;
            extent.MinY     = this.MIN_Y;
            extent.MaxX     = this.MAX_X;
            extent.MaxY     = this.MAX_Y;

            return(extent);
        }