1 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Fix some postgis problems. What remains to be done is real |
4 |
|
handling of SRIDs as they affect how reprojection is done |
5 |
|
|
6 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
7 |
|
doc-string |
8 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
9 |
|
inherited method to retrieve srid |
10 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
11 |
|
extent yields NULL for those |
12 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
13 |
|
|
14 |
|
* test/test_postgis_db.py |
15 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
16 |
|
for the special case of a table without any data |
17 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
18 |
|
that uses srids |
19 |
|
(PolygonTests): Fix a doc-string typo |
20 |
|
|
21 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
22 |
|
reference_systems with a specification of spacial reference |
23 |
|
systems to create in the new db. |
24 |
|
(PostgreSQLServer.new_postgis_db) |
25 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
26 |
|
reference_systems to be passed through ultimately to |
27 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
28 |
|
db already has the right srids |
29 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
30 |
|
table that uses srids |
31 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
32 |
|
systems |
33 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
34 |
|
check for those too |
35 |
|
(upload_shapefile): New parameter srid to create tables with a |
36 |
|
specific srid |
37 |
|
|
38 |
2004-02-06 Frank Koormann <[email protected]> |
2004-02-06 Frank Koormann <[email protected]> |
39 |
|
|
40 |
* po/pt_BR.po: Fixed charset |
* po/pt_BR.po: Fixed charset |