/[thuban]/trunk/thuban/libraries
ViewVC logotype

Log of /trunk/thuban/libraries

View Directory Listing Directory Listing


Sticky Revision:

Revision 2598 - Directory Listing
Modified Mon Apr 11 18:18:08 2005 UTC (19 years, 10 months ago) by bh
Move the compatibility code that
deals with the wxPython 2.4 version of wxPython.h into the #ifdef
branch that includes wxPython.h because it's only needed when
wxPython.h is used.  Also, it won't compile when
USE_WX_PYTHON_SWIG_HACK is set otherwise.


Revision 2591 - Directory Listing
Modified Tue Apr 5 21:12:24 2005 UTC (19 years, 11 months ago) by bh
Make it work with a wxPython.h from
wxPython 2.4 as well.  Also, remove a now obsolete comment.


Revision 2590 - Directory Listing
Modified Tue Apr 5 17:26:58 2005 UTC (19 years, 11 months ago) by bh
Use wxPython.h by default but provide a workaround when it isn't
available.

* setup.py (wxproj_extension): New variable.  Assign the Extension
instance for Lib.wxproj to this variable instead of putting it
directly into the listso that it can be accessed by other code
later.
(thuban_build_ext.user_options): Added boolean option
--use-wx-python-swig-hack.
(thuban_build_ext.initialize_options): Initialize the new option
to False.
(thuban_build_ext.finalize_options): If the new option was given,
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
(thuban_build_ext): Update the doc-string

* libraries/thuban/wxproj.cpp: Normally we use
wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
defined, use swigPtrConvertHack.h instead.

* libraries/thuban/swigPtrConvertHack.h: Remove the code that was
copied over from wxPython.h.
(decode_pointer_new): New.  Equivalent of decode_pointer for
wxPython 2.5.
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.


Revision 2574 - Directory Listing
Modified Fri Feb 18 21:22:53 2005 UTC (20 years ago) by jonathan
Optimize the loop in gdalwarp which builds a mask. Handle the majority of an
image in a loop, creating 8 bits at a time. Later, handle the edge case where
less than 8 bits are packed.


Revision 2571 - Directory Listing
Modified Fri Feb 18 14:54:17 2005 UTC (20 years ago) by jonathan
Refactored baserenderer.py and renderer.py to remove baserenderer.py's
dependencies on wxPython. Added a new method projected_raster_layer()
that returns a raster layer image in projected space. This must be
implemented in classes derived from BaseRenderer. This also eliminates
the dependency on gdal in baserenderer.py.


Revision 2562 - Directory Listing
Modified Wed Feb 16 21:14:47 2005 UTC (20 years ago) by jonathan
Further wxPython 2.5 changes using patches from Daniel Calvelo Aros
so that that wxproj doesn't crash. Added GUI support for selecting
alpha channel (opacity can't be selected yet).


Revision 2558 - Directory Listing
Modified Mon Feb 7 19:51:13 2005 UTC (20 years ago) by jonathan
Removed unnecessary/unused macros.


Revision 2553 - Directory Listing
Modified Fri Jan 28 19:10:07 2005 UTC (20 years, 1 month ago) by jonathan
Recoded how the mask is packed into the bit array.


Revision 2552 - Directory Listing
Modified Fri Jan 28 15:54:00 2005 UTC (20 years, 1 month ago) by jonathan
Make layer's use_mask flag default to true. Support a bit array describing
the mask to use. Improve error handling in ProjectRasterFile (also addresses
RT #2947).


Revision 2550 - Directory Listing
Modified Thu Jan 27 14:17:01 2005 UTC (20 years, 1 month ago) by jonathan
Replace the old gdalwarp.cpp code with the non-simple version supplied with
gdal. This allows added features such as creating an alpha band.


Revision 2537 - Directory Listing
Modified Fri Jan 21 14:01:25 2005 UTC (20 years, 1 month ago) by jonathan
Improved rendering raster layers by changing the return format of
the ProjectRasterFile function.


Revision 2510 - Directory Listing
Modified Mon Dec 27 14:27:53 2004 UTC (20 years, 2 months ago) by bernhard
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
* 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 2452 - Directory Listing
Modified Mon Dec 13 17:54:36 2004 UTC (20 years, 2 months ago) by bh
* libraries/pyprojection/Projection.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.

* libraries/pyprojection/Projection.py: Updated from Projection.i
with SWIG.


Revision 2240 - Directory Listing
Modified Mon Jun 14 14:49:02 2004 UTC (20 years, 8 months ago) by bernhard
* libraries/thuban/cpl_mfile.h: Added copyright header.
* libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
	Free Software License so that it is most useful with gdalwarp
	and bmpdataset.


Revision 2227 - Directory Listing
Modified Fri May 28 19:07:27 2004 UTC (20 years, 9 months ago) by bh
update ChangeLog


Revision 2226 - Directory Listing
Modified Fri May 28 19:07:18 2004 UTC (20 years, 9 months ago) by bh
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
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
update ChangeLog


Revision 2222 - Directory Listing
Modified Fri May 28 17:28:57 2004 UTC (20 years, 9 months ago) by bh
* 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
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
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
Update for next release


Revision 2214 - Directory Listing
Modified Mon May 17 15:50:41 2004 UTC (20 years, 9 months ago) by bh
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
update ChangeLogs


Revision 2212 - Directory Listing
Modified Mon May 17 15:47:57 2004 UTC (20 years, 9 months ago) by bh
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 2088 - Directory Listing
Modified Wed Feb 25 10:33:24 2004 UTC (21 years ago) by bh
* libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
version of wxWindows the module was compiled with so we can check
that against the wxPython version.

* Thuban/version.py (thuban_branch, thuban_release): New variables
controlling which and how Thuban versions are shown.  See the
comments for details.
(verify_versions): Also check that the wx version that wxproj is
compiled against matches that of the wxPython we use at runtime


Revision 1920 - Directory Listing
Modified Mon Nov 3 17:33:45 2003 UTC (21 years, 4 months ago) by bh
update ChangeLog


Revision 1917 - Directory Listing
Modified Mon Nov 3 17:31:11 2003 UTC (21 years, 4 months ago) by bh
* 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 1863 - Directory Listing
Modified Fri Oct 24 17:25:42 2003 UTC (21 years, 4 months ago) by bh
(draw_polygon_shape)
(point_in_polygon_shape, shape_centroid): Raise an exception if
the shape can't be read. Previously invalid shape ids would lead
to a segfault.


Revision 1769 - Directory Listing
Modified Thu Oct 2 15:15:16 2003 UTC (21 years, 5 months ago) by bh
Update to shapelib 1.2.10


Revision 1763 - Directory Listing
Modified Mon Sep 29 10:52:50 2003 UTC (21 years, 5 months ago) by bh
update ChangeLog


Revision 1762 - Directory Listing
Modified Mon Sep 29 10:52:38 2003 UTC (21 years, 5 months ago) by bh
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
* dbflib.i: Add exception typemap for the add_field method. Fixes
Thuban bug RT#1842

* dbflib_wrap.c: Update from dbflib.i


Revision 1738 - Directory Listing
Modified Tue Sep 23 12:25:01 2003 UTC (21 years, 5 months ago) by bh
(project_point): if there's an
inverse but no forward projection, convert to degrees after
applying the inverse projection. Fixes RT#2096


Revision 1686 - Directory Listing
Modified Fri Aug 29 09:49:09 2003 UTC (21 years, 6 months ago) by bh
* libraries/pyprojection/Projection.i: Use pj_get_errno_ref to
access the pj_errno because directly accessing pj_errno doesn't
work on windows if the proj library is in a DLL

* libraries/pyprojection/Projection_wrap.c: Update from Projection.i


Revision 1613 - Directory Listing
Modified Tue Aug 19 21:32:24 2003 UTC (21 years, 6 months ago) by jan
These files have been moved here from thuban/extensions/thuban/
See there in the Attic for the older history.


Revision 1612 - Directory Listing
Modified Tue Aug 19 21:29:25 2003 UTC (21 years, 6 months ago) by jan
These files have been moved here from thuban/extensions/shapelib/
See there in the Attic for the older history.


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


Revision 1610 - Directory Listing
Added Tue Aug 19 21:19:59 2003 UTC (21 years, 6 months ago) by jan
These files have been moved here from thuban/extensions/pyprojection/
See there in the Attic for the older history.


[email protected]
ViewVC Help
Powered by ViewVC 1.1.26