[Qgis-developer] Raster providers
Radim Blazek
radim.blazek at gmail.com
Sun Mar 6 15:16:59 EST 2011
On Sun, Mar 6, 2011 at 8:01 PM, Bob and Deb <bobdebm at gmail.com> wrote:
> I know that the Value Tool is a 3rd party plugin, but it would be nice if
> the raster-provider could work with it. All of my rasters are reported as
> being "out of extent".
The Value Tool is using layer.identify(mapPos). The layer itself knows
nothing about the srs set in canvas. The easiest way to fix it is to
transform mapPos in Value Tool from canvas to raster layers crs
(attention, may be different for data source crs if assigned by user).
I think that it may be fixed after the merge to trunk, because it will
have to check QGIS version to decide if mapPos has to be projected or
not. Right?
Radim
More information about the Qgis-developer
mailing list