Skip to content

Commit

Permalink
Add postgis and pgrouting
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelbej committed May 31, 2024
1 parent 2a7bfac commit a54d4f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/planwise/plpgsql/isochrones.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS pgrouting;

-- find closest node to a point
CREATE OR REPLACE FUNCTION closest_node (original geometry(point, 4326))
returns integer as $$
Expand Down
3 changes: 3 additions & 0 deletions resources/planwise/plpgsql/patches.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS pgrouting;

-- Copied from pgRouting and modified
-- Original file: src/alpha_shape/sql/alpha_shape.sql
-- Original copyright notice follows
Expand Down

0 comments on commit a54d4f5

Please sign in to comment.