<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
{font-family:"Courier \000ANew";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</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 bgcolor=white lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Murat,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> Thanks for the suggestion.
Unfortunalty, this has had no effect on the behavior. Also, how would I do this
if I had a SELECT statement involving more tables? Or would I just put all the
tables in the list?</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
<p><font size=3 color=navy face="Comic Sans MS"><span style='font-size:12.0pt;
font-family:"Comic Sans MS";color:navy'>Timothy Pascoe</span></font><font
color=navy><span style='color:navy'> <br>
</span></font><font size=1 color=navy face="Comic Sans MS"><span
style='font-size:7.5pt;font-family:"Comic Sans MS";color:navy'>Environmental
Systems Scientist</span></font><font color=navy><span style='color:navy'> <br>
<br>
</span></font><font size=2 color=purple face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:purple'>Environment <st1:country-region w:st="on">Canada</st1:country-region>
/ Environnement <st1:place w:st="on"><st1:country-region w:st="on">Canada</st1:country-region></st1:place><br>
<st1:place w:st="on"><st1:country-region w:st="on">Canada</st1:country-region></st1:place>
Centre for Inland Waters / Centre Canadien des Eaux Intérieures<br>
<st1:Street w:st="on"><st1:address w:st="on">867 Lakeshore Road</st1:address></st1:Street>
/ 867, chemin Lakeshore<br>
<st1:City w:st="on">Burlington</st1:City>, <st1:State w:st="on">Ontario</st1:State>
/ <st1:City w:st="on">Burlington</st1:City> (<st1:place w:st="on"><st1:State
w:st="on">Ontario</st1:State></st1:place>)</span></font><font color=navy><span
style='color:navy'> <br>
</span></font><font size=2 color=purple face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:purple'>L7R 4A6<br>
<br>
</span></font><font size=2 color=green face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:green'>Tel/Tél: (905)
336-6239<br>
Fax/</span></font><font size=2 color=green face="Trebuchet MS"><span
lang=EN-CA style='font-size:10.0pt;font-family:"Trebuchet MS";color:green'>Téléc</span></font><font
size=2 color=green face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:green'>: (905) 336-4699<br>
E-mail/C. élec: </span></font><font color=navy><span style='color:navy'><a
href="mailto:tim.pascoe@ec.gc.ca"><font size=2 face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS"'>tim.pascoe@ec.gc.ca</span></font></a><br>
</span></font><font size=2 color=navy face=Tahoma><span lang=EN-CA
style='font-size:10.0pt;font-family:Tahoma;color:navy'>Government of
Canada/Gouvernement du Canada</span></font><font color=navy><span
style='color:navy'> <br>
</span></font><i><font size=1 color=gray face="Comic Sans MS"><span
style='font-size:7.5pt;font-family:"Comic Sans MS";color:gray;font-style:italic'>This
e-mail represents the opinions and views solely held by its author and in no
manner may be considered as representing those of his/her employer.</span></font></i><o:p></o:p></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Murat BEYHAN
[mailto:beyhan@deprem.gov.tr] <br>
<b><span style='font-weight:bold'>Sent:</span></b> October 12, 2006 3:58 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Pascoe,Tim [<st1:City w:st="on"><st1:place
w:st="on">Burlington</st1:place></st1:City>]; MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
Strange OGR VRT Issue</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><b><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-weight:bold'>Tom,</span></font></b><o:p></o:p></p>
<p><strong><b><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>At
the following line I think, but I'm not sure, You should write the name of
table as your old ovf file.</span></font></b></strong><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>> </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
<SrcDataSource>ODBC:****/****@CABIN</SrcDataSource></span></font><font
size=2><span style='font-size:10.0pt'> </span></font><o:p></o:p></p>
<p><b><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-weight:bold'>Please try to change the line as follows,</span></font></b><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><SrcDataSource>ODBC:****/****@CABIN</SrcDataSource,</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>OGRPoints></span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'>Good luck...</span></font><o:p></o:p></p>
<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'>Murat</span></font><o:p></o:p></p>
<p style='margin-bottom:12.0pt'><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt;font-weight:bold'>On Thu, 12 Oct 2006 13:10:33 -0400,
Pascoe,Tim [<st1:City w:st="on"><st1:place w:st="on">Burlington</st1:place></st1:City>]
wrote</span></font></b><font size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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.</span></font><font size=2><span style='font-size:10.0pt'>
<br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>New File:</span></font><font size=2><span style='font-size:
10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><OGRVRTDataSource></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <OGRVRTLayer
name="CABINPoints"></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
<SrcDataSource>ODBC:****/****@CABIN</SrcDataSource></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
<SrcSQL>SELECT * FROM OGRPoints</SrcSQL></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>
<FID>sitedetailsid</FID></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
<GeometryType>wkbPoint</GeometryType></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>
<LayerSRS>WGS84</LayerSRS></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <GeometryField
encoding="PointFromColumns" x="longitude" y="latitude"/></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </OGRVRTLayer></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'></OGRVRTDataSource></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Old FIle:</span></font><font size=2><span style='font-size:
10.0pt'> <br>
> </span></font><font size=2 face="Courier
New"><span style='font-size:
10.0pt;font-family:"Courier \000ANew"'><OGRVRTDataSource></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'> <OGRVRTLayer
name="CABINPoints"></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>
<SrcDataSource>ODBC:****/****@CABIN,OGRPoints</SrcDataSource></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>
<SrcLayer>OGRPoints</SrcLayer></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2
face="Courier
New"><span style='font-size:10.0pt;font-family:"Courier \000ANew"'>
<FID>sitedetailsid</FID></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>
<GeometryType>wkbPoint</GeometryType></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>
<LayerSRS>WGS84</LayerSRS></span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'> <GeometryField
encoding="PointFromColumns" x="longitude"
y="latitude"/></span></font><font size=2><span style='font-size:
10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'> </OGRVRTLayer></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier
New"><span style='font-size:
10.0pt;font-family:"Courier \000ANew"'></OGRVRTDataSource></span></font><font
size=2><span style='font-size:10.0pt'> <br>
> </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>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.</span></font><font size=2><span
style='font-size:10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So……..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 :)</span></font><font size=2><span style='font-size:
10.0pt'> <br>
> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Tim Pascoe</span></font><font size=2><span style='font-size:
10.0pt'> <br>
> -- <br>
> This message has been scanned for viruses and <br>
> dangerous content by <a href="http://www.mailscanner.info/"><b><span
style='font-weight:bold'>MailScanner</span></b></a><b><span style='font-weight:
bold'>, and is <br>
> believed to be clean. <br>
<br>
<br>
-- <br>
Open WebMail Project (<a href="http://openwebmail.org/" target="_blank">http://openwebmail.org</a>)
</span></b></span></font><b><span style='font-weight:bold'><o:p></o:p></span></b></p>
</div>
</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>