<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>Message</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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 link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>I am using a chameleon app…and
getting the following error:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>“Error rendering map image:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>A fatal error occurred drawing
the map”<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I did try setting the STATUS to
default with no change…<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </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> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;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> </o:p></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>How is it failing? </span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Are you getting an error message? </span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>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:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>David.</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
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:12.0pt;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…using the following mapfile layer definition:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt'> LAYER<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> NAME
"Fire Data"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> GROUP
"Fire Data"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> STATUS on<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> TYPE point<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
CONNECTIONTYPE OGR<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> CONNECTION
"<OGRVRTDataSource><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
<OGRVRTLayer
name='firegis'>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
<SrcLayer>mapsonline.csv</SrcLayer>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
<GeometryField
encoding='PointFromColumns' x='XCOORD'
y='YCOORD'/>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
<GeometryType>wkbPoint</GeometryType><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
</OGRVRTLayer><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
</OGRVRTDataSource>"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> TEMPLATE
"ttt"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> TOLERANCE 4<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> CLASS<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
NAME "Fire
Data"
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
SYMBOL "circle"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
OUTLINECOLOR 80 80 80<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
COLOR 219 0 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'>
SIZE 12<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt'> END<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>But this fails. Do I need an ODBC….or is it true I can
access a text file directly in this manner. 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> </o:p></p>
<p class=MsoNormal>Also, can the .csv file just as easily be a .txt file….and
can the entries have quotations around them?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Kevin
</span><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</blockquote>
</div>
</body>
</html>