October 2013
Beginner to intermediate
364 pages
8h 8m
English
Both OGR and PyShp read and write the dbf files because they are part of the shapefile specification. However, both libraries have a very basic dbf support. Occasionally you will need to do some heavier duty dbf work. The dbfpy module is a pure Python module dedicated to working with dbf files. It is hosted on sourceforge.net but has an entry on PyPI. However, the PyPI entry is not correctly configured and you have to force easy_install to find the download by specifying the download directory:
easy_install -f http://sourceforge.net/projects/dbfpy/files/dbfpy/2.2.5/dbfpy
If you are using pip to install packages, use the following command:
pip install http://downloads.sourceforge.net/project/dbfpy/dbfpy/2.2.5/dbfpy-2.2.5.tar.gz
The following ...
Read now
Unlock full access