/[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 1534 by jonathan, Thu Jul 31 12:44:30 2003 UTC revision 1540 by bh, Fri Aug 1 14:28:21 2003 UTC
# Line 1  Line 1 
1    2003-08-01  Bernhard Herzog  <[email protected]>
2    
3            First step towards PostGIS integration. More abstraction by movin
4            more code from the layer to the shapestore. More methods of the
5            layer are now simply delegated to the equivalent method of the
6            shapestore. The SHAPETYPE_* constants are now in data not in
7            layer.
8    
9            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
10            (SHAPETYPE_POINT, Shape): Move these constants and classes from
11            layer.py to data.py
12            (ShapefileStore.__init__): More Initialization for the new methods
13            and functionality.
14            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
15            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
16            (ShapefileStore.Shape): New methods that were formerly implemented
17            in the layer.
18            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
19            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
20            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
21            equivalents of the new shape methods. These versions are simply
22            delegated to the original shapstore.
23    
24            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
25            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
26            (Layer.SetShapeStore): Removed the initializatin of instance
27            variables that were needed for the stuff that's now in
28            ShapefileStore
29            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
30            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
31            shapestore.
32    
33            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
34            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
35            instead of layer.
36    
37            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
38    
39            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
40    
41            * test/test_layer.py: Import the SHAPETYPE_* constants from data
42            instead of layer.
43            (TestLayer.test_derived_store): Remove the test for the exception
44            when instantiating the DerivedShapeStore with an incompatible
45            table which is now in test_derivedshapestore.py. Add some more
46            tests of the layer methods to determine whether they work for a
47            DerivedShapeStore as well.
48    
49  2003-07-31  Jonathan Coles   <[email protected]>  2003-07-31  Jonathan Coles   <[email protected]>
50    
51          * Doc/manual/thuban-manual.xml: Fix the list of required packages          * Doc/manual/thuban-manual.xml: Fix the list of required packages

Legend:
Removed from v.1534  
changed lines
  Added in v.1540

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26