Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Respected sir/madam, I want to add geo tags to existing TIFF file and make it to geotiff file. Otherwise, for bufferedimage is it possible to add geotags to make Geotiff file.

Thanks in advance...

share|improve this question

You can use java library: GeoTiff-JAI.

More is in this post: http://stackoverflow.com/questions/3716462/how-can-i-write-a-geotiff-in-java

share|improve this answer
    
I have tried the following code:IIOMetadata streamMetadata = reader.getStreamMetadata(); writer.prepareWriteSequence(streamMetadata); for (int i = 0; i < pages; i++) { bimage = (BufferedImage) bufferedImageList.get(i); td = TIFFDirectory.createFromMetadata((IIOMetadata)imageMetaDataList.get(i));td.addTI‌​FFField(tf); iiomage=new IIOImage(bimage, null, td.getAsMetadata()); writer.writeToSequence(iiomage, getParam()); } But tag names are not coming as i gave in TiffField?Do you have any idea regarding this?Is any other way exists,if yes please give code snippet – Suresh Kumar Apr 13 '12 at 3:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.