Fixed index and typo in doc.

This commit is contained in:
MartinMikita 2017-03-30 01:59:29 +02:00 committed by Jiri Kozel
parent 6bff55ae03
commit 782c9e0ead
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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