Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions resources/process-openmaptiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -868,10 +868,10 @@ function GetPOIRank()
end

function SetBuildingHeightAttributes()
local height = tonumber(Find("height"), 10)
local minHeight = tonumber(Find("min_height"), 10)
local levels = tonumber(Find("building:levels"), 10)
local minLevel = tonumber(Find("building:min_level"), 10)
local height = tonumber(Find("height"))
local minHeight = tonumber(Find("min_height"))
local levels = tonumber(Find("building:levels"))
local minLevel = tonumber(Find("building:min_level"))

local renderHeight = BUILDING_FLOOR_HEIGHT
if height or levels then
Expand Down