<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
{font-family:"Credit Valley";
panose-1:2 0 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Arial","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Arial","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>I am new to GDAL. I recently downloaded GDAL have successfully built <o:p></o:p></p><p class=MsoPlainText>and linked to the source. The program I am writing reads in a <o:p></o:p></p><p class=MsoPlainText>GeoTiff DEM (32bit format) and writes the dem data portion out to a <o:p></o:p></p><p class=MsoPlainText>ntif file (using NITRO NITF routines from sourceforge).<o:p></o:p></p><p class=MsoPlainText>I then ran the command od -c on the tif file I am reading and on the <o:p></o:p></p><p class=MsoPlainText>ntif I just created to compare the DEM data area. I noticed that <o:p></o:p></p><p class=MsoPlainText>while the data is there that the bytes appear to have been swapped. <o:p></o:p></p><p class=MsoPlainText>I am assuming that I don't want it to do that. I was wondering if <o:p></o:p></p><p class=MsoPlainText>anyone has encountered this same thing and if there is something that <o:p></o:p></p><p class=MsoPlainText>I should be doing differently? I researched the bug list and all <o:p></o:p></p><p class=MsoPlainText>mentions of byteswapping pretty much have been closed due to being <o:p></o:p></p><p class=MsoPlainText>fixed. So I am assuming that I must be doing something wrong at my end.<o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Comic Sans MS"'>Thank you,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Comic Sans MS"'>Becky Trist<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Comic Sans MS"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Comic Sans MS"'>SAIC<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Comic Sans MS"'>100 Rialto Place, Suite 200<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Comic Sans MS"'>Melbourne, FL 32901<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Comic Sans MS"'>321-751-3236<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Comic Sans MS"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:14.0pt;font-family:"Credit Valley";color:#00B050'>“Sometimes you have to look reality in the eye, and deny it.”</span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> </span><span style='font-size:14.0pt;font-family:"Credit Valley";color:#00B050'> - Garrison Keillor</span><span style='font-size:14.0pt;font-family:"Credit Valley";color:#00B050'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>