OGR join between shapefile and DBF

Delfos, Jacob jacob.delfos at MAUNSELL.COM
Mon Dec 19 23:02:10 EST 2005


> Jacob,
> 
> I think you need
> ... LEFT JOIN 'c:/data/descr.dbf'.descr b ON a.CODE = b.CODE"
> 
> The 'c:/data/descr.dbf' indicates the datasource, but you still need
> to select the table from within that datasource.  Of course, you know
> there is only one table (the descr table) in that datasource, but OGR
> demands to be told that directly.

Yes, that was it. Thanks for that. I would never have found that.

Best regards,

Jacob



More information about the mapserver-users mailing list