TopoGeo_AddLineString — 使用容差将线串添加到现有拓扑中,并在可能的情况下拆分边或面。
SETOF bigint TopoGeo_AddLineString(
varchar atopology, geometry aline, float8 tolerance, int max_edges)
;
Adds a linestring to an existing topology and returns a set of signed edge identifiers forming it up (negative identifies mean the edge goes in the opposite direction of the input linestring).
The given line will snap to existing nodes or edges within given tolerance. Existing edges and faces may be split by the line. New nodes and faces may be added, in addition to new edges.
The returned edge identifiers may be either existing edges or newly created edges as needed to fully represent the input line as closely as possible.
The number of newly created edges (either covering space previously uncovered or resulting from split of existing edges) may be limited by the max_edges
parameter.
![]() |
|
更新有关通过此函数加载的拓扑的统计信息由调用者决定,请参阅maintaining statistics during topology editing and population在拓扑编辑和填充期间维护统计信息。 |
可用性: 2.0.0
增强:3.2.0 版本新增了返回符号化标识符的功能。
Enhanced: 3.7.0 added support for limiting the number of new edges created in the topology.