Martin,<br><br>GDAL cannot the tags you want in the tiff file.<br><br>You may be able to set the tags using tiffset or some other application through python. (my two cents)<br><br><div class="gmail_quote">On Wed, Jun 16, 2010 at 6:53 PM, Martin Raspaud <span dir="ltr">&lt;<a href="mailto:martin.raspaud@smhi.se">martin.raspaud@smhi.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Chaitanya kumar CH skrev:<br>
<div class="im">&gt; Martin,<br>
&gt;<br>
&gt; Please provide more details. What was the error message.<br>
&gt; Refer to<br>
&gt; (<a href="http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py" target="_blank">http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py</a>)<br>
&gt; for examples.<br>
&gt; The metadata items are stored according to the profile used.<br>
&gt; (<a href="http://gdal.org/frmt_gtiff.html" target="_blank">http://gdal.org/frmt_gtiff.html</a>)<br>
<br>
</div>Hi,<br>
<br>
thanks for the info.<br>
<br>
Unfortunately this is not relevant to our situation. We are looking to write<br>
specific custom tiff tags in the file, tags of which we know the name, the type,<br>
the id number and the value.<br>
<br>
For example the tag<br>
NTD_Magic<br>
which has 40000 as Id number, is an ascii field and hold &quot;MAGIC&quot; as value.<br>
<br>
Using the standard setmetadata function in gdal writes the tag inside this xml<br>
GDALinfo object, which is not what we want...<br>
<div class="im"><br>
Martin<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
Comment: Using GnuPG with Fedora - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iQEcBAEBAgAGBQJMGNBEAAoJEBdvyODiyJI48YIIAMN+u7WCEusWhTajYnmY8xVX<br>
8qpyT6mmvYKLO/YsCh0a9ffygOy0C3louRgT/Z+FMLu2qZTQvbRtPu9yD7T0MrOt<br>
k4U8pxyWR4YyR4JJWhgUqr01/trdVnKCiUAtLWEScK9wzfYSVP7XNSZh709sHIYS<br>
fGy5PfdWF0WNnbov5HWmfaefAhL+4J0u0381hxrvbgZL6++UlAIUlKjiKEUeAYoz<br>
Ixl4wWOGwMvUFUPeeiYc0JzGRduGBoiqynQEi1udojcjdRr0iB61AqvlXtrGsn/2<br>
Ai3rYJ+b4e37YPREwSRJowrg33hYt8MPjSjHr2awIRHIfqBYotthfGD7hlMm76s=<br>
=4yFP<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>