1 |
|
2007-03-22 Bram de Greve <[email protected]> |
2 |
|
|
3 |
|
* shapelibmodule.c, dbflibmodule.c: in __init__ of ShapeFile and DBFFile, |
4 |
|
throw proper IOError if opening of file failed. |
5 |
|
|
6 |
|
2007-03-21 Bram de Greve <[email protected]> |
7 |
|
|
8 |
|
* shptreemodule.c: restoring something that shouldn't have been committed. |
9 |
|
|
10 |
|
2007-03-15 Bram de Greve <[email protected]> |
11 |
|
|
12 |
|
* shapelib.c: When creating measured shapes (XYM), treat M value |
13 |
|
value as optional (defaults to zero). Similar for |
14 |
|
3D shapes (XYZM), threat both the Z and M value as options |
15 |
|
(both default to zero). When M values are to be given, |
16 |
|
None is accepted as "no-data" value, and is stored as zero |
17 |
|
(ESRI shapefile specs define any M value smaller than 1e-38 |
18 |
|
as no-data). Added an unpack_vertex() function to lift some |
19 |
|
of the load of shpobject_init. Fixed a missing break and |
20 |
|
PyMem_Free in build_vertex_list(), shapefile_init() and |
21 |
|
shapelib_create(). |
22 |
|
|
23 |
|
* dbflibmodule.c: Added support for the FTLogical field type. |
24 |
|
|
25 |
|
* shapelibmodule.c, dbflibmodule.c: Added 'name' and 'mode' |
26 |
|
keywords for ShapeFile and DBFFile constructors and the module's |
27 |
|
open() function, similiar to Python's file(). Reformatted |
28 |
|
the doc strings to have a standard look and feel when parsed |
29 |
|
through pydoc. |
30 |
|
|
31 |
|
* shapelib_common.h: added no-data constants. |
32 |
|
|
33 |
|
* pytest.py: Added tests for multipatch shapefile with XYZM values. |
34 |
|
Added tests for FTLogical field. |
35 |
|
|
36 |
|
2007-03-15 Bram de Greve <[email protected]> |
37 |
|
|
38 |
|
* shapelibmodule.c, dbflibmodule.c: added some Unicode support for the |
39 |
|
filenames (no internal encoding for DBFFile yet). It now should similar |
40 |
|
Unicode support Python's file() (concerning the filename, that is). |
41 |
|
|
42 |
|
2007-03-14 Bram de Greve <[email protected]> |
43 |
|
|
44 |
|
* shapelibmodule.c: added support for shapetypes with Z and M values |
45 |
|
|
46 |
|
2007-03-14 Bram de Greve <[email protected]> |
47 |
|
|
48 |
|
* dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use |
49 |
|
hand-crafted Python bindings instead of SWIG generated ones |
50 |
|
|
51 |
|
* shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c |
52 |
|
to match style of dbflibmodule.c and shptreemodule.c. Changed some |
53 |
|
(well, most) names to match same style. |
54 |
|
|
55 |
|
* pyshapelib_common.h: do all necessary includes here |
56 |
|
|
57 |
|
* setup.py: updated building of dbflib. |
58 |
|
|
59 |
|
2007-03-13 Bram de Greve <[email protected]> |
60 |
|
|
61 |
|
* shapelib.c, shapelib_common.h: Added part_types() to SHPObject to |
62 |
|
return tuple of part types. Added __repr__ operators to return a |
63 |
|
string that can reconstruct the object using eval() |
64 |
|
|
65 |
|
* pytest.py: Added tests for part_types() and __repr__. |
66 |
|
Humanized the output a bit. |
67 |
|
|
68 |
|
2007-03-12 Bram de Greve <[email protected]> |
69 |
|
|
70 |
|
* shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use |
71 |
|
hand-crafted Python bindings instead of SWIG generated ones. |
72 |
|
|
73 |
|
* pyshapelib_common.h: New file with some common stuff for both |
74 |
|
shapelib and dbflib |
75 |
|
|
76 |
|
* pyshapelib_api.h, setup.py: import/build shapelib instead of shapelibc |
77 |
|
|
78 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
79 |
|
|
80 |
|
* dbflib_wrap.c, README: Checked for python version >= 2.4.0a0 |
81 |
|
before using &PyOS_ascii_atof. |
82 |
|
|
83 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
84 |
|
|
85 |
|
Added dirty workaround to make dbflib agnostic |
86 |
|
against decimal_poinst != ".\0". |
87 |
|
|
88 |
|
* dbflib_wrap.c: Added call DBFSetatof_function(&PyOS_ascii_atof); |
89 |
|
to initdbflibc(). |
90 |
|
* README: noted that manual editing of dbflib_wrap.c is necessary now. |
91 |
|
|
92 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
93 |
|
|
94 |
|
* shapelib.i (new_SHPObject): Fix the test for the length of the |
95 |
|
part types. It used the wrong variable. |
96 |
|
|
97 |
|
* shapelib_wrap.c: Regenerated from shapelib.i |
98 |
|
|
99 |
|
* pytest.py (make_shapefile): Add some more comments and add an |
100 |
|
example with a polygon with a hole. |
101 |
|
|
102 |
|
2004-12-27 Bernhard Reiter <[email protected]> |
103 |
|
|
104 |
|
* README: Refering to the new homepage shapelib.maptools.org now. |
105 |
|
|
106 |
2004-12-13 Bernhard Herzog <[email protected]> |
2004-12-13 Bernhard Herzog <[email protected]> |
107 |
|
|
108 |
* dbflib.py: Updated from difflib.i with SWIG. |
* dbflib.py: Updated from difflib.i with SWIG. |