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

Diff of /trunk/thuban/libraries/pyshapelib/README

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

revision 2215 by bh, Mon May 17 15:51:05 2004 UTC revision 2704 by bernhard, Sun Sep 24 18:52:59 2006 UTC
# Line 11  These are three python modules for shape Line 11  These are three python modules for shape
11     shptree      quadtree for shapes     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://shapelib.maptools.org/.
15    
16  The bindings were partly created with SWIG, a tool that can generate  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.  wrappers of C and C++ libraries for a variety of scripting languages.
18  It's homepage is http://www.swig.org.  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  Requirements
26  ------------  ------------
27    
28  To compile the bindings, you need shapelib 1.2.8 or newer.  Older  To compile the bindings, you need shapelib 1.2.9 or newer and Python 2.0
29  versions may or may not work; nobody has tested that.  or newer.
30    
31  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
32  archive. If you 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
33  generated files, you need SWIG 1.3 Alpha 5.  It's unlikely that other  generated files, you need SWIG 1.3 Alpha 5.  It's unlikely that other
34  versions will work.  versions will work.
35    In addition you need to add the following lines to  initdbflibc(void)
36    in dbflib_wrap.c.
37        /* because we are in a python module now, we can give out
38         * pointers to python's locale agonistic function
39         * XXX this clearly is a hack
40         */
41        DBFSetatof_function(&PyOS_ascii_atof);
42    
43  You also need Python, of course.  If you installed prebuilt packages  You also need Python, of course.  If you installed prebuilt packages
44  such as RPMs of some Linux distributions, please make sure that the  such as RPMs of some Linux distributions, please make sure that the
# Line 79  There's no real documentation for the py Line 89  There's no real documentation for the py
89  there's a simple demo/test script called pytest.py.  there's a simple demo/test script called pytest.py.
90    
91  The change history is recorded in NEWS and in detail in ChangeLog.  The change history is recorded in NEWS and in detail in ChangeLog.
92    
93    
94    Contact Information
95    -------------------
96    
97    pyshapelib is currently being developed as part of the interactive
98    viewer for geographic data Thuban, so the best way to reach the
99    developers is to post on the Thuban mailing lists.
100    
101    Thuban:
102       http://thuban.intevation.org/
103    
104    Thuban mailing lists:
105       http://thuban.intevation.org/mailinglist.html

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26