-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pgr_createTopology documentation #2308
Comments
@kimonkrenz |
Hi @cvvergara, this looks clear and good to me. Two small remarks, and one question:
|
Reminder for me:
To
|
About geometriesActually, to use pgRouting it does not need any geometry at all. see here
About some other similar consequences
The 3.4/4.0 under the covers objective is to deprecate:
As you can see on the documentation of pgr_extractVertices If the user needs something special, the code can be grabbed from the And of course osm2pgRouting needs to be checked/adjusted so that the deprecated functions are not used and has all the basic needed columns to run any pgRouting function. tasks
|
It looks good. It may be very handy to highlight that one might want to contract the graph afterwards? While |
I am working this PR: @TimMcCauley If I understand correctly
task
|
Cool function @cvvergara - what I mean is that createTopology takes care of not respecting degree 2 nodes while extractVertices does not. I.e. while extractVertices is much more performant, it will add vertices that are not really required. So removing them in a subsequent step with contraction makes sense to me. It could be highlighted in the docs if you think this is worth while. |
Not yet finished, but #2311 covers more one documenting the "not use of pgr_createTopology" et all functions. |
Problem
pgr_createTopology
has a long processing time when dealing with large networks. An alternative constitutes the use of thepgr_extractVertices
function as pointed out by @Tim in issue:2087 and tested in issue:2255. This option is not directly obvious in the documentation, as the process is explained in the unobviously named functionpgr_extractVertices
without mentioning the functionality in the documentation Description.#Improvement
I suggest to make this functionality clear to the user by copying example 2 from the documentation of
pgr_extractVertices
to the documentation ofpgr_createTopology
. This will highlight to users dealing with large networks thatpgr_extractVertices
is an alternative option to create the topology when processing time is of concern.Alternatives
An alternative would be to reference example 2 in the documentation under Description of
pgr_createTopology
, e.g., "For an alternative way to create a network topology see pgr_extractVertices." and add to the Description ofpgr_extractVertices
that this function can also be used to create a network topology.The text was updated successfully, but these errors were encountered: