Exemplo n.º 1
0
        public static IRenderer CreateRenderer(emRenderType RenderType, IGdalRead gdalRead)
        {
            IRenderer  pRender   = null;
            IGdalReadR gdalReadR = (IGdalReadR)gdalRead;

            switch (RenderType)
            {
            case emRenderType.Classify:
                if (gdalReadR != null)
                {
                    pRender = new RasterRendererClassify(gdalReadR);
                }
                break;

            default:
                break;
            }
            return(pRender);
        }
Exemplo n.º 2
0
 public RasterRenderer(IGdalReadR gdalReadR) : base(null)
 {
     _IsRaster         = true;
     _GdalReadR        = gdalReadR;
     _ImageColorNodata = new ImageColor(_ColorNodata.R, _ColorNodata.G, _ColorNodata.B, _ColorNodata.A);
 }
Exemplo n.º 3
0
 public RasterRendererClassify(IGdalReadR GdalReadR) : base(GdalReadR)
 {
     this._RenderType = emRenderType.Classify;
 }