Hi Luke-
"Luke A. Catania (TEC)" wrote:
>
> Looks like I may have been reinventing what already exists and I should just
> use ucar.unidata.view.geoloc.MapProjectionDisplay, since it also supports
> RubberBandBox.
If you do this, you will have to use the MetApps
DisplayMaster/Displayable framework with is different from
vanilla VisAD. It does a lot of the heavy lifting
(automagically removing/adding ScalarMaps and DataReferences
when need be) and has a good set of common displays.
> When I try to use it I get a message:
>
> java.lang.NoClassDefFoundError: org/w3c/dom/Node
>
> What jar file contains this???
You will also have to include the multitude of ancillary
packages that we use in our MetApps development. See:
http://www.unidata.ucar.edu/projects/metapps/StandardEnvironmentInstallation.html
for the list. Unlike VisAD, we do not package all the
ancillary packages in the metapps.jar file. To do so
is a CVS nightmare as we are finding with trying to update
the external DODS package in the VisAD repository at the
moment.
Also, please note that MetApps is a work in progress so is
currently unsupported. I can try to answer some questions, but
until we have an official release, I don't want to get into a
support role for an evolving API.
I would suggest that if you have questions about ucar specific
classes that are not part of the visad distribution, that you
send them to me and not to the VisAD list since others there
are going to wonder what you are talking about.
> Also are there any examples that use this class.
The Integrated Data Viewer (IDV) uses this. There is also
a main method that can be used as a guide and allows you
to change map projections.
Don
*************************************************************
Don Murray UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx P.O. Box 3000
(303) 497-8628 Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************