[postgis-devel] Topology allow more than one layer with same topocolumn-name
aperi2007
aperi2007 at gmail.com
Mon Jan 3 04:56:41 PST 2011
In the topology,
actually is possible to do this:
SELECT topology.CreateTopology('ma_topo',4326, 0.00005);
SELECT topology.AddTopoGeometryColumn('schema-of-topology',
'schema-of-layer', 'linear_layer1', 'topo_name_column', 'LINE');
SELECT topology.AddTopoGeometryColumn('schema-of-topology',
'schema-of-layer', 'linear_layer2', 'topo_name_column', 'LINE');
SELECT topology.AddTopoGeometryColumn('schema-of-topology',
'schema-of-layer', 'poligonal_layer3', 'topo_name_column', 'POLYGON');
So I add three layer every one having the same topo-column name.
I don't understand if this is a correct situation or not.
I believe three layers must have three distinct topocolumn names if use
the same topology
don't ?
Thx,
Andrea.
More information about the postgis-devel
mailing list