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