Skip to content

Commit

Permalink
Fix SQL failures in transportation_name update code
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeLonewolf committed Jul 19, 2021
1 parent 3c15679 commit 9436ce0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layers/transportation_name/update_transportation_name.sql
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ BEGIN
ELSE NULLIF(hl.ref, '')
END AS ref,
hl.highway,
NULLIF(hl.subclass, '') AS subclass,
NULLIF(hl.construction, '') AS subclass,
brunnel(hl.is_bridge, hl.is_tunnel, hl.is_ford) AS brunnel,
CASE WHEN highway IN ('footway', 'steps') THEN layer END AS layer,
CASE WHEN highway IN ('footway', 'steps') THEN level END AS level,
Expand Down Expand Up @@ -459,7 +459,6 @@ BEGIN

INSERT INTO osm_transportation_name_linestring
SELECT (ST_Dump(geometry)).geom AS geometry,
NULL::bigint AS osm_id,
name,
name_en,
name_de,
Expand Down

0 comments on commit 9436ce0

Please sign in to comment.