From: Simone G. <sim...@ge...> - 2011-05-10 09:23:51
|
Ciao Nick, two things: -1- makre sure this points to a fil that actually exists: File ascFile = new File("data/leeds_dtm/raster.asc.gz"); -2- make sure to provie a valid prj if your data is not in wgs84 Regards, Simone Giannecchini ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Tue, May 10, 2011 at 11:13 AM, Nicolas Malleson <N.M...@le...> wrote: > Hi Simone, > > That's what I was doing originally (only tried zipping it because it was in Jody's example) but the behaviour was the same. > > Kind regards, > Nick > > On 10 May 2011, at 09:56, Simone Giannecchini wrote: > >> I would unzip the file before using it. >> Performances would be horrible anyway. >> >> Regards, >> Simone Giannecchini >> ------------------------------------------------------- >> Ing. Simone Giannecchini >> GeoSolutions S.A.S. >> Founder >> >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> >> phone: +39 0584 962313 >> fax: +39 0584 962313 >> mob: +39 333 8128928 >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://www.youtube.com/user/GeoSolutionsIT >> http://www.linkedin.com/in/simonegiannecchini >> http://twitter.com/simogeo >> >> ------------------------------------------------------- >> >> >> >> On Tue, May 10, 2011 at 10:44 AM, Nicolas Malleson >> <N.M...@le...> wrote: >>> raster.asc.g > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |