1 |
2003-08-25 Bernhard Herzog <[email protected]> |
2003-08-25 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON. |
4 |
|
|
5 |
|
* test/test_postgis_db.py (PolygonTests): New class containing |
6 |
|
those tests from TestPostGISShapestorePolygon that can also be |
7 |
|
used to test MUTLIPOLYGON tables |
8 |
|
(TestPostGISShapestorePolygon): Most tests are now in PolygonTests |
9 |
|
so derive from that |
10 |
|
(TestPostGISShapestoreMultiPolygon): New class with tests for |
11 |
|
MUTLIPOLYGON tables |
12 |
|
|
13 |
|
* test/postgissupport.py (PostGISDatabase.initdb): Allow the |
14 |
|
tables argument to have tuples with three items to override the |
15 |
|
WKT type used. |
16 |
|
(PostgreSQLServer.get_default_static_data_db): Use the above to |
17 |
|
create a polygon table with MUTLIPOLYGONs |
18 |
|
(point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon) |
19 |
|
(arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to |
20 |
|
coords_to* |
21 |
|
(coords_to_multipolygon): New. Convert to MUTLIPOLYGON |
22 |
|
(wkt_converter): New. Map WKT types to converters |
23 |
|
(upload_shapefile): New parameter force_wkt_type to use a |
24 |
|
different WKT type than the default |
25 |
|
|
26 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
* Thuban/UI/application.py |
* Thuban/UI/application.py |
29 |
(ThubanApplication.run_db_param_dialog): New. Suitable as a |
(ThubanApplication.run_db_param_dialog): New. Suitable as a |
30 |
db_connection_callback. Main difference is that the dialog run |
db_connection_callback. Main difference is that the dialog run |