1 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
Refactored in svgexport: |
4 |
|
DrawPath replaces DrawPolygon; added newline in front of "M" in paths. |
5 |
|
|
6 |
|
* Extensions/svgexport/svgmapwriter.py |
7 |
|
Added verbosity level 3 to print out polygon points. |
8 |
|
(class Point): added __repr__ |
9 |
|
(class Brush, __str__()): Added space after ,. |
10 |
|
(DrawPolygon): Renamed to DrawPath() |
11 |
|
(DrawPath): Takes list of polygons as input now, adds \n before "M"s. |
12 |
|
(DrawLines): Using DrawPath now. |
13 |
|
|
14 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
15 |
|
Replaced DrawPolygon() calls with DrawPath() and put the first argument |
16 |
|
inside another list. Adapted test data with a newline before "M". |
17 |
|
|
18 |
|
2004-12-18 Bernhard Reiter <[email protected]> |
19 |
|
|
20 |
|
Refactored svgexport tests: 9 double tests runs eliminated; |
21 |
|
code size reduced by 8 lines. |
22 |
|
|
23 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
24 |
|
(class TestWithDC): Renamed to BaseTestWithDC, moved to top. |
25 |
|
(class BaseWithDCtools): New, subclass from BaseTestWithDC. |
26 |
|
(class TestDrawSplines): now subclass from BaseTestWithDCtools, |
27 |
|
this fixed the double running of the nine tests of TestVirtualDC. |
28 |
|
(class TestVirtualDC): Using self.dc and self.file from setUp(). |
29 |
|
|
30 |
|
2004-12-17 Bernhard Herzog <[email protected]> |
31 |
|
|
32 |
|
Two windows specific fixes ported from thuban-1�0-branch: |
33 |
|
|
34 |
|
* Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale |
35 |
|
instead of getlocale because getlocale doesn't return a usable |
36 |
|
encoding name on a german windows 2000 |
37 |
|
|
38 |
|
* setup.py: windows build: Removed the absolute path names and |
39 |
|
made all prfixes relative to the directory containing setup.py. |
40 |
|
Makes it a little easier to adapt to a different system. |
41 |
|
|
42 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
Add support for PostGIS tables with LINESTRING geometries. |
45 |
|
Fixes RT#2299 |
46 |
|
|
47 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING |
48 |
|
|
49 |
|
* test/postgissupport.py |
50 |
|
(PostgreSQLServer.get_default_static_data_db): Rename the "roads" |
51 |
|
table to "roads-multi" because it now uses MULTILINESTRING |
52 |
|
geometries and introduce a new "roads" table that uses LINESTRING |
53 |
|
(coords_to_multilinestring): Make the doc string more precise |
54 |
|
(coords_to_linestring): New. Create a LINESTRING WKT |
55 |
|
representatin |
56 |
|
(wkt_converter): Add coords_to_linestring |
57 |
|
(upload_shapefile): Rephrase the doc-string a bit. |
58 |
|
|
59 |
|
* test/test_postgis_db.py (TestPostGISShapestoreArc) |
60 |
|
(LineStringTests) |
61 |
|
(TestPostGISShapestoreLineString) |
62 |
|
(TestPostGISShapestoreMultiLineString): Split |
63 |
|
TestPostGISShapestoreArc into a base class LineStringTests and two |
64 |
|
derived classes TestPostGISShapestoreLineString for LINESTRING |
65 |
|
geometries and TestPostGISShapestoreMultiLineString for |
66 |
|
MULTILINESTRING geometries. Most test methods are in the base |
67 |
|
class with the exception of tests that explicitly check the raw |
68 |
|
format. |
69 |
|
|
70 |
2004-12-16 Bernhard Herzog <[email protected]> |
2004-12-16 Bernhard Herzog <[email protected]> |
71 |
|
|
72 |
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4 |
Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4 |