<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>ogr2ogr to join attributes</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>I have put in the following do I can join the attribute table.&nbsp; The command that I used is,<BR>
ogr2ogr&nbsp; &quot;SELECT GRID_CODE.*grid_id.*&nbsp; FROM id150_2 GRID_CODE LEFT JOIN 'population.csv'.grid_id ON GRID_CODE=grid_id&quot; id150_out2.shp id150_2.shp and the output is,<BR>
FAILURE:<BR>
Unable to open datasource `id150_2.shp' with the following drivers.<BR>
&nbsp; -&gt; ESRI Shapefile<BR>
&nbsp; -&gt; UK .NTF<BR>
&nbsp; -&gt; SDTS<BR>
&nbsp; -&gt; TIGER<BR>
&nbsp; -&gt; S57<BR>
&nbsp; -&gt; MapInfo File<BR>
&nbsp; -&gt; DGN<BR>
&nbsp; -&gt; VRT<BR>
&nbsp; -&gt; AVCBin<BR>
&nbsp; -&gt; REC<BR>
&nbsp; -&gt; Memory<BR>
&nbsp; -&gt; CSV<BR>
&nbsp; -&gt; GML<BR>
&nbsp; -&gt; PostgreSQL<BR>
Not sure what I am doing wrong.<BR>
Thanks<BR>
Dawn</FONT>
</P>

</BODY>
</HTML>