<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <pre class="fragment">Hello List,

I could probably figure it out from the source, but I would apprecaite
if someone could point me in the right direction.

The question is: does GDAL / OGR loads the file in the memory when it 
opens in or it just keeps reference to the actual file

Say if I open it, process it etc

hDS = <a class="code" href="http://www.gdal.org/ogr/ogr__api_8h.html#123bb02ac8c5cfe143e132f627531125" title="Open a file / data source with one of the registered drivers.">OGROpen</a>( <span class="stringliteral">"point.shp"</span>, FALSE, NULL );

....

and then do (without closing)

 poLayer-&gt;<a class="code" href="http://www.gdal.org/ogr/classOGRLayer.html#ad0f2cd7f0587584b8f382c6a913583c" title="Reset feature reading to start on the first feature.">ResetReading</a>();

and process again

would it actually trigger re-reading file from the disk or not?

In other words does OGR creates complete memory image for the file or
just reads actual file when it needs something?

Thank you
Mikhail


</pre>
    <br>
  
<p><pre>
<html>
<body>
<FONT face=  "Arial" size=  "-1">
PLEASE NOTE: This message, including any attachments, may 
include privileged, confidential and/or inside information. Any 
dissemination, distribution or copy of this communication by   
anyone other than the intended recipient is strictly 
prohibited. If you are not the intended recipient, please 
notify the sender by replying to this message and then delete 
it from your system. Information provided via electronic media 
is not guaranteed against defects including translation and 
transmission errors. The company accepts no liability for any 
damage caused by any virus transmitted by this email.
  
Geometrics Inc.
2190 Fortune Drive
San Jose, CA 95131 USA
</FONT>
</body>
</html>
</pre></p>
</body>
</html>