Fixed index and typo in doc.
This commit is contained in:
parent
6bff55ae03
commit
782c9e0ead
@ -64,7 +64,7 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, ramp int, oneway int
|
||||
WHERE zoom_level = 7
|
||||
UNION ALL
|
||||
|
||||
-- etldoc: osm_highway_linestring_gen3 -> layer_transportation:z8
|
||||
-- etldoc: osm_transportation_merge_linestring_gen3 -> layer_transportation:z8
|
||||
SELECT
|
||||
osm_id, geometry, highway, NULL AS railway, NULL AS service,
|
||||
NULL::boolean AS is_bridge, NULL::boolean AS is_tunnel,
|
||||
|
||||
@ -24,7 +24,7 @@ CREATE INDEX IF NOT EXISTS osm_highway_linestring_highway_idx
|
||||
-- Improve performance of the sql below
|
||||
CREATE INDEX IF NOT EXISTS osm_highway_linestring_highway_partial_idx
|
||||
ON osm_highway_linestring(highway)
|
||||
WHERE highway IN ('motorway','trunk');
|
||||
WHERE highway IN ('motorway','trunk', 'primary');
|
||||
|
||||
CREATE MATERIALIZED VIEW osm_transportation_merge_linestring AS (
|
||||
SELECT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user