|
From: ceeta <che...@gm...> - 2009-03-08 00:58:53
|
Dear list I have a similar problem. I am using JAI to perform Sobel Edge Detection on an image. Once the edge detection is performed, I lose all the georeferencing information and my output file comes out as a regular Tiff. I need to find a way to retain/add the georeferencing information as I need it for further processing. Is there a solution? Chetna Milton Jonathan-3 wrote: > > Hello all, > > I would like to ask you (and especially Simone, since I think this is > his turf), if there would be any way in which one could write > georeferencing information separately from the raster data itself. I > would imagine that the most straightforward way to do this would be to > write a World File (e.g., a TFW file) using something like a > "WorldFileWriter" class (there is already a WorldFileReader). As an > alternative to World Files, one could think of writing Geotiff tags onto > an existing TIFF file. > Does anyone know if there is anything like that around? > > Now let me just explain why I want to do this: I'm working with > multiband raster images, and, as far as I know, Geotools doesn't > currently support that (it's planned for version 2.5, right?). This way, > I was intending to process these multiband files using JAI/ImageIO, so > that the output would be a non-georeferenced TIFF file. I would thus > need to read the georeference info from the input file and somehow write > that to the output file. > > Well, that's it then. Thank you all for any input on this one, > Milton Jonathan > > > begin:vcard > fn:Milton Jonathan > n:Jonathan;Milton > org:Embrapa Solos > adr:;;Rua Jardim Botanico 1024;Rio de Janeiro;RJ;22460-000;Brasil > email;internet:mi...@cn... > title:Pesquisador > tel;work:+55-21-2179-4562 > x-mozilla-html:FALSE > url:http://www.cnps.embrapa.br > version:2.1 > end:vcard > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://n2.nabble.com/Writing-world-files-%28TFW%29-tp1939362p2442886.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |