We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1aa17 commit bcc6b13Copy full SHA for bcc6b13
function_get_waypoint.sql
@@ -4,5 +4,5 @@
4
5
-- DROP FUNCTION routing.get_waypoint(geometry);
6
CREATE OR REPLACE FUNCTION routing.get_waypoint(test_geom geometry) RETURNS int AS $$
7
- SELECT id::integer FROM routing.ways_vertices_pgr ORDER BY the_geom <-> test_geom LIMIT 1;;
+ SELECT id::integer FROM routing.way_vertices ORDER BY the_geom <-> test_geom LIMIT 1;;
8
$$ LANGUAGE SQL;
0 commit comments