Remove unneeded toll code (#1262)

This PR removes unneeded `CASE` clauses which converts `toll` tags to booleans.  However, the `toll` tag is already mapped as a boolean by imposm, therefore this processing can be simplified.
This commit is contained in:
Brian Sperlongano
2021-10-13 14:43:14 -04:00
committed by GitHub
parent 4d6945b935
commit aaa68048d9
2 changed files with 2 additions and 4 deletions

View File

@@ -340,7 +340,7 @@ FROM (
public_transport,
service_value(service) AS service,
CASE WHEN access IN ('private', 'no') THEN 'no' END AS access,
CASE WHEN toll='yes' THEN true ELSE NULL::boolean END AS toll,
toll,
is_bridge,
is_tunnel,
is_ford,