<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle18 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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 lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff size=2>I 
would simplify it down for testing purposes.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff size=2>If you 
don't already have it, download FWTools and use shp2img against your mapfile to 
see if you can get it to draw.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff size=2>To 
narrow it even further, I would start by &nbsp;running ogrinfo against your 
virtual datasource to see if you can get data out of it.&nbsp; 
</FONT></SPAN></DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=794191818-18042007><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Kevin 
  Flanders<BR><B>Sent:</B> Wednesday, April 18, 2007 1:09 PM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] 
  Virtual Tables<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">I am using a chameleon app&#8230;and 
  getting the following error:<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">&#8220;Error rendering map 
  image:<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">A fatal error occurred drawing 
  the map&#8221;<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">I did try setting the STATUS 
  to default with no change&#8230;<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Kevin<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Fawcett, David 
  [mailto:David.Fawcett@state.mn.us] <BR><B>Sent:</B> Wednesday, April 18, 2007 
  2:04 PM<BR><B>To:</B> Kevin Flanders; 
  MAPSERVER-USERS@lists.umn.edu<BR><B>Subject:</B> RE: [UMN_MAPSERVER-USERS] 
  Virtual Tables<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p>&nbsp;</o:p></P>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">How is 
  it failing?&nbsp; </SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">&nbsp;<o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Are 
  you getting an error message? </SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">&nbsp;<o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Are 
  you specifically calling the layer by name in the URL or post request, or have 
  you tried setting STATUS to DEFAULT?</SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">&nbsp;<o:p></o:p></SPAN></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">David.</SPAN><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0in">
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">-----Original 
    Message-----<BR><B>From:</B> UMN MapServer Users List 
    [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Kevin 
    Flanders<BR><B>Sent:</B> Wednesday, April 18, 2007 12:41 PM<BR><B>To:</B> 
    MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] 
    Virtual Tables</SPAN><SPAN 
    style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
    <P class=MsoNormal>I would like to map a virtual table, and I am told I can 
    do it without declaring an ODBC&#8230;using the following mapfile layer 
    definition:<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp; 
    LAYER<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; NAME 
    "Fire Data"<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; GROUP 
    "Fire Data"<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; STATUS 
    on<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; TYPE 
    point<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; 
    CONNECTIONTYPE OGR<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; 
    CONNECTION "&lt;OGRVRTDataSource&gt;<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;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>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&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;&lt;GeometryField 
    encoding='PointFromColumns' x='XCOORD' 
    y='YCOORD'/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&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;&lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&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;&lt;/OGRVRTLayer&gt;<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&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;&lt;/OGRVRTDataSource&gt;"<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; TEMPLATE 
    "ttt"<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; TOLERANCE 
    4<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; 
    CLASS<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "Fire 
    Data"&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 
    "circle"<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 80 80 
    80<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 219 0 
    0<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 
    12<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp; 
    END<o:p></o:p></SPAN></P>
    <P class=MsoNormal><SPAN style="FONT-SIZE: 9pt">&nbsp; 
    END<o:p></o:p></SPAN></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal>But this fails.&nbsp; Do I need an ODBC&#8230;.or is it true I 
    can access a text file directly in this manner.&nbsp; The data is being 
    placed with all my other shapefiles (ie. in the same folder).<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal>Also, can the .csv file just as easily be a .txt 
    file&#8230;.and can the entries have quotations around them?<o:p></o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <DIV>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Kevin 
    </SPAN><o:p></o:p></P></DIV>
    <P 
class=MsoNormal><o:p>&nbsp;</o:p></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>