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. |
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 |