1 |
2007-03-12 Bram de Greve <[email protected]> |
2007-03-21 Bram de Greve <[email protected]> |
2 |
|
|
3 |
|
* shptreemodule.c: restoring something that shouldn't have been committed. |
4 |
|
|
5 |
|
2007-03-15 Bram de Greve <[email protected]> |
6 |
|
|
7 |
|
* shapelib.c: When creating measured shapes (XYM), treat M value |
8 |
|
value as optional (defaults to zero). Similar for |
9 |
|
3D shapes (XYZM), threat both the Z and M value as options |
10 |
|
(both default to zero). When M values are to be given, |
11 |
|
None is accepted as "no-data" value, and is stored as zero |
12 |
|
(ESRI shapefile specs define any M value smaller than 1e-38 |
13 |
|
as no-data). Added an unpack_vertex() function to lift some |
14 |
|
of the load of shpobject_init. Fixed a missing break and |
15 |
|
PyMem_Free in build_vertex_list(), shapefile_init() and |
16 |
|
shapelib_create(). |
17 |
|
|
18 |
|
* dbflibmodule.c: Added support for the FTLogical field type. |
19 |
|
|
20 |
|
* shapelibmodule.c, dbflibmodule.c: Added 'name' and 'mode' |
21 |
|
keywords for ShapeFile and DBFFile constructors and the module's |
22 |
|
open() function, similiar to Python's file(). Reformatted |
23 |
|
the doc strings to have a standard look and feel when parsed |
24 |
|
through pydoc. |
25 |
|
|
26 |
|
* shapelib_common.h: added no-data constants. |
27 |
|
|
28 |
|
* pytest.py: Added tests for multipatch shapefile with XYZM values. |
29 |
|
Added tests for FTLogical field. |
30 |
|
|
31 |
|
2007-03-15 Bram de Greve <[email protected]> |
32 |
|
|
33 |
|
* shapelibmodule.c, dbflibmodule.c: added some Unicode support for the |
34 |
|
filenames (no internal encoding for DBFFile yet). It now should similar |
35 |
|
Unicode support Python's file() (concerning the filename, that is). |
36 |
|
|
37 |
|
2007-03-14 Bram de Greve <[email protected]> |
38 |
|
|
39 |
|
* shapelibmodule.c: added support for shapetypes with Z and M values |
40 |
|
|
41 |
|
2007-03-14 Bram de Greve <[email protected]> |
42 |
|
|
43 |
|
* dbflibmodule.c, dbflib.i: replaced dbflib.i by dbflibmodule.c to use |
44 |
|
hand-crafted Python bindings instead of SWIG generated ones |
45 |
|
|
46 |
|
* shapelibmodule.c, shapelib.c: Renamed shapelib.c to shapelibmodule.c |
47 |
|
to match style of dbflibmodule.c and shptreemodule.c. Changed some |
48 |
|
(well, most) names to match same style. |
49 |
|
|
50 |
|
* pyshapelib_common.h: do all necessary includes here |
51 |
|
|
52 |
|
* setup.py: updated building of dbflib. |
53 |
|
|
54 |
|
2007-03-13 Bram de Greve <[email protected]> |
55 |
|
|
56 |
* shapelib.c, shapelib_common.h: Added part_types() to SHPObject to |
* shapelib.c, shapelib_common.h: Added part_types() to SHPObject to |
57 |
return tuple of part types. Added __repr__ operators to return a |
return tuple of part types. Added __repr__ operators to return a |
60 |
* pytest.py: Added tests for part_types() and __repr__. |
* pytest.py: Added tests for part_types() and __repr__. |
61 |
Humanized the output a bit. |
Humanized the output a bit. |
62 |
|
|
63 |
2007-03-12 Bram de Greve <[email protected]> |
2007-03-12 Bram de Greve <[email protected]> |
64 |
|
|
65 |
* shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use |
* shapelib.c, shapelib.i: replaced shapelib.i by shapelib.c to use |
66 |
hand-crafted Python bindings instead of SWIG generated ones. |
hand-crafted Python bindings instead of SWIG generated ones. |