Can I add jpeg image as layer?
I've tried ImageLab and ImageLab2 examples but I get following exception:

Exception in thread "main" org.geotools.data.DataSourceException: No file
> with meta information found: C:\Documents and Settings\MethoD\My
> Documents\NetBeansProjects\RSM\sampleData\map asia.meta
>         at
> org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:238)
>         at
> org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:109)
>         at eon.rsm.ShapeLab.main(ShapeLab.java:113)
> Caused by: java.io.IOException: No file with meta information found:
> C:\Documents and Settings\MethoD\My
> Documents\NetBeansProjects\RSM\sampleData\map asia.meta
>         at
> org.geotools.gce.image.WorldImageReader.prepareWorldImageGridToWorldTransform(WorldImageReader.java:668)
>         at
> org.geotools.gce.image.WorldImageReader.getHRInfo(WorldImageReader.java:283)
>         at
> org.geotools.gce.image.WorldImageReader.<init>(WorldImageReader.java:231)
>         ... 2 more
> Java Result: 1


Or maybe my jpeg file is wrong. If so where do I find some example jpeg
data?
How do I provide meta file?
Any suggestion and examples?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to