<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Yehiyam,<br>
<br>
For that kind of issue my advise is to run in debugging mode. The
GDAL transformation engine must have an internal pixel geolocation
defined. It is probably CENTER of the pixel, as in AREA. I am not
sure. In that case the returning pixel/line refers to AREA and you
might need to do the adjustment. But again, I would debug it to
make sure. We have instructions on how to debug GDAL using VS and
NetBeans on wiki. I just can't find it. I can't find anything
about the RPC_DEM either. Where did you get it?<br>
<br>
Regards,<br>
<br>
Ivan<br>
<br>
On 1/16/13 7:40 AM, Livneh Yehiyam wrote:<br>
</div>
<blockquote
cite="mid:C5D1974ECA44D2429ECBC64B967C34C0CAF1C4151B@MAILBOXSERVER.rf.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</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]-->
<table align="center">
<tbody>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
<div class="Section1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal">I have a question about the RPC transform
implemented in gdal_rpc.cpp.<o:p></o:p></p>
<p class="MsoNormal">If a dem file is specified in the transform
options
(RPC_DEM) the file is sampled to retrieve the elevation of the
transformed point.<o:p></o:p></p>
<p class="MsoNormal">In the case where the dem file is a DTED
file (which defines
AREA_OR_POINT to POINT), shouldn't the pixel/line values in
the dem file be
offset by half a pixel to get the correct height?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Yehiyam<o:p></o:p></p>
</div>
<table dir="ltr">
<tbody>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
________________________________________<br>
This message (including any attachments) issued by RAFAEL-
ADVANCED DEFENSE SYSTEMS LTD. (hereinafter "RAFAEL") contains
confidential information intended for a specific individual and
purpose, may constitute information that is privileged or
confidential or otherwise protected from disclosure. If you are
not the intended recipient, you should contact us immediately and
thereafter delete this message from your system. You are hereby
notified that any disclosure, copying, dissemination, distribution
or forwarding of this message, or the taking of any action based
on it, is strictly prohibited. If you have received this e-mail in
error, please notify us immediately by e-mail
<a class="moz-txt-link-freetext" href="mailto:lawraf@rafael.co.il">mailto:lawraf@rafael.co.il</a> and completely delete or destroy any
and all electronic or other copies of the original message and any
attachments thereof.
<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>