1 |
2007-03-15 Bram de Greve <[email protected]> |
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 |
* shapelibmodule.c, dbflibmodule.c: added some Unicode support for the |
30 |
filenames (no internal encoding for DBFFile yet). It now should similar |
filenames (no internal encoding for DBFFile yet). It now should similar |
31 |
Unicode support Python's file() (concerning the filename, that is). |
Unicode support Python's file() (concerning the filename, that is). |