/[thuban]/branches/WIP-pyshapelib-bramz/libraries/pyshapelib
ViewVC logotype

Log of /branches/WIP-pyshapelib-bramz/libraries/pyshapelib

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 2835)

Revision 2747 - Directory Listing
Modified Tue Mar 20 23:12:45 2007 UTC (17 years, 11 months ago) by bramz
dbfopen.c: fixing bug in DBFClose, checks for NULL handle now.
shptreemodule.c: restoring something that shouldn't have been committed in the first place.

Revision 2745 - Directory Listing
Modified Thu Mar 15 22:27:02 2007 UTC (17 years, 11 months ago) by bramz
Added FTLogical support to dbflib.  Accept None as no-data for M values.  Added name and mode keywords to mimic Python's file behaviour where appropriate.  Added unpack_vertex() to lift some load of shpobject_init().

Revision 2744 - Directory Listing
Modified Thu Mar 15 13:48:58 2007 UTC (17 years, 11 months ago) by bramz
shapelibmodule.c, dbflibmodule.c: added some Unicode support for the filenames (no internal encoding for DBFFile yet).  It now should similar Unicode support Python's file() (concerning the filename, that is).

Revision 2743 - Directory Listing
Modified Wed Mar 14 20:53:53 2007 UTC (17 years, 11 months ago) by bramz
added support for shapetypes with Z and M values in shapelib

Revision 2742 - Directory Listing
Modified Wed Mar 14 16:26:14 2007 UTC (17 years, 11 months ago) by bramz
pyshapelib: rewritten dbflib to use hand-crafted Python bindings instead of SWIG generated ones.


Revision 2741 - Directory Listing
Modified Tue Mar 13 23:30:41 2007 UTC (17 years, 11 months ago) by bramz
Added part_types() to SHPObject to return tuple of part types. Added __repr__ operators to return a string that can reconstruct the object using eval()

Revision 2735 - Directory Listing
Modified Mon Mar 12 23:24:35 2007 UTC (17 years, 11 months ago) by bramz
rewritten shapelib to use hand-crafted Python bindings instead of SWIG generated ones.

Revision 2734 - Directory Listing
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
made a copy

Revision 2706 - Directory Listing
Modified Sun Sep 24 19:25:26 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/libraries/pyshapelib
* dbflib_wrap.c, README: Checked for python version >= 2.4.0a0
before using &PyOS_ascii_atof.


Revision 2704 - Directory Listing
Modified Sun Sep 24 18:52:59 2006 UTC (18 years, 5 months ago) by bernhard
Original Path: trunk/thuban/libraries/pyshapelib
Added dirty workaround to make dbflib agnostic 
against decimal_poinst != ".\0".


Revision 2637 - Directory Listing
Modified Thu Jun 30 14:20:46 2005 UTC (19 years, 8 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
* shapelib.i (new_SHPObject): Fix the test for the length of the
part types.  It used the wrong variable.

* shapelib_wrap.c: Regenerated from shapelib.i

* pytest.py (make_shapefile): Add some more comments and add an
example with a polygon with a hole.


Revision 2510 - Directory Listing
Modified Mon Dec 27 14:27:53 2004 UTC (20 years, 2 months ago) by bernhard
Original Path: trunk/thuban/libraries/pyshapelib
Refering to the new homepage shapelib.maptools.org now.


Revision 2453 - Directory Listing
Modified Mon Dec 13 17:57:04 2004 UTC (20 years, 2 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
* dbflib.py: Updated from difflib.i with SWIG.

* dbflib.i: Work around a bug in the generated python code which
leads to exception in the __del__ method when the constructor
fails.  See the comments in the code for more details.


Revision 2227 - Directory Listing
Modified Fri May 28 19:07:27 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update ChangeLog


Revision 2226 - Directory Listing
Modified Fri May 28 19:07:18 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
Flesh out the some more.  Correct the shapelib
requirements.


Revision 2225 - Directory Listing
Modified Fri May 28 19:07:06 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
Update the date of the actual release of 0.3


Revision 2223 - Directory Listing
Modified Fri May 28 17:29:16 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update ChangeLog


Revision 2222 - Directory Listing
Modified Fri May 28 17:28:57 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
* setup.py: Determine shp_dir correctly when run with bdist_rpm
(dbf_macros): Remove a debug print


Revision 2221 - Directory Listing
Modified Fri May 28 17:28:24 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
Also mention the new (compared to 0.2) setup.py


Revision 2220 - Directory Listing
Modified Fri May 28 17:28:01 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
New. Define which files belong into a source
distribution


Revision 2215 - Directory Listing
Modified Mon May 17 15:51:05 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
Update for next release


Revision 2214 - Directory Listing
Modified Mon May 17 15:50:41 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update for the next release


Revision 2213 - Directory Listing
Modified Mon May 17 15:48:53 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update ChangeLogs


Revision 2212 - Directory Listing
Modified Mon May 17 15:47:57 2004 UTC (20 years, 9 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
Update to newest shapelib and get rid of Thuban specific extensions,
i.e. use the new DBFUpdateHeader instead of our DBFCommit kludge

* libraries/shapelib/shpopen.c: Update to version from current
shapelib CVS.

* libraries/shapelib/shapefil.h: Update to version from current
shapelib CVS.

* libraries/shapelib/dbfopen.c: Update to version from current
shapelib CVS.
(DBFCommit): Effectively removed since shapelib itself has
DBFUpdateHeader now which is better for what DBFCommit wanted to
achieve.
We're now using an unmodified version of dbfopen.

* libraries/pyshapelib/dbflib_wrap.c, libraries/pyshapelib/dbflib.py:
Update from dbflib.i

* libraries/pyshapelib/dbflib.i (DBFInfo_commit): New. Implementation of
the commit method.  This new indirection is necessary because we use the
DBFUpdateHeader function now which is not available in shapelib <=
1.2.10
(DBFFile::commit): Use DBFInfo_commit as implementation
(pragma __class__): New. Kludge to remove the commit method when
the DBFUpdateHeader function isn't available
(_have_commit): New. Helper for the pragma kludge.

* libraries/pyshapelib/setup.py (dbf_macros): New. Return the
preprocessor macros needed to compile the dbflib wrapper.  Determine
whether DBFUpdateHeader is available and define the right value of
HAVE_UPDATE_HEADER
(extensions): Use dbf_macros for the dbflibc extension

* setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
value '1' to the Lib.dbflibc extension.  This simply reflects the
shapelib and pyshapelib updates


Revision 1920 - Directory Listing
Modified Mon Nov 3 17:33:45 2003 UTC (21 years, 4 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update ChangeLog


Revision 1917 - Directory Listing
Modified Mon Nov 3 17:31:11 2003 UTC (21 years, 4 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
* dbflib.i (do_read_attribute): New helper function for reading
one attribute as a python object
(DBFInfo_read_attribute): New. Implement the read_attribute method
(DBFInfo_read_record): Use do_read_attribute to read the
individual values
(struct DBFFile): Add the read_attribute method.

* dbflib_wrap.c, dbflib.py: Update from dbflib.i.


Revision 1763 - Directory Listing
Modified Mon Sep 29 10:52:50 2003 UTC (21 years, 5 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
update ChangeLog


Revision 1762 - Directory Listing
Modified Mon Sep 29 10:52:38 2003 UTC (21 years, 5 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
New. Test cases for the dbflib bindings based on the
unittest module


Revision 1761 - Directory Listing
Modified Mon Sep 29 10:52:22 2003 UTC (21 years, 5 months ago) by bh
Original Path: trunk/thuban/libraries/pyshapelib
* dbflib.i: Add exception typemap for the add_field method. Fixes
Thuban bug RT#1842

* dbflib_wrap.c: Update from dbflib.i


Revision 1611 - Directory Listing
Added Tue Aug 19 21:24:20 2003 UTC (21 years, 6 months ago) by jan
Original Path: trunk/thuban/libraries/pyshapelib
These files have been moved here from thuban/extensions/pyshapelib/
See there in the Attic for the older history.


[email protected]
ViewVC Help
Powered by ViewVC 1.1.26