1 |
2004-12-16 Bernhard Herzog <[email protected]> |
2004-12-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Add support for PostGIS tables with LINESTRING geomentries. |
4 |
|
Fixes RT#2299 |
5 |
|
|
6 |
|
* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING |
7 |
|
|
8 |
|
* test/postgissupport.py |
9 |
|
(PostgreSQLServer.get_default_static_data_db): Rename the "roads" |
10 |
|
table to "roads-multi" because it now uses MULTILINESTRING |
11 |
|
geometries and introduce a new "roads" table that uses LINESTRING |
12 |
|
(coords_to_multilinestring): Make the doc string more precise |
13 |
|
(coords_to_linestring): New. Create a LINESTRING WKT |
14 |
|
representatin |
15 |
|
(wkt_converter): Add coords_to_linestring |
16 |
|
(upload_shapefile): Rephrase the doc-string a bit. |
17 |
|
|
18 |
|
* test/test_postgis_db.py (TestPostGISShapestoreArc) |
19 |
|
(LineStringTests) |
20 |
|
(TestPostGISShapestoreLineString) |
21 |
|
(TestPostGISShapestoreMultiLineString): Split |
22 |
|
TestPostGISShapestoreArc into a base class LineStringTests and two |
23 |
|
derived classes TestPostGISShapestoreLineString for LINESTRING |
24 |
|
geometries and TestPostGISShapestoreMultiLineString for |
25 |
|
MULTILINESTRING geometries. Most test methods are in the base |
26 |
|
class with the exception of tests that explicitly check the raw |
27 |
|
format. |
28 |
|
|
29 |
|
2004-12-16 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
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 |
32 |
|
|
33 |
* test/postgissupport.py (find_postgis_sql): Different postgis |
* test/postgissupport.py (find_postgis_sql): Different postgis |