/[thuban]
ViewVC logotype

Revision 2805


Jump to revision: Previous Next
Author: bernhard
Date: Wed Jan 9 00:43:45 2008 UTC (17 years, 1 month ago)
Changed paths: 2
Log Message:
Making Thuban robust against shapefiles which contain empty shapes.

* libraries/thuban/wxproj.cpp(project_points): setting an exception
now if called with no points at all. This is necessary, because 
the NULL pointer already indicates an error condition, thus it
cannot be used to indicate that there was no point in the result.
(draw_polygon_shape, (point_in_polygon_shape): stop if there 
are no points in the shape.
Propagate an error condition on failure of (project_points()).
(point_in_polygon_shape): shifted some lines around to allow
a cleanup jump point.

* Thuban/Model/layer.py, Thuban/UI/viewport.py: removed unused import
of  point_in_polygon_shape.


Changed paths

Path Details
Directorytrunk/thuban/ChangeLog modified , text changed
Directorytrunk/thuban/libraries/thuban/wxproj.cpp modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26