Пример #1
0
        public IExtent GetExtent()
        {
            IExtent extent = null;

            if (OgrGeometry != null)
            {
                OSGeo.OGR.Envelope envelope = new OSGeo.OGR.Envelope();
                OgrGeometry.GetEnvelope(envelope);
                extent = envelope.ToExtent();
            }
            return(extent);
        }