Skip to content

Commit d2faf88

Browse files
committed
(doc) nodeNetwork) adjusting documentation for pgr_nodeNetwork
1 parent f557033 commit d2faf88

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

doc/topology/pgr_nodeNetwork.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ edges into a new table.
3636
3737
.. rubric:: Availability
3838

39+
* Version 3.8.0
40+
41+
* Not checking and not creating indexes.
42+
* Using ``pgr_separateTouching`` and ``pgr_separateCrossing``.
43+
* Created table with ``BIGINT``.
44+
3945
* Version 2.0.0
4046

4147
* Official function.
@@ -78,8 +84,8 @@ The output table will have for ``edge_table_noded``
7884
:id: ``bigint`` Unique identifier for the table
7985
:old_id: ``bigint`` Identifier of the edge in original table
8086
:sub_id: ``integer`` Segment number of the original edge
81-
:source: ``integer`` Empty source column
82-
:target: ``integer`` Empty target column
87+
:source: ``bigint`` Empty source column
88+
:target: ``bigint`` Empty target column
8389
:the geom: ``geometry`` Geometry column of the noded network
8490

8591
Examples

docqueries/topology/nodeNetwork.result

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ NOTICE: ----------------------------------
167167
SELECT old_id, ST_AsText(geom) FROM edges_noded ORDER BY old_id, sub_id;
168168
old_id | st_astext
169169
--------+----------------------------------------
170-
14 | LINESTRING(2 3,2 3.5)
171-
14 | LINESTRING(2 3.5,2 4)
170+
14 | LINESTRING(2 3,1.999999999999 3.5)
171+
14 | LINESTRING(1.999999999999 3.5,2 4)
172172
17 | LINESTRING(0.5 3.5,1.999999999999 3.5)
173173
(3 rows)
174174

@@ -216,9 +216,10 @@ results AS (
216216
FROM data d
217217
)
218218
SELECT * FROM results;
219-
edge_id | fraction | side | distance | geom | edge | id | inhere
220-
---------+----------+------+----------+------+------+----+--------
221-
(0 rows)
219+
edge_id | fraction | side | distance | geom | edge | id | inhere
220+
---------+----------+------+-----------------------+--------------------------------------------+------------------------------------------------------------------------------------+-----+--------
221+
17 | 1 | l | 1.000088900582341e-12 | 010100000000000000000000400000000000000C40 | 01020000000200000000000000000000400000000000000C4068EEFFFFFFFFFF3F0000000000000C40 | 201 | 25
222+
(1 row)
222223

223224
/* --q21 */
224225
ROLLBACK;

0 commit comments

Comments
 (0)