bh: thuban/libraries/pyshapelib README,1.1,1.2
cvs@intevation.de
cvs at intevation.de
Mon May 17 17:51:07 CEST 2004
Author: bh
Update of /thubanrepository/thuban/libraries/pyshapelib
In directory doto:/tmp/cvs-serv24060/libraries/pyshapelib
Modified Files:
README
Log Message:
Update for next release
Index: README
===================================================================
RCS file: /thubanrepository/thuban/libraries/pyshapelib/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README 19 Aug 2003 21:24:20 -0000 1.1
+++ README 17 May 2004 15:51:05 -0000 1.2
@@ -2,31 +2,36 @@
Python bindings for Shapelib
============================
-These are two python modules for shapelib created with SWIG.
+These are three python modules for shapelib:
+
+ shapelib read/write shapefiles
+
+ dbflib read/write dbf files
+
+ shptree quadtree for shapes
Shapelib is a free software library for reading and writing ESRI shape
files and can be found at http://gdal.velocet.ca/projects/shapelib.
-SWIG is tool that can generate wrappers of C and C++ libraries for a
-variety of scripting languages. It's homepage is www.swig.org.
+The bindings were partly created with SWIG, a tool that can generate
+wrappers of C and C++ libraries for a variety of scripting languages.
+It's homepage is http://www.swig.org.
-The two modules here wrap the shape file reading and writing API and the
-DBF file reading and writing API. The shape file bindings are currently
-limited to 2-dimensional data.
Requirements
------------
-To compile the bindings, you need shapelib 1.2.8. Older versions may or
-may not work, I've only tested the code with 1.2.8.
+To compile the bindings, you need shapelib 1.2.8 or newer. Older
+versions may or may not work; nobody has tested that.
SWIG is not required. The files generated by SWIG are contained in the
-archive. If modify shapelib.i or dbflib.i and need to recreate the
-generated files, you need at least SWIG 1.3.
+archive. If you modify shapelib.i or dbflib.i and need to recreate the
+generated files, you need SWIG 1.3 Alpha 5. It's unlikely that other
+versions will work.
-You also need Python, of course. If you installed prebuilt packages such
-as RPMs of some Linux distributions, please make sure that the
+You also need Python, of course. If you installed prebuilt packages
+such as RPMs of some Linux distributions, please make sure that the
development package is also installed.
@@ -44,7 +49,9 @@
and are also available separately from python.org for older versions.
To compile the bindings, unpack the archive under the shapelib archive
-or move the directory there if you've already unpacked it. Then run
+or move the directory there if you've already unpacked it. The setup
+script expects to find the shapelib files in the parent directory. Then
+run
python setup.py build
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)