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 bcc6b13 commit a1bdad6Copy full SHA for a1bdad6
view_ways_with_info.sql
@@ -6,7 +6,7 @@ CREATE OR REPLACE VIEW routing.ways_with_info AS
6
SELECT ways.gid,
7
ways.source,
8
ways.target,
9
- ST_Length(ways.the_geom, true) length,
+ st_length(ways.the_geom::geography, true) AS length,
10
ways.the_geom,
11
way_info.osm_id,
12
way_info.public,
@@ -37,3 +37,5 @@ CREATE OR REPLACE VIEW routing.ways_with_info AS
37
38
ALTER TABLE routing.ways_with_info
39
OWNER TO postgres;
40
+GRANT ALL ON TABLE routing.ways_with_info TO postgres;
41
+GRANT SELECT ON TABLE routing.ways_with_info TO readonly;
0 commit comments