<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">Hi Ivan,<br>
Look here:
<a class="moz-txt-link-freetext" href="http://www.gdal.org/gdal__alg_8h.html#af4c3c0d4c79218995b3a1f0bac3700a0">http://www.gdal.org/gdal__alg_8h.html#af4c3c0d4c79218995b3a1f0bac3700a0</a><br>
<br>
You can find such options:<br>
<ul style="color: rgb(0, 0, 0); font-family: 'Lucida Grande',
Verdana, Geneva, Arial, sans-serif; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
<li>
<p class="startli" style="font-family: 'Lucida Grande',
Verdana, Geneva, Arial, sans-serif; font-size: 12px;
margin-top: 2px;">RPC_HEIGHT: a fixed height offset to be
applied to all points passed in. In this situation the Z
passed into the transformation function is assumed to be
height above ground, and the RPC_HEIGHT is assumed to be an
average height above sea level for ground in the target
scene.</p>
</li>
<li>
<p class="startli" style="font-family: 'Lucida Grande',
Verdana, Geneva, Arial, sans-serif; font-size: 12px;
margin-top: 2px;">RPC_HEIGHT_SCALE: a factor used to
multiply heights above ground. Usefull when elevation
offsets of the DEM are not expressed in meters. (GDAL >=
1.8.0)</p>
</li>
<li>
<p class="startli" style="font-family: 'Lucida Grande',
Verdana, Geneva, Arial, sans-serif; font-size: 12px;
margin-top: 2px;">RPC_DEM: the name of a GDAL dataset (a DEM
file typically) used to extract elevation offsets from. In
this situation the Z passed into the transformation function
is assumed to be height above ground. This option should be
used in replacement of RPC_HEIGHT to provide a way of
defining a non uniform ground for the target scene (GDAL
>= 1.8.0)</p>
</li>
<li>RPC_DEMINTERPOLATION: the DEM interpolation (near, bilinear
or cubic)</li>
</ul>
<dl style="font-family: 'Lucida Grande', Verdana, Geneva, Arial,
sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
<dt style="font-weight: bold;"><br>
</dt>
</dl>
Best regards,<br>
Dmitry<br>
<br>
16.01.2013 19:54, Ivan Lucena пишет:<br>
</div>
<blockquote cite="mid:50F6CD44.8020205@princeton-ma.us" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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
moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
<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>