/[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 2226 by bh, Fri May 28 19:07:18 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.
# Line 32  SWIG is not required. The files generate Line 32  SWIG is not required. The files generate
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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26