bh: thuban ChangeLog,1.736,1.737

cvs@intevation.de cvs at intevation.de
Thu Dec 16 16:18:59 CET 2004


Author: bh

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv26776

Modified Files:
	ChangeLog 
Log Message:
Add support for PostGIS tables with LINESTRING geomentries.
Fixes RT#2299

* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING

* test/postgissupport.py
(PostgreSQLServer.get_default_static_data_db): Rename the "roads"
table to "roads-multi" because it now uses MULTILINESTRING
geometries and introduce a new "roads" table that uses LINESTRING
(coords_to_multilinestring): Make the doc string more precise
(coords_to_linestring): New.  Create a LINESTRING WKT
representatin
(wkt_converter): Add coords_to_linestring
(upload_shapefile): Rephrase the doc-string a bit.

* test/test_postgis_db.py (TestPostGISShapestoreArc)
(LineStringTests)
(TestPostGISShapestoreLineString)
(TestPostGISShapestoreMultiLineString): Split
TestPostGISShapestoreArc into a base class LineStringTests and two
derived classes TestPostGISShapestoreLineString for LINESTRING
geometries and TestPostGISShapestoreMultiLineString for
MULTILINESTRING geometries.  Most test methods are in the base
class with the exception of tests that explicitly check the raw
format.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.736
retrieving revision 1.737
diff -u -d -r1.736 -r1.737
--- ChangeLog	16 Dec 2004 14:19:21 -0000	1.736
+++ ChangeLog	16 Dec 2004 15:18:57 -0000	1.737
@@ -1,5 +1,33 @@
 2004-12-16  Bernhard Herzog  <bh at intevation.de>
 
+	Add support for PostGIS tables with LINESTRING geomentries.
+	Fixes RT#2299
+
+	* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
+
+	* test/postgissupport.py
+	(PostgreSQLServer.get_default_static_data_db): Rename the "roads"
+	table to "roads-multi" because it now uses MULTILINESTRING
+	geometries and introduce a new "roads" table that uses LINESTRING
+	(coords_to_multilinestring): Make the doc string more precise
+	(coords_to_linestring): New.  Create a LINESTRING WKT
+	representatin
+	(wkt_converter): Add coords_to_linestring
+	(upload_shapefile): Rephrase the doc-string a bit.
+
+	* test/test_postgis_db.py (TestPostGISShapestoreArc)
+	(LineStringTests)
+	(TestPostGISShapestoreLineString)
+	(TestPostGISShapestoreMultiLineString): Split
+	TestPostGISShapestoreArc into a base class LineStringTests and two
+	derived classes TestPostGISShapestoreLineString for LINESTRING
+	geometries and TestPostGISShapestoreMultiLineString for
+	MULTILINESTRING geometries.  Most test methods are in the base
+	class with the exception of tests that explicitly check the raw
+	format.
+
+2004-12-16  Bernhard Herzog  <bh at intevation.de>
+
 	Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
 
 	* test/postgissupport.py (find_postgis_sql): Different postgis





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)