Re: Bad Mapping Exceptions

Hi Michelle,

> I'm trying to determine when the BadMappingExceptions occur before they
> are thrown and then displayed in the spreadsheet. In the constructor of
> ShadowRealTupleType.java, I'm trying to decipher why ("mapped to
> multiple" + " spatial DisplayTupleType-s: " + "ShadowRealTupleType") is
> thrown. And why "mapped to multiple" +" spatial DisplayTupleType-s " +
> "(through CoordinateSystem.Reference): " + ShadowRealTupleType") is also
> thrown. Would it be possible to detect these before throwing the
> exception and with only knowledge of the ScalarMaps?

Yes, make sure you only construct ScalarMaps to DisplayRealTypes
in one spatial DisplayTupleType. That is, for example, don't mix
Display.XAxis with Display.Latitude or DisplayCylRadius.

Good luck,
Bill


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