From: Sandro Santilli Date: Tue, 24 Jan 2012 18:04:29 +0000 (+0000) Subject: Stop WARNING from AddFace about next_left_edge/next_right_edge X-Git-Tag: 2.0.0alpha2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dcfd39ba41426f6dee0ac58cc9a5b6dd08481b68;p=postgis Stop WARNING from AddFace about next_left_edge/next_right_edge git-svn-id: http://svn.osgeo.org/postgis/trunk@8916 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index 1c6fbb82a..41931ccd9 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -2157,6 +2157,10 @@ Isolated nodes contained in the face will also be updated to have a correct containing_face field value. + +This function does not use nor set the next_left_edge and next_right_edge fields of the edge table. + + The target topology is assumed to be valid (containing no self-intersecting edges). An exception is raised if: The polygon boundary is not fully defined by existing edges or the polygon overlaps an existing face. diff --git a/topology/sql/populate.sql.in.c b/topology/sql/populate.sql.in.c index 7dd1a7931..2760b4e5d 100644 --- a/topology/sql/populate.sql.in.c +++ b/topology/sql/populate.sql.in.c @@ -616,17 +616,6 @@ BEGIN || quote_literal(apoly::text) || ', geom)'; - -- - -- TODO: - -- Set next_left_face and next_right_face ! - -- These are required by the model, but not really used - -- by this implementation... - -- NOTE: should probably be done when adding edges rather than - -- when registering faces - -- - RAISE WARNING 'Not updating next_{left,right}_face fields of face boundary edges'; - - RETURN faceid; END