Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -193,6 +193,8 @@ def test_table(dbconn, table_name, wkt): |
|
|
test_table(self.dbconn, 'mls2d', 'MultiLineString ((0 0, 1 1),(2 2, 3 3))') |
|
|
test_table(self.dbconn, 'mls3d', 'MultiLineStringZ ((0 0 0, 1 1 1),(2 2 2, 3 3 3))') |
|
|
|
|
|
test_table(self.dbconn, 'pt4d', 'PointZM (1 2 3 4)') |
|
|
|
|
|
def testGetFeaturesUniqueId(self): |
|
|
""" |
|
|
Test tables with inheritance for unique ids |
|
|
|
@@ -238,6 +238,17 @@ CREATE TABLE qgis_test.mls3d( |
|
|
INSERT INTO qgis_test.mls3d values (1, 'srid=4326;MultiLineString((0 0 0, 1 1 1),(2 2 2, 3 3 3))'::geometry); |
|
|
|
|
|
|
|
|
-- Test of 4D geometries (with Z and M values) |
|
|
|
|
|
CREATE TABLE qgis_test.pt4d( |
|
|
id int, |
|
|
geom Geometry(PointZM,4326) |
|
|
); |
|
|
|
|
|
INSERT INTO qgis_test.pt4d values (1, 'srid=4326;PointZM(1 2 3 4)'::geometry); |
|
|
|
|
|
|
|
|
|
|
|
----------------------------------------- |
|
|
-- Test tables with INHERITS |
|
|
-- |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.