[OT] access DBF files via ODBC (Linux)

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Wed Jun 1 03:56:02 EDT 2005


Hi list,

does anybody know how to connect to DBF files via ODBC on Linux like Frank suggested in his e-mail below? Is there an ODBC DBF driver for Linux?

Thanks in advance.

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> fwarmerdam at gmail.com 05/04/05 06:03pm >>>
On 5/4/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
> Hi Frank,
> 
> this thread reminded me of a question I wanted to ask, is there a similar way to connect to DBF files with additional attribute information using OGR? Which works both on Windows and Linux? Or would that require a new driver?

Bart,

OGR's Shapefile driver already supports accessing "bare" .dbf 
files with no .shp or .shx file.  So the shapefile driver is a "free"
dbf driver as well. Though limited to the relatively old and simple
style of .dbf normally used with shapefiles.  

DBF files can be access directly by name or as a directory.

You can also access DBF files via ODBC of course. 

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com 
light and sound - activate the windows | http://pobox.com/~warmerdam 
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list