Yehiyam,
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?
Regards,
Ivan
On 1/16/13 7:40 AM, Livneh Yehiyam wrote:
Hi
I have a question about the RPC transform implemented in gdal_rpc.cpp.
If a dem file is specified in the transform options (RPC_DEM) the file
is sampled to retrieve the elevation of the transformed point.
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?
Thanks
Yehiyam
________________________________________
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
mailto:law...@rafael.co.il and completely delete or destroy any and
all electronic or other copies of the original message and any
attachments thereof.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev