[GRASS-user] ogr2ogr to join attributes

Abbott, Dawn abbottd at seattleu.edu
Thu Dec 21 19:00:58 EST 2006


I have put in the following do I can join the attribute table.  The command that I used is,
ogr2ogr  "SELECT GRID_CODE.*grid_id.*  FROM id150_2 GRID_CODE LEFT JOIN 'population.csv'.grid_id ON GRID_CODE=grid_id" id150_out2.shp id150_2.shp and the output is,
FAILURE:
Unable to open datasource `id150_2.shp' with the following drivers.
  -> ESRI Shapefile
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> MapInfo File
  -> DGN
  -> VRT
  -> AVCBin
  -> REC
  -> Memory
  -> CSV
  -> GML
  -> PostgreSQL
Not sure what I am doing wrong.
Thanks
Dawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20061221/3e8d4887/attachment.html


More information about the grass-user mailing list