Skip to content

Commit bcc6b13

Browse files
committed
use way_vertices view
1 parent 1b1aa17 commit bcc6b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function_get_waypoint.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
-- DROP FUNCTION routing.get_waypoint(geometry);
66
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;;
7+
SELECT id::integer FROM routing.way_vertices ORDER BY the_geom <-> test_geom LIMIT 1;;
88
$$ LANGUAGE SQL;

0 commit comments

Comments
 (0)