Hi Michael , 
I managed to read maps in dted & geotiff & ecw formats   , but I have
problems with rendering them.Here the code snippet I wrote for reading a
dted file :

File file =........
ImageReader reader = new DTEDImageReaderSpi().createReaderInstance();
reader.setInput(file);
RenderedImage image = reader.read(0);

The code works  , now I wanted to render this image :

ImagePane imp = new ImagePane();
imp.setImage(image);
imp.setVisible(true);

But this doesn't work , :,( I think it should work to render the read map ,
but it doesn't and I  dunno why.Can you lend me a hand?:-D
-- 
View this message in context: 
http://n2.nabble.com/reading---rendering-dem----dted-files-tp2157436p2208826.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to