/[thuban]/branches/WIP-pyshapelib-bramz/libraries/pyshapelib/README
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/libraries/pyshapelib/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2214 by jan, Tue Aug 19 21:24:20 2003 UTC revision 2215 by bh, Mon May 17 15:51:05 2004 UTC
# Line 2  Line 2 
2  Python bindings for Shapelib  Python bindings for Shapelib
3  ============================  ============================
4    
5  These are two python modules for shapelib created with SWIG.  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  Shapelib is a free software library for reading and writing ESRI shape
14  files and can be found at http://gdal.velocet.ca/projects/shapelib.  files and can be found at http://gdal.velocet.ca/projects/shapelib.
15    
16  SWIG is tool that can generate wrappers of C and C++ libraries for a  The bindings were partly created with SWIG, a tool that can generate
17  variety of scripting languages. It's homepage is www.swig.org.  wrappers of C and C++ libraries for a variety of scripting languages.
18    It's homepage is http://www.swig.org.
19    
 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.  
20    
21    
22  Requirements  Requirements
23  ------------  ------------
24    
25  To compile the bindings, you need shapelib 1.2.8. Older versions may or  To compile the bindings, you need shapelib 1.2.8 or newer.  Older
26  may not work, I've only tested the code with 1.2.8.  versions may or may not work; nobody has tested that.
27    
28  SWIG is not required. The files generated by SWIG are contained in the  SWIG is not required. The files generated by SWIG are contained in the
29  archive. If modify shapelib.i or dbflib.i and need to recreate the  archive. If you modify shapelib.i or dbflib.i and need to recreate the
30  generated files, you need at least SWIG 1.3.  generated files, you need SWIG 1.3 Alpha 5.  It's unlikely that other
31    versions will work.
32    
33  You also need Python, of course. If you installed prebuilt packages such  You also need Python, of course.  If you installed prebuilt packages
34  as RPMs of some Linux distributions, please make sure that the  such as RPMs of some Linux distributions, please make sure that the
35  development package is also installed.  development package is also installed.
36    
37    
# Line 44  Pyshapelib uses the python distutils whi Line 49  Pyshapelib uses the python distutils whi
49  and are also available separately from python.org for older versions.  and are also available separately from python.org for older versions.
50    
51  To compile the bindings, unpack the archive under the shapelib archive  To compile the bindings, unpack the archive under the shapelib archive
52  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
53    script expects to find the shapelib files in the parent directory.  Then
54    run
55    
56      python setup.py build      python setup.py build
57    

Legend:
Removed from v.2214  
changed lines
  Added in v.2215

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26