1 |
|
2003-08-26 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a |
4 |
|
more postgis specific but much faster method to get the bounding |
5 |
|
box |
6 |
|
|
7 |
|
2003-08-26 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/Model/postgisdb.py (PostGISTable.Title) |
10 |
|
(PostGISShapeStore.AllShapes): Add these missing methods. |
11 |
|
(PostGISShapeStore.ShapesInRegion): No need to raise |
12 |
|
StopIteration. We can simply return |
13 |
|
|
14 |
|
* test/test_postgis_db.py (TestPostGISTable.test_title) |
15 |
|
(TestPostGISShapestorePoint.test_all_shapes): New tests for the |
16 |
|
new methods |
17 |
|
|
18 |
|
2003-08-25 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON. |
21 |
|
|
22 |
|
* test/test_postgis_db.py (PolygonTests): New class containing |
23 |
|
those tests from TestPostGISShapestorePolygon that can also be |
24 |
|
used to test MUTLIPOLYGON tables |
25 |
|
(TestPostGISShapestorePolygon): Most tests are now in PolygonTests |
26 |
|
so derive from that |
27 |
|
(TestPostGISShapestoreMultiPolygon): New class with tests for |
28 |
|
MUTLIPOLYGON tables |
29 |
|
|
30 |
|
* test/postgissupport.py (PostGISDatabase.initdb): Allow the |
31 |
|
tables argument to have tuples with three items to override the |
32 |
|
WKT type used. |
33 |
|
(PostgreSQLServer.get_default_static_data_db): Use the above to |
34 |
|
create a polygon table with MUTLIPOLYGONs |
35 |
|
(point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon) |
36 |
|
(arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to |
37 |
|
coords_to* |
38 |
|
(coords_to_multipolygon): New. Convert to MUTLIPOLYGON |
39 |
|
(wkt_converter): New. Map WKT types to converters |
40 |
|
(upload_shapefile): New parameter force_wkt_type to use a |
41 |
|
different WKT type than the default |
42 |
|
|
43 |
2003-08-25 Bernhard Herzog <[email protected]> |
2003-08-25 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
* Thuban/UI/application.py |
* Thuban/UI/application.py |