Ciao, it seems that you are missing a world files as well as prj file. The first one contains georeferencing info, the second one contains the definition of the crs.
Simone. ------------------------------------------------------- Eng. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- On Wed, Nov 19, 2008 at 5:11 AM, Batbayar Bazarragchaa <[EMAIL PROTECTED]> wrote: > 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 > > ------------------------------------------------------------------------- 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
