CopyTopology
Name
CopyTopology — Makes a copy of a topology structure (nodes, edges, faces, layers and TopoGeometries).
Synopsis
integer
CopyTopology
(
varchar
existing_topology_name
, varchar
new_name
)
;
Description
Creates a new topology with name
new_topology_name
and SRID and precision taken from
existing_topology_name
, copies all nodes, edges and faces in there, copies layers and their TopoGeometries too.
The new rows in topology.layer will contain synthesized values for schema_name, table_name and feature_column. This is because the TopoGeometry will only exist as a definition but won't be available in any user-level table yet. |
Availability: 2.0.0