[Qgis-user] How to identify a raster on the map?
Aaron Racicot
aaronr at z-pulley.com
Mon Jan 14 23:46:45 EST 2008
Martin,
Thanks for the advice... always welcome and look forward to more!
I went ahead and updated the activate and deactivate to call the
QgsMapTool.activate(self) and QgsMapTool.deactivate(self) respectively.
For now I am just going to leave this as an implementation of a QgsMapTool
and will look closer at the QgsMapToolEmitPoint.
I have updated the SVN and uploaded a new zip (0.03) to the plugin
repository.
Thanks again...
A
+----------------------------------------+
Aaron Racicot - GIS Programmer
360.221.2441 - aaronr at z-pulley.com
+----------------------------------------+
z - p u l l e y
pobox 1614
langley wa 98260
www.reprojected.com
+----------------------------------------+
> -----Original Message-----
> From: Martin Dobias [mailto:wonder.sk at gmail.com]
> Sent: Monday, January 14, 2008 4:34 PM
> To: Aaron Racicot
> Cc: qgis-user at qgis.org
> Subject: Re: [Qgis-user] How to identify a raster on the map?
>
> On Jan 14, 2008 9:36 PM, Aaron Racicot <aaronr at z-pulley.com> wrote:
> >
> > http://blog.qgis.org/?q=node/104
> >
>
> Aaron,
>
> a note about the implementation: in fact you don't need to implement
> RasterInfoTool - there's QgsMapToolEmitPoint in gui iibrary which does
> the same thing :-)
>
> Moreover, when reimplementing activate/deactivate functions you should
> also call parent QgsMapTool::(de)activate function to keep everyone
> happy. But well, I know... documentation is lacking :-/
>
> Greetings
> Martin
More information about the Qgis-user
mailing list