/[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 83 by bh, Fri Feb 15 17:11:11 2002 UTC revision 184 by bh, Thu May 23 14:59:28 2002 UTC
# Line 1  Line 1 
1    2002-05-23  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/command.py (Command): Fix typo in doc string
4    
5    2002-05-22  Bernhard Herzog  <[email protected]>
6    
7            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
8            in the docstring
9    
10    2002-05-15  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
13            when the shapefile is empty.
14            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
15            now return None for empty shapefiles. Update doc-strings.
16    
17            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
18            the layer's bbox being None.
19    
20            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
21            layer's bbox being None.
22    
23            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
24            necessary.
25            (MapCanvas.__init__): New instance variables, last_selected_layer
26            and last_selected_shape to determine how the selection has
27            changed.
28    
29            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
30            AutoSizeColumns because it will cause a traversal of the entire
31            table which for large .dbf files will take a very long time.
32    
33    2002-05-14  Bernhard Herzog  <[email protected]>
34    
35            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
36            maximum depth for the tree than shapelib does by default.
37    
38    2002-05-10  Bernhard Herzog  <[email protected]>
39    
40            * setup.py (py_modules): The shptree modules doesn't have a
41            wrapper, so don't include it in the py_modules
42    
43    2002-05-08  Bernhard Herzog  <[email protected]>
44    
45            * extensions/shapelib/shptree.c (compare_ints): Make arguments
46            const void * as in the qsort prototype
47            (SHPTreeFindLikelyShapes): Remove some unused variables.
48    
49            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
50            maintains to redraw the window during a drag.
51            (MapCanvas.unprojected_rect_around_point): New method to determine
52            a small region around a point for hit-testing.
53            (MapCanvas.find_shape_at): Only test the shapes in a small region
54            around the point.
55    
56            * setup.py: Increment the version to 0.1.2
57    
58            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
59            debug print and set session to None after unsubscribing
60    
61    2002-05-07  Bernhard Herzog  <[email protected]>
62    
63            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
64            the file to have a .thuban extension.
65    
66            * Thuban/UI/tree.py (session_channels): New class constant with
67            all the session channels to subscribe to to update the tree
68            (SessionTreeCtrl.session_changed): Remember the session so that we
69            can unsubscribe properly. Use the new class constant to
70            unsubscribe from the old session and subscribe to the new one.
71            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
72            subscriptions of the SessionTreeCtrl.
73            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
74    
75            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
76            Session Tree" command to the file menu.
77    
78            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
79            as update_region to the renderer.
80    
81            * Thuban/UI/renderer.py
82            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
83            update box is now directly a tuple, not a wxRect anymore.
84    
85            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
86            prints.
87    
88    2002-05-07  Bernhard Herzog  <[email protected]>
89    
90            * setup.py: Add the shptree extension module. See
91            extensions/pyshapelib/ChangeLog for more details.
92    
93            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
94            extensions/shapelib/dbfopen.c: Really update to the versions of
95            shapelib 1.2.9. For some reason it wasn't really done on
96            2002-04-11.
97    
98            * extensions/shapelib/shptree.c: Modified version of shptree.c of
99            shapelib 1.2.9. The only real difference is the use of qsort
100            instead of a bubble sort implementation
101    
102            * Thuban/Model/layer.py (Layer.__init__): New instance variable
103            shapetree to hold the shapelib quadtree for the shapefile
104            (Layer.open_shapefile): Create the quad tree.
105            (Layer.ShapesInRegion): New method to return the ids of shapes in
106            a given region using the quad tree.
107    
108            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
109            comment
110            (draw_polygon_shape): Accept both arcs and polygons.
111            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
112            the api.
113    
114            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
115            return the shape ids to be rendered in a given layer.
116            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
117            ids. Use draw_polygon_shape to draw arc shapes as well.
118            (ScreenRenderer.RenderMap): New parameter for the rectangle that
119            has to be updated
120            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
121            calling it's ShapesInRegion method.
122    
123            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
124            update_region for the update region.
125            (MapCanvas.OnPaint): Maintain the update region
126            (MapCanvas.do_redraw): Pass the bounding box of the update_region
127            to the renderer when drawing the bitmap. Reset the update_region.
128    
129    2002-05-03  Bernhard Herzog  <[email protected]>
130    
131            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
132            MainWindow.OpenSession): Change the file extension of the session
133            files to .thuban
134    
135            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
136            Move the map channels to be forwarded by the session into the
137            class constant with forwarded_channels. Also add
138            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
139            forwarded_channels
140    
141            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
142            typo and some rewording).
143    
144    2002-05-02  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
147            around to speed up most redraws:
148            (MapCanvas.__init__): New instance variable bitmap which holds the
149            bitmap
150            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
151            self.bitmap to draw.
152            (MapCanvas.full_redraw): New method to force a full redraw
153            including the bitmap
154            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
155            make sure the bitmap is redrawn.
156            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
157            MapCanvas.shape_selected): Call full_redraw instead of readraw to
158            make sure the bitmap is redrawn.
159            (MapCanvas.OnSize): New method to handle size events so that the
160            bitmap can be redrawn.
161    
162    2002-04-29  Bernhard Herzog  <[email protected]>
163    
164            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
165            canvas' VIEW_POSITION event
166            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
167            Update the text in the status-bar accordingly.
168    
169            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
170            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
171            called.
172            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
173            current_position
174            (MapCanvas.set_current_position): New method to set
175            current_position. Issue a VIEW_POSITION event
176            (MapCanvas.CurrentPosition): New public method to return the value
177            of current_position. Should be called when the VIEW_POSITION event
178            is processed.
179            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
180            Update the position.
181            (MapCanvas.OnLeaveWindow): Set the position to None.
182    
183            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
184            position in the statusbar
185    
186    2002-04-26      Frank Koormann <[email protected]>
187    
188            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
189    
190    2002-04-24      Frank Koormann <[email protected]>
191            
192            * Resources/Bitmaps/identify.xpm: shadow added
193    
194            * Resources/Bitmaps/fullextent.xpm: new
195            
196    2002-04-22      Jan-Oliver Wagner <[email protected]>
197    
198            * Thuban/UI/tree.py (update_tree): added test for None on map bounding box
199    
200    2002-04-21      Jan-Oliver Wagner <[email protected]>
201    
202            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
203    
204            * Thuban/UI/tree.py (update_tree): added added map extent
205    
206            * Thuban/UI/mainwindow.py (_method_command): extended by parameter
207            icon; added map_full_extend as tool
208    
209    2002-04-19      Jan-Oliver Wagner <[email protected]>
210    
211            * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
212            saving _new_ sessions
213    
214            * Thuban/Model/session.py (create_empty_session): new session
215            don't have a filename (set to None)
216    
217            * Thuban/UI/tree.py (update_tree): added filename and modified flag
218    
219            * Thuban/Model/load.py (ProcessSession): convert projection
220            parameters from unicode to regular string
221    
222            * Data/iceland_sample.session: Added UTM Zone 26 projection.
223    
224    2002-04-11  Bernhard Herzog  <[email protected]>
225    
226            * extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
227            extensions/shapelib/dbfopen.c: Update to the versions of shapelib
228            1.2.9
229    
230            * setup.py (Lib.wxproj extension): Don't link shpopen.c and put
231            the pyshapelib directoy into the list of include dirs, so that
232            pyshapelib_api.h can be found.
233    
234            * extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
235            holds the pyshapelib C-API
236            (draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
237            pyshapelib_api to access the shapelib functions.
238            (initwxproj): Import the c_api from the shapelib module and
239            initialize pyshapelib_api.
240    
241    2002-04-04  Bernhard Herzog  <[email protected]>
242    
243            * setup.py (thuban_bdist_rpm.initialize_options): Use
244            initialize_options to create the scripts for the rpm.
245    
246            * extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use /
247    
248    2002-04-03  Bernhard Herzog  <[email protected]>
249    
250            * setup.py: Increment version to 0.1.1
251    
252            * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
253            Layer" and "Remove Layer" commands from the layer menu to the map
254            menu
255    
256  2002-02-15  Bernhard Herzog  <[email protected]>  2002-02-15  Bernhard Herzog  <[email protected]>
257    
258          * Thuban/Model/layer.py (Layer.Shape): list append only takes one          * Thuban/Model/layer.py (Layer.Shape): list append only takes one

Legend:
Removed from v.83  
changed lines
  Added in v.184

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26