[Qgis-developer] Re: Display raster fails
Marco Hugentobler
marco.hugentobler at autoform.ch
Fri Mar 24 06:16:53 EST 2006
Radim Blazek wrote:
>I dont understand how can this:
>
>else if(layer->type() == QgsMapLayer::RASTER) {
> const QgsRasterLayer* vlayer = dynamic_cast<const QgsRasterLayer*> (layer);
>
>result in null vlayer.
>
>Radim
>
The vlayer is 0? When i had a quick look at it yesterday evening, i
thought that dprovider might be 0 (i think the normal raster layers
don't use providers, only WMS).
Marco
More information about the Qgis-developer
mailing list