Re: CoordinateSystem 2D/3D

  • To: Roman Sachar <romsac@xxxxx>
  • Subject: Re: CoordinateSystem 2D/3D
  • From: Bill Hibbard <bh@xxxxxxxxxxxxx>
  • Date: Mon, 30 Jul 2007 15:23:57 -0500 (CDT)
Hi Roman,

Easy problem:

. . .
CoordinateSystem logCS = new MyCoordinateSystem(new
domain_tuple = new RealTupleType(latitude, longitude,logCS,null);
. . .
lonMap = new ScalarMap( longitude, Display.XAxis );
. . .
Now when I run that code i get an error:
Single DisplayRealType DisplayXAxis occurs more than once:
. . .

longitude occurs in domain_tuple and in the reference
RealTupleType for logCS. You need to invent another
RealType to take the place of longitude in one of these
places. I also note that latitude occurs in both places,
whereas I think you want loglatitude in one of them
(loglatitude is in a RealTupleType named reference, but
this is not passed to the logCS constructor and needs to
have two RealTypes).

Good luck,

To unsubscribe visad, visit:

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