@@ -140,12 +140,12 @@ a graph.
140140 Description of the function can be found in `pgr_extractVertices
141141<https://docs.pgrouting.org/latest/en/pgr_extractVertices.html> `__
142142
143- Exercise 1: Create a vertices table
143+ Exercise 1: Create a ways_vertices_pgr table
144144-------------------------------------------------------------------------------
145145
146146.. rubric :: Problem
147147
148- Create the vertices table corresponding to the edges in ``ways ``.
148+ Create the ways_vertices_pgr table corresponding to the edges in ``ways ``.
149149
150150.. rubric :: Solution
151151
@@ -167,7 +167,7 @@ Create the vertices table corresponding to the edges in ``ways``.
167167
168168 .. literalinclude :: ../scripts/basic/graphs/create_vertices.txt
169169
170- Reviewing the description of the vertices table
170+ Reviewing the description of the ways_vertices_pgr table
171171
172172.. literalinclude :: ../scripts/basic/graphs/graphs.sql
173173 :start-after: vertices_description.txt
@@ -177,7 +177,7 @@ Reviewing the description of the vertices table
177177
178178 .. literalinclude :: ../scripts/basic/graphs/vertices_description.txt
179179
180- Inspecting the information on the vertices table
180+ Inspecting the information on the ways_vertices_pgr table
181181
182182.. literalinclude :: ../scripts/basic/graphs/graphs.sql
183183 :language: sql
@@ -189,12 +189,12 @@ Inspecting the information on the vertices table
189189 .. literalinclude :: ../scripts/basic/graphs/selected_rows.txt
190190
191191
192- Exercise 2: Fill up other columns in the vertices table
192+ Exercise 2: Fill up other columns in the ways_vertices_pgr table
193193-------------------------------------------------------------------------------
194194
195195.. rubric :: Problem
196196
197- Fill up geometry information on the vertices table.
197+ Fill up geometry information on the ways_vertices_pgr table.
198198
199199.. rubric :: Solution
200200
@@ -211,7 +211,7 @@ Count the number of rows that need to be filled up.
211211.. rubric :: Update the ``geom`` and ``osm_id`` columns
212212
213213* The update based on the ``source `` column from ``ways `` table and the ``id ``
214- column of the vertices table.
214+ column of the ways_vertices_pgr table.
215215* To update ``geom `` column, use the start point of the geometry on the ``ways ``
216216 table.
217217* Use the ``source_osm `` value to fill up ``osm_id `` column.
@@ -227,7 +227,7 @@ Count the number of rows that need to be filled up.
227227
228228 .. literalinclude :: ../scripts/basic/graphs/fill_columns_2.txt
229229
230- Not expecting to be done due to the fact that some vertices are dead ends.
230+ Not expecting to be done due to the fact that some ways_vertices_pgr are dead ends.
231231
232232.. literalinclude :: ../scripts/basic/graphs/graphs.sql
233233 :language: sql
@@ -241,7 +241,7 @@ Not expecting to be done due to the fact that some vertices are dead ends.
241241.. rubric :: Continue update the ``geom`` and ``osm_id`` columns
242242
243243* The update based on the ``target `` column from ``ways `` table and the ``id ``
244- column of the vertices table.
244+ column of the ways_vertices_pgr table.
245245* To update ``geom `` column, use the end point of the geometry on the ``ways ``
246246 table.
247247* Use the ``target_osm `` value to fill up ``osm_id `` column.
@@ -305,7 +305,7 @@ Description of the function can be found in `pgr_connectedComponents
305305<https://docs.pgrouting.org/latest/en/pgr_connectedComponents.html> `__
306306
307307
308- Exercise 3: Set components on edges and vertices tables
308+ Exercise 3: Set components on edges and ways_vertices_pgr tables
309309-------------------------------------------------------------------------------
310310
311311.. rubric :: Problem
@@ -325,9 +325,9 @@ Create additional columns on the edges tables.
325325
326326 .. literalinclude :: ../scripts/basic/graphs/set_components1.txt
327327
328- .. rubric :: Use the ``pgr_connectedComponents`` to fill up the vertices table.
328+ .. rubric :: Use the ``pgr_connectedComponents`` to fill up the ways_vertices_pgr table.
329329
330- - Use the results to store the component numbers on the vertices table.
330+ - Use the results to store the component numbers on the ways_vertices_pgr table.
331331
332332.. literalinclude :: ../scripts/basic/graphs/graphs.sql
333333 :language: sql
@@ -358,14 +358,14 @@ Exercise 4: Inspect the components
358358
359359Answer the following questions:
360360
361- #. How many components are in the vertices table?
361+ #. How many components are in the ways_vertices_pgr table?
362362#. How many components are in the edges table?
363363#. List the 10 components with more edges.
364364#. Get the component with the maximum number of edges.
365365
366366.. rubric :: Solution
367367
368- .. rubric :: 1. How many components are in the vertices table?
368+ .. rubric :: 1. How many components are in the ways_vertices_pgr table?
369369
370370Count the distinct components.
371371
0 commit comments