You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sanselan-dev@incubator.apache.org by Craig L Russell <Cr...@Sun.COM> on 2009/01/11 19:15:52 UTC

Fwd: add gps info to jpeg using sanselan


Begin forwarded message:

> From: Okwochukwu Agbazue <ok...@stud.fh-deggendorf.de>
> Date: January 9, 2009 10:29:04 AM PST
> Subject: add gps info to jpeg using sanselan
>
> Dear Sir
> I am a student of Fh deggendorf, germany and currently working on a
> school project to geotag images on the fly. After comprehensive google
> search, I saw Sanselan library as a good start.
> I have included the jar in my netbeans project, went through the  
> example
> codes but unfortunately I can not figure out how to add longitude and
> latitude to jpeg images.
> Please could you give me some pointers on how to achieve this.
> Thank you very much as I anxiously await your response.
>
>
>
> Emmanuel
>
>
>

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: add gps info to jpeg using sanselan

Posted by Charles Matthew Chen <ch...@gmail.com>.
Hello Okwochukwu,

   Sorry about the delay in getting back to you.  We've had a number
of questions about how to set GPS values in Jpeg EXIF metadata.  I've
rewritten our sample code to include a clear example.  Please take a
look at the setExifGPSTag() method in the WriteExifMetadataExample
class:

https://svn.apache.org/repos/asf/incubator/sanselan/trunk/src/test/java/org/apache/sanselan/sampleUsage/WriteExifMetadataExample.java

   I strongly recommend that you use version 0.96 which will hopefully
be released in the next week.

Thanks,
   Charles


On Sun, Jan 11, 2009 at 2:15 PM, Craig L Russell <Cr...@sun.com> wrote:
>
>
> Begin forwarded message:
>
>> From: Okwochukwu Agbazue <ok...@stud.fh-deggendorf.de>
>> Date: January 9, 2009 10:29:04 AM PST
>> Subject: add gps info to jpeg using sanselan
>>
>> Dear Sir
>> I am a student of Fh deggendorf, germany and currently working on a
>> school project to geotag images on the fly. After comprehensive google
>> search, I saw Sanselan library as a good start.
>> I have included the jar in my netbeans project, went through the example
>> codes but unfortunately I can not figure out how to add longitude and
>> latitude to jpeg images.
>> Please could you give me some pointers on how to achieve this.
>> Thank you very much as I anxiously await your response.
>>
>>
>>
>> Emmanuel
>>
>>
>>
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>