/[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 2460 by bh, Wed Dec 15 14:01:04 2004 UTC revision 2479 by bernhard, Fri Dec 17 23:06:03 2004 UTC
# Line 1  Line 1 
1    2004-12-18  Bernhard Reiter <[email protected]>
2            
3            Refactored svgexport tests: 9 double tests runs eliminated;
4            code size reduced by 8 lines.
5    
6            * Extensions/svgexport/test/test_svgmapwriter.py:
7            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
8            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
9            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
10            this fixed the double running of the nine tests of TestVirtualDC.
11            (class TestVirtualDC): Using self.dc and self.file from setUp().
12    
13    2004-12-17  Bernhard Herzog  <[email protected]>
14    
15            Two windows specific fixes ported from thuban-1�0-branch:
16    
17            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
18            instead of getlocale because getlocale doesn't return a usable
19            encoding name on a german windows 2000
20    
21            * setup.py: windows build: Removed the absolute path names and
22            made all prfixes relative to the directory containing setup.py.
23            Makes it a little easier to adapt to a different system.
24    
25    2004-12-16  Bernhard Herzog  <[email protected]>
26    
27            Add support for PostGIS tables with LINESTRING geometries.
28            Fixes RT#2299
29    
30            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
31    
32            * test/postgissupport.py
33            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
34            table to "roads-multi" because it now uses MULTILINESTRING
35            geometries and introduce a new "roads" table that uses LINESTRING
36            (coords_to_multilinestring): Make the doc string more precise
37            (coords_to_linestring): New.  Create a LINESTRING WKT
38            representatin
39            (wkt_converter): Add coords_to_linestring
40            (upload_shapefile): Rephrase the doc-string a bit.
41    
42            * test/test_postgis_db.py (TestPostGISShapestoreArc)
43            (LineStringTests)
44            (TestPostGISShapestoreLineString)
45            (TestPostGISShapestoreMultiLineString): Split
46            TestPostGISShapestoreArc into a base class LineStringTests and two
47            derived classes TestPostGISShapestoreLineString for LINESTRING
48            geometries and TestPostGISShapestoreMultiLineString for
49            MULTILINESTRING geometries.  Most test methods are in the base
50            class with the exception of tests that explicitly check the raw
51            format.
52    
53    2004-12-16  Bernhard Herzog  <[email protected]>
54    
55            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
56    
57            * test/postgissupport.py (find_postgis_sql): Different postgis
58            versions put the postgis.sql file into slightly different places
59            so we have to look in both.  The updated doc string describes this
60            is more detail.
61    
62            * test/test_postgis_db.py
63            (TestPostGISSpecialCases.test_column_name_quoting): The return
64            value of UniqueValues is unsorted, so it has to be sorted for
65            comparison.
66    
67    2004-12-16  Bernhard Herzog  <[email protected]>
68    
69            Fix for RT#2237
70    
71            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
72            panel to be shown is the UnknownProjPanel disable the OK and Try
73            buttons.  Otherwise enable them.
74            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
75            the parameters.  In that case __GetProjection also returns None
76            now.
77    
78    2004-12-15  Bernhard Herzog  <[email protected]>
79    
80            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
81            minimum number of classes to 2.  The calculate_quantiles needs at
82            least two and raises an exception otherwise.  
83            Fixes RT#2549
84    
85  2004-12-15  Bernhard Herzog  <[email protected]>  2004-12-15  Bernhard Herzog  <[email protected]>
86    
87          * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to          * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to

Legend:
Removed from v.2460  
changed lines
  Added in v.2479

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26