postgis/topology/test/cache_geometries.sql
Sandro Santilli e51b2fe6b6 Added ST_ModEdgesSplit function, cleaned up test files, added tests for
the new topology editing functions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1971 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 10:04:15 +00:00

19 lines
858 B
SQL

-- This script adds a the_geom column to the feature tables
-- created by load_topology.sql and stores there the SFS Geometry
-- derived by the TopoGeometry column
--ALTER TABLE features.city_streets ADD the_geom geometry;
UPDATE features.city_streets set the_geom = multi(topology.Geometry(feature));
--ALTER TABLE features.traffic_signs ADD the_geom geometry;
UPDATE features.traffic_signs set the_geom = multi(topology.Geometry(feature));
--ALTER TABLE features.land_parcels ADD the_geom geometry;
UPDATE features.land_parcels set the_geom = multi(topology.Geometry(feature));
--ALTER TABLE features.big_parcels ADD the_geom geometry;
UPDATE features.big_parcels set the_geom = multi(topology.Geometry(feature));
--ALTER TABLE features.big_signs ADD the_geom geometry;
UPDATE features.big_signs set the_geom = multi(topology.Geometry(feature));