Skip to content
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

#1091 Bugfix #1092 #1110

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
)

RETURNS record
LANGUAGE 'sql'

Check failure on line 11 in gis/centreline/sql/create_function_get_centreline_btwn_intersections.sql

View workflow job for this annotation

GitHub Actions / SQLFluff Lint

SQLFluff

RF06: Unnecessary quoted identifier 'sql'.
COST 100
STABLE STRICT PARALLEL UNSAFE
AS $BODY$

WITH results as (
SELECT *
FROM pgr_dijkstra('SELECT id, source::int, target::int, cost::int
FROM pgr_dijkstra('SELECT id, source::int, target::int, cost_length::int
as cost from gis_core.routing_centreline_directional', _node_start, _node_end)
)

Expand All @@ -28,9 +28,9 @@
ALTER FUNCTION gis_core.get_centreline_btwn_intersections(integer, integer) OWNER TO gis_admins;

COMMENT ON FUNCTION gis_core.get_centreline_btwn_intersections(integer, integer)
IS 'Routing function for centreline, takes in start intersection_id and end intersection_id and returns an array of centreline_id, as well as one line geometry between two intersections.';

Check notice on line 31 in gis/centreline/sql/create_function_get_centreline_btwn_intersections.sql

View workflow job for this annotation

GitHub Actions / SQLFluff Lint

SQLFluff

LT05: Line is too long (188 > 100).

GRANT EXECUTE ON FUNCTION gis_core.get_centreline_btwn_intersections(integer, integer) TO bdit_humans;

Check notice on line 33 in gis/centreline/sql/create_function_get_centreline_btwn_intersections.sql

View workflow job for this annotation

GitHub Actions / SQLFluff Lint

SQLFluff

LT05: Line is too long (102 > 100).

GRANT EXECUTE ON FUNCTION gis_core.get_centreline_btwn_intersections(integer, integer) TO gis_admins;

Check notice on line 35 in gis/centreline/sql/create_function_get_centreline_btwn_intersections.sql

View workflow job for this annotation

GitHub Actions / SQLFluff Lint

SQLFluff

LT05: Line is too long (101 > 100).

Loading