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

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 145 by bh, Fri May 3 14:50:27 2002 UTC revision 146 by bh, Tue May 7 14:59:27 2002 UTC
# Line 1  Line 1 
1    2002-05-07  Bernhard Herzog  <[email protected]>
2    
3            * setup.py: Add the shptree extension module. See
4            extensions/pyshapelib/ChangeLog for more details.
5    
6            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
7            extensions/shapelib/dbfopen.c: Really update to the versions of
8            shapelib 1.2.9. For some reason it wasn't really done on
9            2002-04-11.
10    
11            * extensions/shapelib/shptree.c: Modified version of shptree.c of
12            shapelib 1.2.9. The only real difference is the use of qsort
13            instead of a bubble sort implementation
14    
15            * Thuban/Model/layer.py (Layer.__init__): New instance variable
16            shapetree to hold the shapelib quadtree for the shapefile
17            (Layer.open_shapefile): Create the quad tree.
18            (Layer.ShapesInRegion): New method to return the ids of shapes in
19            a given region using the quad tree.
20    
21            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
22            comment
23            (draw_polygon_shape): Accept both arcs and polygons.
24            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
25            the api.
26    
27            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
28            return the shape ids to be rendered in a given layer.
29            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
30            ids. Use draw_polygon_shape to draw arc shapes as well.
31            (ScreenRenderer.RenderMap): New parameter for the rectangle that
32            has to be updated
33            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
34            calling it's ShapesInRegion method.
35    
36            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
37            update_region for the update region.
38            (MapCanvas.OnPaint): Maintain the update region
39            (MapCanvas.do_redraw): Pass the bounding box of the update_region
40            to the renderer when drawing the bitmap. Reset the update_region.
41    
42  2002-05-03  Bernhard Herzog  <[email protected]>  2002-05-03  Bernhard Herzog  <[email protected]>
43    
44          * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,          * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
# Line 6  Line 47 
47    
48          * Thuban/Model/session.py (Session.AddMap, forwarded_channels):          * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
49          Move the map channels to be forwarded by the session into the          Move the map channels to be forwarded by the session into the
50          class constant with forwarded_channels.          class constant with forwarded_channels. Also add
51            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
52            forwarded_channels
53    
54          * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a          * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
55          typo and some rewording).          typo and some rewording).

Legend:
Removed from v.145  
changed lines
  Added in v.146

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26