7

I need to import info on a QGIS project.

The info are in a MDB file (population, mean age, number of cars and so on: one record per region) that is written to be connected with a region shape from an unique ID (the ID is the same in the MDB and in the QGIS shapefile).

nmtoken
  • 13,355
  • 5
  • 38
  • 87
Ale
  • 1,313
  • 4
  • 26
  • 48

3 Answers3

5

Keep in mind that QGIS 1.8 on Windows supports .mdb under Layer->Add Vector Layer...->Browse->and change the file type in the drop-down to the right of the "File name"" form field.

But.... QGIS 1.8 on OSX does not support opening of .mdb's (afaict)

jeffme
  • 155
  • 2
  • 8
3

WARN: it seems the 'Join Attributes' function ha been removed from fTools 0.6.2, solution for me was to downgrade to 0.6.1.


You can use QGIS to perform the operation you want, please proceed as follows:

  1. if not installed already, install Quantum GIS (an Open Source desktop GIS) and then install fTools as described here
  2. export the mdb table or query into dbf format (from Access, select the object, right click, export)
  3. open the region shapefile in qgis
  4. click on the Vector menu, Data management, Join attributes (I am translating roughly from my localized version)
  5. fill out the dialog and then click ok
  6. you should now have another layer with data from btoh the region shapefile and the dbf file

See the image below for an example:

Usage example

unicoletti
  • 7,339
  • 22
  • 33
  • done (QGIS v1.7.4) 2. done 3. done (the existing shape eg. "Town.shp", without my info) 4. done 5. is asks: "vector output" and "join vector" but I cannot find my file "info.dbf". I think "output shapefile" is the name of my new shape
  • – Ale Jun 26 '12 at 08:10
  • I have updated my answer – unicoletti Jun 26 '12 at 10:05
  • my Vector menu/Data Managment is a bit different (Qgis 1.7.4) and I am not able to find the new layer coming from info.dbf – Ale Jun 26 '12 at 13:04