Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Roads: Fix service_uncategorized vs. service_road
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed Jan 22, 2024
1 parent 066571a commit 8c07e93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ function RoadClassification(object)
driveway = 'service_driveway',
parking_isle = 'service_parking_aisle'
}
-- Fallback:
-- Fallbacks:
roadClassification.road = service_mapping[tags.service] or 'service_uncategorized'
-- https://taginfo.openstreetmap.org/keys/service#values
if tags.service == nil then
tags.category = "service_road"
roadClassification.road = "service_road"
end
end

Expand Down

0 comments on commit 8c07e93

Please sign in to comment.