From: Jiří N. <nov...@gm...> - 2011-07-25 20:22:41
|
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 >> <mic...@gm...> wrote: >>> Hi Jiri > |