AW: RealType problem

I think, you should give 'longitude' and 'altitude' different RealType
names, cause "time" and "height" are already in use - for different types.

latitude=RealType.getRealType("boucle",SI.meter,null);
longitude=RealType.getRealType("time2",SI.meter,null);
domain_tuple=new RealTupleType(latitude,longitude);
altitude=RealType.getRealType("height2",SI.meter,null);


Best wishes,

Eugen



-----Ursprüngliche Nachricht-----
Von: owner-visad@xxxxxxxxxxxxxxxx
[mailto:owner-visad@xxxxxxxxxxxxxxxx]Im Auftrag von Omar Bennani
Gesendet: Donnerstag, 9. Februar 2006 14:51
An: visad@xxxxxxxxxxxxxxxx
Betreff: RealType problem


Hi
In my application sometimes I display a 2D chart and
sometimes a 3D chart, when for example I display a 2D
chart with :

time = RealType.getRealType("time", SI.second, null);
height = RealType.getRealType("height");

but if after I want to display a 3D chart (in another
procedure and declaring a nex display) with :

latitude=RealType.getRealType("boucle",SI.meter,null);
longitude=RealType.getRealType("time",SI.meter,null);
domain_tuple=new RealTupleType(latitude,longitude);
altitude=RealType.getRealType("height",SI.meter,null);

It doesn't work, I have a for latitude and longitude a
null value
And it's the same when I display first a 3D and after
a 2D chart
thanks


        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com