<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I'm looking to set up a mapfile with an inline ovf data source as described in part 2 of section 5 at <span style="color: rgb(0, 0, 255);">http://mapserver.org/input/vector/VirtualSpatialData.html</span><br><span style="text-decoration: underline;"></span><br>I'm also looking to embed an SQL in the ovf with a where clause, using runtime variable substitution as described at <span style="color: rgb(0, 0, 255);">http://mapserver.org/cgi/runsub.html?highlight=variable</span><br><br>The latter says that such runtime substitution is supported in the CONNECTION &amp; DATA fields within the LAYER object.<br><br>I'm unclear as to how a where clause can be inserted in the ovf definition, and am hoping that this will be in the CONNECTION or DATA fields, and is amenable to runtime variable substitution.<br><br>Basically with the URL
 including:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;job_id=23<br>have an ovf where clause specified like: &nbsp;&nbsp;&nbsp;&nbsp; ...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where job=%job_id%<br><br>&nbsp;thus from this<br><br>have an ovf ODBC connection pass a where clause like: &nbsp; and job_id=23 ..."  <br><br>This is connecting to an aspatial Oracle database returning up to 100 point features from a table with X Y columns..<br><br>Can anyone provide some hints on:<br><br>1. Is this possible?<br>2. How best to implement it?<br><br><br>Thanks,<br><br>&nbsp;&nbsp; Brent Wood<br><br><br></td></tr></table>