<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/11/2014 02:06 AM, Jonathan Moules
wrote:<br>
</div>
<blockquote
cite="mid:CAA-xNcWgnwkm43cBx=6BBA5WuOGmRDwjxuf1YOMjo4+1OMBSFA@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<br>
</div>
TIFF stores floating point values as IEEE754 floats.
Talking about significant<br>
figures doesn't make much sense. You could test using
Float64 with the hope<br>
that 50.597 can be exactly represented as a Float64.
Otherwise you'll have to<br>
do the rounding when reading back from TIFF.<br>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Hi Even,</div>
<div class="gmail_extra">Thanks for the information. I don't
pretend to understand the fine details of floats, but it does
seem counter intuitive that a simple 2 or 3 decimal places
can't be accurately represented.</div>
</div>
</blockquote>
Here's a crazy idea could you perhaps use mm and then output to an
integer raster? No problem representing 50597mm.
<blockquote
cite="mid:CAA-xNcWgnwkm43cBx=6BBA5WuOGmRDwjxuf1YOMjo4+1OMBSFA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I tried the Float64 but the values are
identical (16 significant figures) even though the filesize is
predictably larger.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I guess I'll have to make do, but it
does introduce the problem of False Precision.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks all,</div>
<div class="gmail_extra">
Jonathan</div>
<div class="gmail_extra"><br>
</div>
</div>
<br>
<span
style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This
transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to
RESTRICTED and should be handled accordingly. Unless you are the
named addressee (or authorised to receive it for the addressee)
you may not copy or use it, or disclose it to anyone else. If
you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to
recording and/or monitoring in accordance with relevant
legislation.</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>