<div dir="ltr">I fugured it out.<br>This is an example on how to build a topology with more than one layer contributing:<br><br>select topology.CreateTopology('topo', 3857)<br>--creating topo geom : layer 1<br>select AddTopoGeometryColumn('topo', 'schema', 'table_a', 'topogeom', 'MULTIPOLYGON')<br>--creating topo geom : layer 2<br>select AddTopoGeometryColumn('topo', 'schema', 'table_ab', 'topogeom', 'MULTIPOLYGON')<br>-- inserting data from vegatacao<br>select toTopoGeom(geom, 'topo', 1, 5) from schema.table_a<br>-- inserting data from massa dagua<br>select toTopoGeom(geom, 'topo', 2, 5) from schema.table_b<br><br>The snap is performed according to the insertion order when populating the topology.<br><br><br><br>Em sexta-feira, 16 de setembro de 2016 18:01:36 UTC-3, Luiz Andrade  escreveu:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi there,<br>My name is Luiz Claudio and I'm a QGIS plugin developer.<br>Here in Brazil we have a quite complex Spatial Data Structure (more than 200 layers).<br>Recently, our cartographic production has changed to QGIS, but until today we use GOTHIC LAMPS2 from Laser-Scan to deal with topology.<p>As we are studying Postgis topology and I would like to ask you guys some questions.</p><p>Question1:<br>How can I build one topology with contribution of several layers?<br>Our Spatial Data Structure needs to be validated considering several layers. For example, the vegetation and hydrography layers should build one topology because one has influence in the other.</p><p>In a topology structure like the one mentioned above, is it possible to set priorities to perform the snap the layers?<br>For instance, one layer should be used as reference to snap other layers according to a priority when creating the topology structure.</p><p>Thanks for your help in advance.</p><p>Regards,<br>Luiz Claudio.</p><p></p><p><br>______________________________<wbr>_________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank" rel="nofollow" onmousedown="this.href='mailto:postgis-users@lists.osgeo.org';return true;" onclick="this.href='mailto:postgis-users@lists.osgeo.org';return true;">postgis-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fpostgis-users\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE5MnSU134H4CJw8HWbVRzj9jZBFg';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fpostgis-users\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE5MnSU134H4CJw8HWbVRzj9jZBFg';return true;">http://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a></p><p></p><p></p><p></p><p></p><p></p><p></p></blockquote></div>