<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-9" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<p><font size="2"><b>Tom </b></font></p>

<p><strong><font size="2">sorry for the previous e mail, I was made a mistake,</font></strong></p>

<p><strong><font size="2">Please change the line in your new ovf file with the following line</font></strong></p>

<p><font face="Arial" size="2">&lt;SrcDataSource&gt;ODBC:****/****@CABIN,OGRPoints&lt;/SrcDataSource&gt;</font></p>

<p></p>

<p><font face="Arial" size="2">regards...</font></p>

<p><font face="Arial" size="2">Murat</font></p>

<p><font size="2"><b>On Thu, 12 Oct 2006 22:57:30 +0300, Murat BEYHAN wrote</b>
<br />&gt; <font size="2"><b>Tom,</b></font> 
<br />&gt; <strong><font size="2">At the following line I think, but I'm not sure, You should write the name of table as your old ovf file.</font></strong> 
<br />&gt; <strong></strong>
<br />&gt; <font size="2">&gt; <font face="Arial" size="2">        &lt;SrcDataSource&gt;ODBC:****/****@CABIN&lt;/SrcDataSource&gt;</font> 
<br />&gt; </font>
<br />&gt; <font size="2"><b>Please try to change the line as follows,</b></font> 
<br />&gt; <font face="Courier New" size="2"><font face="Arial">&lt;SrcDataSource&gt;ODBC:****/****@CABIN&lt;/SrcDataSource,</font>OGRPoints&gt;</font> 
<br />&gt; <font face="Courier New" size="2">Good luck...</font> 
<br />&gt; <font face="Courier New" size="2">Murat</font> 
<br />&gt; <font size="2"><b>On Thu, 12 Oct 2006 13:10:33 -0400, Pascoe,Tim [Burlington] wrote</b> 
<br />&gt; &gt; <font face="Arial" size="2">I'm experimenting with placing my OVF file in line, in order to pass in some variables for a custom WHERE Statement. The first step I took was changing my OVF file to use the scrSQL tag with a very simple SQL statement, instead of the srcLayer tag. Both OVF files point to the same view, in the same database.</font> 
<br />&gt; &gt; <font face="Arial" size="2">New File:</font> 
<br />&gt; &gt; <font face="Arial" size="2">&lt;OGRVRTDataSource&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">    &lt;OGRVRTLayer name=&quot;CABINPoints&quot;&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">        &lt;SrcDataSource&gt;ODBC:****/****@CABIN&lt;/SrcDataSource&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">        &lt;SrcSQL&gt;SELECT * FROM OGRPoints&lt;/SrcSQL&gt;</font> 
<br />&gt; &gt;         <font face="Arial" size="2">  &lt;FID&gt;sitedetailsid&lt;/FID&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">        &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">        &lt;LayerSRS&gt;WGS84&lt;/LayerSRS&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">    &lt;GeometryField encoding=&quot;PointFromColumns&quot; x=&quot;longitude&quot; y=&quot;latitude&quot;/&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">    &lt;/OGRVRTLayer&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">&lt;/OGRVRTDataSource&gt;</font> 
<br />&gt; &gt; <font face="Arial" size="2">Old FIle:</font> 
<br />&gt; &gt; <font face="Courier 

New" size="2">&lt;OGRVRTDataSource&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">    &lt;OGRVRTLayer name=&quot;CABINPoints&quot;&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">        &lt;SrcDataSource&gt;ODBC:****/****@CABIN,OGRPoints&lt;/SrcDataSource&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">        &lt;SrcLayer&gt;OGRPoints&lt;/SrcLayer&gt;</font> 
<br />&gt; &gt;         <font face="Courier 

New" size="2">  &lt;FID&gt;sitedetailsid&lt;/FID&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">        &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">        &lt;LayerSRS&gt;WGS84&lt;/LayerSRS&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">    &lt;GeometryField encoding=&quot;PointFromColumns&quot; x=&quot;longitude&quot; y=&quot;latitude&quot;/&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">    &lt;/OGRVRTLayer&gt;</font> 
<br />&gt; &gt; <font face="Courier 

New" size="2">&lt;/OGRVRTDataSource&gt;</font> 
<br />&gt; &gt; <font face="Courier New" size="2">The problem is, the old OVF returns a proper image, while the new one returns a blank image. I ran the new file through OGRInfo and shp2ogr, and both behave properly.</font> 
<br />&gt; &gt; <font face="Arial" size="2">So&#8230;&#8230;..why am I getting a blank image with the scrSQL tag? I'm using the latest version of the MS4W file set, but running on IIS on Windows 2000. Any suggestions would be great - it's probably somthing very simple I'm missing :)</font> 
<br />&gt; &gt; <font face="Arial" size="2">Tim Pascoe</font> 
<br />&gt; &gt; -- 
<br />&gt; &gt; This message has been scanned for viruses and 
<br />&gt; &gt; dangerous content by <a href="http://www.mailscanner.info/"></b /></b><b>MailScanner</a>, and is 
<br />&gt; &gt; believed to be clean. 
<br />&gt; 
<br />&gt; -- 
<br />&gt; Open WebMail Project (<a href="http://openwebmail.org/" target="_blank">http://openwebmail.org</a>) 
<br />&gt; 
<br />&gt; </font>
<br />&gt; -- 
<br />&gt; This message has been scanned for viruses and 
<br />&gt; dangerous content by <a href="http://www.mailscanner.info/"></b><b>MailScanner</a>, and is 
<br />&gt; believed to be clean. 
<br />
<br />
<br />-- 
<br />Open WebMail Project (<a href="http://openwebmail.org/" target="_blank">http://openwebmail.org</a>) 
<br />
<br /></font></p>

</BODY>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>