Fix service/man_made npe (#72)

This commit is contained in:
Michael Barry
2022-02-07 20:41:02 -05:00
committed by GitHub
parent 60c39b8d8a
commit 262d510fef
2 changed files with 19 additions and 1 deletions

View File

@@ -222,7 +222,7 @@ public class Transportation implements
"highway", coalesce(highway, ""),
"public_transport", coalesce(publicTransport, ""),
"construction", coalesce(construction, "")
), null) : manMade;
), null) : isBridgeOrPier(manMade) ? manMade : null;
}
static String highwaySubclass(String highwayClass, String publicTransport, String highway) {