<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><font class="Apple-style-span" face="arial" size="2">I am using a VRT layer to show labels from a csv file. &nbsp;I can get encoding='WKT' to work but encoding='PointFromColumns' does not draw anything. &nbsp;</font><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial; font-size: 13px; ">In both cases, I can use ogrinfo -al on the vrt section and it works.</span><div style="font-family: arial; font-size: 10pt; "><br></div><div style="font-family: arial; font-size: 10pt; ">When I replace this line-</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><font class="Apple-style-span" face="arial" size="2"><meta http-equiv="content-type" content="text/html; charset=utf-8">&lt;GeometryField encoding='WKT' field='WKT'/&gt;<br></font><div style="font-family: arial; font-size:
 10pt; ">With this line-</div><div><font class="Apple-style-span" face="arial" size="2"><meta http-equiv="content-type" content="text/html; charset=utf-8">&lt;GeometryField encoding='PointFromColumns' x='CLON' y='CLAT'/&gt;</font></div><div style="font-family: arial; font-size: 10pt; ">Mapserver can no longer render it.</div><div style="font-family: arial; font-size: 10pt; "><br></div><div style="font-family: arial; font-size: 10pt; ">csv file:</div><div style="font-family: arial; font-size: 10pt; "><div>"NAME","CLON","CLAT","WKT"</div><div>"Vernon","-5922308","3647303","POINT(-5922308 3647303)"</div><div>"Rapides","-5847278","3659270","POINT(-5847278 3659270)"</div><div>"Grant","-5853735","3710003","POINT(-5853735 3710003)"</div><div>"Avoyelles","-5786275","3645222","POINT(-5786275 3645222)"</div></div><div style="font-family: arial; font-size: 10pt; "><br></div><div style="font-family: arial; font-size: 10pt; ">layer section in mapfile:</div><div
 style="font-family: arial; font-size: 10pt; "><br></div><div style="font-family: arial; font-size: 10pt; "><div>LAYER</div><div>&nbsp;CONNECTION "&lt;OGRVRTDataSource&gt;</div><div>&nbsp;&lt;OGRVRTLayer name='county'&gt;</div><div>&nbsp;&lt;SrcDataSource&gt;county.csv&lt;/SrcDataSource&gt;</div><div>&nbsp;&lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;</div><div>&nbsp;&lt;LayerSRS&gt;+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=-40 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_d&lt;/LayerSRS&gt;</div><div>&nbsp;&lt;GeometryField encoding='PointFromColumns' x='CLON' y='CLAT'/&gt;</div><div>&nbsp;&lt;/OGRVRTLayer&gt;</div><div>&nbsp;&lt;/OGRVRTDataSource&gt;"</div><div>&nbsp;CONNECTIONTYPE OGR</div><div>&nbsp;NAME "Counties_Labels"</div><div>&nbsp;STATUS DEFAULT</div><div>&nbsp;TYPE ANNOTATION</div><div>&nbsp;PROJECTION</div><div>"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=-40 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m
 +nadgrids=@null +wktext +no_d"</div><div>&nbsp;END</div><div>&nbsp;LABELITEM "NAME"</div><div>&nbsp;CLASS</div><div>&nbsp;&nbsp;LABEL</div><div>&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1</div><div>&nbsp;&nbsp; FONT FreeSans</div><div>&nbsp;&nbsp; SIZE 10</div><div>&nbsp;&nbsp; TYPE truetype</div><div>&nbsp;&nbsp; COLOR 0 0 0</div><div>&nbsp;&nbsp; FORCE TRUE</div><div>&nbsp;&nbsp;END</div><div>&nbsp;END</div><div>END</div></div></div></td></tr></table><br>