Hi all

I try to import a polygon layer to postgis and build topology with tolerance.
I try something like that

SELECT CreateTopology('ec_topo2', 27572);
SELECT AddTopoGeometryColumn('ec_topo2', 'public', 'ec', 'topogeom2', 'MULTIPOLYGON');
UPDATE ec SET topogeom2 = toTopoGeom(geom, 'ec_topo', 1, 1.0);

But when I do that, I have

********** Erreur **********

ERREUR: Spatial exception - geometry intersects edge 262
État SQL :P0001
Contexte : fonction PL/pgsql « topogeo_addlinestring », ligne 124 à affectation SQL statement "SELECT array_cat(edges, array_agg(x)) FROM ( select topology.TopoGeo_addLinestring(atopology, rec.geom, tol) as x ) as foo"
fonction PL/pgsql « topogeo_addpolygon », ligne 24 à affectation
fonction PL/pgsql « totopogeom », ligne 112 à FOR sur des lignes de SELECT
fonction PL/pgsql « totopogeom », ligne 94 à affectation

I try to modify the tolerance parameter but it still doesn't work

Have  you a solution for that ?

Thanks a lot

Regards

Ludovic

<<attachment: ludovic_granjon.vcf>>

_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to