Re: [OpenMap Users] Raster Files

From: Carsten . Madsen <com_at_navicon.dk>
Date: Tue, 20 Dec 2005 07:22:45 +0100

Hi Luigi

Could you post the stack trace?

If you are trying to load anything else than tif there must be a world
file for the bitmap.

regards
/carsten

Luigi Trevisant wrote:

> I'm using the JAIPlugIn in this way, but without success:
>
> JAIPlugIn jai= new JAIPlugIn();
> jai.loadRaster(selectedFile.getAbsolutePath());
> PlugInLayer layer = new PlugInLayer();
> layer.setPlugIn(jai);
> Layer l = layer;
> layerHandler.addLayer(l, 0);
>
> It throws a null pointer exception
>
> What is my error
>
> Thanks
>
>
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Un regalo speciale per Natale? TIM UMTS con 500 Euro di telefonate
> GRATIS! Scegli il tuo modello...
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4430&d=19-12
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Dec 20 2005 - 01:23:18 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT