File: drv_mdb.html

package info (click to toggle)
gdal 1.10.1+dfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 84,320 kB
  • ctags: 74,726
  • sloc: cpp: 677,199; ansic: 162,820; python: 13,816; cs: 11,163; sh: 10,446; java: 5,279; perl: 4,429; php: 2,971; xml: 1,500; yacc: 934; makefile: 494; sql: 112
file content (69 lines) | stat: -rw-r--r-- 2,542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

<html>
<head>

  <title>Access MDB databases</title>
</head>

<body bgcolor="#FFFFFF">
  <h1>Access MDB databases</h1>

  <p>GDAL/OGR >= 1.9.0</p>

  <p>OGR optionally supports reading access .mdb
  files by using the Java <a href="http://jackcess.sourceforge.net/">Jackcess</a> library.</p>

  <p>This driver is primarly meant as being used on Unix platforms to overcome the
     issues often met with the MDBTools library that acts as the ODBC driver for MDB databases.</p>

  <p>The driver can detect ESRI Personal Geodatabases and Geomedia MDB databases, and will
     deal them exactly as the <a href="drv_pgeo.html">PGeo</a> and
     <a href="drv_geomedia.html">Geomedia</a> drivers do. For other MDB databases, all the tables
     will be presented as OGR layers.</p>

  <h2>How to build the MDB driver (on Linux)</h2>

  You need a JDK (a JRE is not enough) to build the driver.

  On Ubuntu 10.04 with the openjdk-6-jdk package installed,

  <pre>./configure --with-java=yes --with-mdb=yes</pre>

  On others Linux flavours, you may need to specify :

  <pre>./configure --with-java=/path/to/jdk/root/path --with-jvm-lib=/path/to/libjvm/directory --with-mdb=yes</pre>

  where /path/to/libjvm/directory is for example /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server <p>

  It is possible to add the <i>--with-jvm-lib-add-rpath</i> option (no value or "yes") to embed the path
  to the libjvm.so in the GDAL library.<p>

  <h2>How to run the MDB driver (on Linux)</h2>

  You need a JRE and 3 external JARs to run the driver.

  <ol>
  <li>If you didn't specify --with-jvm-lib-add-rpath at configure time, set the path of the directory that contains libjvm.so in LD_LIBRARY_PATH or in /etc/ld.so.conf.</li>
  <li>Download jackcess-1.2.2.jar, commons-lang-2.4.jar and commons-logging-1.1.1.jar (other versions might work)</li>
  <li>Put the 3 JARs either in the lib/ext directory of the JRE (e.g. /usr/lib/jvm/java-6-openjdk/jre/lib/ext) or in another directory
  and explicitly point them with the CLASSPATH environment variable.</li>
  </ol>

  <h2>Resources</h2>

  <ul>
  <li><a href="http://jackcess.sourceforge.net/">Jackcess</a> library home page</li>
  <li>Utility that contains the needed <a href="http://mdb-sqlite.googlecode.com/files/mdb-sqlite-1.0.2.tar.bz2">JARs dependencies</a></lib>
  </ul>

  <h2>See also</h2>

  <ul>
  <li><a href="drv_pgeo.html">PGeo</a> driver page</li>
  <li><a href="drv_geomedia.html">Geomedia</a> driver page</li>
  </ul>

</body>
</html>