<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 15 (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;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Greetings,<br>
<br>
Our team decided to use GDAL in our code to support certain business requirements. Each time we do an analysis we need the elevation profile lines, our analyses run through 10,000s of such cases across a large area. Which means we need to extract these elevation
 profile lines 10,000s per session. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Currently, we have a partially-working solution in C# (we’re using C# bindings for GDAL) but when we load several DTED files and increase their resolution we run into “OutOfMemoryExceptions”.
 We are  “manually” extract all of the elevations out of these files into large lists in memory (10’s of millions of elevations, spread over large area). How would you go about making sure that you could do this quickly and efficiently? We need technical guidance
 on how to support the objectives we outlined below within the GDAL/OGR framework.<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Objectives:<br>
1) We have a large set of terrain files in DTED format, we want to load these into the application<br>
2) We want to potentially warp the terrain data (increase resolution or crop the extents of the terrain data) which they have loaded into the application<br>
3) Once the terrain data is loaded into the application, we want to:<br>
                                                                               • extract elevation profile lines from the terrain data (i.e., the list of elevations, in meters, between two input lat/lon coordinates).<br>
                                                                               • extract elevation, in meters, at a single input lat/lon coordinate.<br>
<br>
Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Nabil Adechoubou<o:p></o:p></p>
</div>
</body>
</html>