-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
What version of PgOSM Flex are you using?
1.1.1
Docker image
1.1.1
What operating system, osm2pgsql, and PostgreSQL/PostGIS versions are you using?
Using Docker
What did you do exactly?
I was following the instructions for setting up routing here: https://pgosm-flex.com/routing.html and ran into the problem that all of the functions have been removed in version 4.0.0.
What did you expect to happen?
I expected the demo to work correctly.
What did happen instead?
Please see the error below:
pgosm=# SELECT pgr_nodeNetwork('routing.road_line', 0.1, 'id', 'geom');
SELECT pgr_createTopology('routing.road_line_noded', 0.1, 'geom');
SELECT pgr_analyzeGraph('routing.road_line_noded', 0.1, 'geom');
ERROR: function pgr_nodenetwork(unknown, numeric, unknown, unknown) does not exist
LINE 1: SELECT pgr_nodeNetwork('routing.road_line', 0.1, 'id', 'geom...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: function pgr_createtopology(unknown, numeric, unknown) does not exist
LINE 1: SELECT pgr_createTopology('routing.road_line_noded', 0.1, 'g...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: function pgr_analyzegraph(unknown, numeric, unknown) does not exist
LINE 1: SELECT pgr_analyzeGraph('routing.road_line_noded', 0.1, 'geo...
^
What did you do to try analyzing the problem?
I read the release notes and documentation of pgrouting. It looks like the workaround is a bit cumbersome, so I think the solution for me is to just downgrade to a version pgsom-flex that uses a version of pgrouting <4.
Do you have any plans to update the docs to work with the latest pgrouting version?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation