update raster info example to newer API