Providing a .tfw file alongside with .tif didn't work for me. Is there some special way to tell geotools it exists or should be detected implicitly?
Jiri Novak On 07/25/2011 11:26 AM, Jiří Novák wrote: > Hi, > > thank you both for replying. > >>> your image does not have either a proper grid-to-world transformation >>> or a proper coordinate reference system. >>> You should try to add a proper tfw[1] file to it. > > Problem is that I can not change the way how the tifs gets created, we > have a closed library for transforming it from proper binary format > which specification I don't know :( > Third party just give us those tifs and an information file with the > coordinates of bottom left and upper right corner for the affine > transformation to JTSK (Krovak) which looks like that: > > 1163999.872425 763749.745142 1165000.000203 765000.000334 JTSK > > It's posible to add somehow this information into the (geo)tif and use > the standard approach in geotools or do I have to follow the way > Michael planted - it's using plain JAI library and then (somehow?) > convert it to geotools's SimpleFeatureCollection? > > Thank you, > Jiri Novak > > On 07/25/2011 05:48 AM, Simone Giannecchini wrote: >> Ciao Jiri, >> your image does not have either a proper grid-to-world transformation >> or a proper coordinate reference system. >> You should try to add a proper tfw[1] file to it. >> >> Regards, >> Simone Giannecchini >> [1] http://en.wikipedia.org/wiki/World_file >> ------------------------------------------------------- >> 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 Mon, Jul 25, 2011 at 9:45 AM, Michael Bedward >> <[email protected]> wrote: >>> Hi Jiri > ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
