Re: Retrieving metadata by mouse click.

Hi Sohyoung,

> Now I am able to retrieve coordinate information by mouse point click. I
> would like to know whether there are examples which is implementing
> retrieving metadata relevant to the clicked data point.

You need to transform the graphics coordinates into data
coordinates, and then look up data values or associated
metadata values in data objects. See the questions at:

  http://www.unidata.ucar.edu/staff/russ/visad/msg01416.html

and the answers in:

  http://www.unidata.ucar.edu/staff/russ/visad/msg01439.html

and the second half of:

  http://www.unidata.ucar.edu/staff/russ/visad/msg00862.html

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: