basemap/layers/building/create.sql [17:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        id,
        tags || jsonb_build_object(
            'extrusion:base',
            CASE
                WHEN tags ? 'min_height' THEN convert_to_number(
                    tags ->> 'min_height',
                    0
                )
                WHEN tags ? 'building:min_height' THEN convert_to_number(
                    tags ->> 'building:min_height',
                    0
                )
                WHEN tags ? 'building:min_level' THEN convert_to_number(
                    tags ->> 'building:min_level',
                    0
                )* 3
                ELSE 0
            END,
            'extrusion:height',
            CASE
                WHEN tags ? 'height' THEN convert_to_number(
                    tags ->> 'height',
                    6
                )
                WHEN tags ? 'building:height' THEN convert_to_number(
                    tags ->> 'building:height',
                    6
                )
                WHEN tags ? 'building:levels' THEN convert_to_number(
                    tags ->> 'building:levels',
                    2
                )* 3
                ELSE 6
            END
        ) AS tags,
        geom
    FROM
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



basemap/layers/building/create.sql [70:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        id,
        tags || jsonb_build_object(
            'extrusion:base',
            CASE
                WHEN tags ? 'min_height' THEN convert_to_number(
                    tags ->> 'min_height',
                    0
                )
                WHEN tags ? 'building:min_height' THEN convert_to_number(
                    tags ->> 'building:min_height',
                    0
                )
                WHEN tags ? 'building:min_level' THEN convert_to_number(
                    tags ->> 'building:min_level',
                    0
                )* 3
                ELSE 0
            END,
            'extrusion:height',
            CASE
                WHEN tags ? 'height' THEN convert_to_number(
                    tags ->> 'height',
                    6
                )
                WHEN tags ? 'building:height' THEN convert_to_number(
                    tags ->> 'building:height',
                    6
                )
                WHEN tags ? 'building:levels' THEN convert_to_number(
                    tags ->> 'building:levels',
                    2
                )* 3
                ELSE 6
            END
        ) AS tags,
        geom
    FROM
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



