Skip to content

Commit

Permalink
Update layers/transportation_name/update_transportation_name.sql
Browse files Browse the repository at this point in the history
Co-authored-by: zstadler <zeev.stadler@gmail.com>
  • Loading branch information
frodrigo and zstadler committed Sep 18, 2020
1 parent bbaf724 commit 0091c19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layers/transportation_name/update_transportation_name.sql
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ FROM (
FROM osm_highway_linestring hl
LEFT JOIN osm_route_member rm ON
rm.member = hl.osm_id
WHERE (hl.name <> '' OR hl.ref <> '')
AND NULLIF(hl.highway, '') IS NOT NULL
) AS t
WHERE ("rank" = 1 OR "rank" IS NULL)
AND (name <> '' OR ref <> '')
AND NULLIF(highway, '') IS NOT NULL;
WHERE ("rank" = 1 OR "rank" IS NULL);
CREATE INDEX IF NOT EXISTS osm_transportation_name_network_osm_id_idx ON osm_transportation_name_network (osm_id);
CREATE INDEX IF NOT EXISTS osm_transportation_name_network_geometry_idx ON osm_transportation_name_network USING gist (geometry);

Expand Down

0 comments on commit 0091c19

Please sign in to comment.