/usr/share/doc/postgresql-9.5-pgrouting-doc/html/en/_sources/doc/src/recipes/example_recipe.txt is in postgresql-9.5-pgrouting-doc 2.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ..
****************************************************************************
pgRouting Manual
Copyright(c) pgRouting Contributors
This documentation is licensed under a Creative Commons Attribution-Share
Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/
****************************************************************************
.. _example_recipe:
Comparing topology of a unnoded network with a noded network
-------------------------------------------------------------
:Author: pgRouting team.
:Licence: Open Source
This recipe uses the :ref:`sampledata` network.
The purpose of this recipe is to compare a not nodded network with a nodded network.
.. code-block:: sql
SELECT pgr_createTopology('edge_table', 0.001);
SELECT pgr_analyzegraph('edge_table', 0.001);
SELECT pgr_nodeNetwork('edge_table', 0.001);
SELECT pgr_createTopology('edge_table_noded', 0.001);
SELECT pgr_analyzegraph('edge_table_noded', 0.001);
|