/[thuban]/trunk/thuban/libraries/pyshapelib/README
ViewVC logotype

Contents of /trunk/thuban/libraries/pyshapelib/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2510 - (show annotations)
Mon Dec 27 14:27:53 2004 UTC (20 years, 2 months ago) by bernhard
File size: 2721 byte(s)
Refering to the new homepage shapelib.maptools.org now.

1
2 Python bindings for Shapelib
3 ============================
4
5 These are three python modules for shapelib:
6
7 shapelib read/write shapefiles
8
9 dbflib read/write dbf files
10
11 shptree quadtree for shapes
12
13 Shapelib is a free software library for reading and writing ESRI shape
14 files and can be found at http://shapelib.maptools.org/.
15
16 The bindings were partly created with SWIG, a tool that can generate
17 wrappers of C and C++ libraries for a variety of scripting languages.
18 It's homepage is http://www.swig.org.
19
20 The bindings themselves don't have a homepage at the moment, but the
21 source tarballs/zip files can be downloaded from
22 http://ftp.intevation.de/users/bh/pyshapelib/
23
24
25 Requirements
26 ------------
27
28 To compile the bindings, you need shapelib 1.2.9 or newer and Python 2.0
29 or newer.
30
31 SWIG is not required. The files generated by SWIG are contained in the
32 archive. If you modify shapelib.i or dbflib.i and need to recreate the
33 generated files, you need SWIG 1.3 Alpha 5. It's unlikely that other
34 versions will work.
35
36 You also need Python, of course. If you installed prebuilt packages
37 such as RPMs of some Linux distributions, please make sure that the
38 development package is also installed.
39
40
41 License
42 -------
43
44 The shapelib python bindings are covered by the LGPL. See COPYING for
45 more information.
46
47
48 Compilation and Installation
49 ----------------------------
50
51 Pyshapelib uses the python distutils which come with Python 2.0 or newer
52 and are also available separately from python.org for older versions.
53
54 To compile the bindings, unpack the archive under the shapelib archive
55 or move the directory there if you've already unpacked it. The setup
56 script expects to find the shapelib files in the parent directory. Then
57 run
58
59 python setup.py build
60
61 to build the bindings. The result can be found under the (new) build
62 subirectory.
63
64 To install run
65
66 python setup.py install
67
68 which will install the bindings into python's site-packages directory.
69 You can use the intall command's --prefix option to select a different
70 installatin directory.
71
72 For more information about the setup.py script, invoke it with the
73 --help option:
74
75 python setup.py --help
76
77
78 Documentation
79 -------------
80
81 There's no real documentation for the python bindings themselves, but
82 there's a simple demo/test script called pytest.py.
83
84 The change history is recorded in NEWS and in detail in ChangeLog.
85
86
87 Contact Information
88 -------------------
89
90 pyshapelib is currently being developed as part of the interactive
91 viewer for geographic data Thuban, so the best way to reach the
92 developers is to post on the Thuban mailing lists.
93
94 Thuban:
95 http://thuban.intevation.org/
96
97 Thuban mailing lists:
98 http://thuban.intevation.org/mailinglist.html

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26