{"definitions": {"Japan.ExtrudedBuilding.Color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "ExtrudedBuilding.Hospital.Color"], ["ref", "Is.Building.Government"], ["ref", "ExtrudedBuilding.Government.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "ExtrudedBuilding.TollBooth.Color"], ["ref", "Is.Building.Education"], ["ref", "ExtrudedBuilding.Education.Color"], ["ref", "Is.Building.Hotel"], ["ref", "ExtrudedBuilding.Hotel.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"]], ["ref", "ExtrudedBuilding.TrainStation.Color"], ["ref", "Is.Building"], ["ref", "ExtrudedBuilding.Color"], ["base-attribute-value"]], "Japan.ExtrudedBuilding.Scale": ["case", ["ref", "Is.Building.Passageway"], ["ref", "ExtrudedBuilding.Passageway.Scale"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "ExtrudedBuilding.TrainStationPlatform.Scale"], ["ref", "Is.Building.SubwayStationPlatform"], ["ref", "ExtrudedBuilding.TrainStationPlatform.Scale"], ["ref", "Is.Building.Underground.TrainStation"], 0, ["ref", "Is.Building.SubwayStation"], ["ref", "ExtrudedBuilding.SubwayStation.Scale"], ["base-attribute-value"]]}, "styles": [{"id": "japan_building_text", "extends": "building_text", "layer": "tilezen_building_addresses", "when": ["==", ["get", "source"], "ipc"], "technique": "text", "attr": {"minZoomLevel": ["case", ["ref", "Is.Building.Address.Layer"], 19, ["ref", "Is.Building"], 18.5, ["base-attribute-value"]], "outline-color": ["case", ["ref", "Is.Building"], ["case", ["ref", "Is.Building.Hospital"], ["ref", "Building.Hospital.Label.Outline.Color"], ["ref", "Is.Building.Government"], ["ref", "Building.Government.Label.Outline.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "Building.TollBooth.Label.Outline.Color"], ["ref", "Is.Building.Education"], ["ref", "Building.Education.Label.Outline.Color"], ["ref", "Is.Building.Hotel"], ["ref", "Building.Hotel.Label.Outline.Color"], ["base-attribute-value"]], ["base-attribute-value"]], "color": ["case", ["ref", "Is.Building"], ["case", ["ref", "Is.Building.Hospital"], ["ref", "Building.Hospital.Label.Color"], ["ref", "Is.Building.Government"], ["ref", "Building.Government.Label.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "Building.TollBooth.Label.Color"], ["ref", "Is.Building.Education"], ["ref", "Building.Education.Label.Color"], ["ref", "Is.Building.Hotel"], ["ref", "Building.Hotel.Label.Color"], ["base-attribute-value"]], ["base-attribute-value"]], "size": ["case", ["ref", "Is.Building"], ["case", ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"]], 0, ["ref", "Is.Building.Hotel"], ["ref", "Building.Hotel.Label.Size"], ["ref", "Is.Building.Government"], ["ref", "Building.Government.Label.Size"], ["base-attribute-value"]], ["base-attribute-value"]]}}, {"id": "japan_building_footprints", "extends": "building_footprints", "layer": "tilezen_building_footprints", "when": ["==", ["get", "source"], "ipc"], "technique": "polygon", "attr": {"category": ["case", ["ref", "Is.Building.Passageway"], "japan-passageway-footprint", ["ref", "Is.Building.Underground.TrainStation"], "japan-underground-station-footprint", "japan-building-footprint"], "minZoomLevel": ["case", ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"], ["ref", "Is.Building.Underground.TrainStation"]], 15, ["base-attribute-value"]], "maxZoomLevel": ["case", ["ref", "Is.Building.SubwayStation"], ["ref", "Building.SubwayStation.MaxZoomLevel"], ["base-attribute-value"]], "color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "Building.Hospital.Color"], ["ref", "Is.Building.Government"], ["ref", "Building.Government.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "Building.TollBooth.Color"], ["ref", "Is.Building.Education"], ["ref", "Building.Education.Color"], ["ref", "Is.Building.Hotel"], ["ref", "Building.Hotel.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"], ["ref", "Is.Building.Underground.TrainStation"]], ["ref", "Building.TrainStation.Color"], ["base-attribute-value"]]}}, {"id": "japan_building_footprint_outlines", "extends": "building_footprints_outlines", "layer": "tilezen_building_footprints_outlines", "when": ["==", ["get", "source"], "ipc"], "attr": {"category": ["case", ["ref", "Is.Building.Passageway"], "japan-passageway-footprint-outline", ["ref", "Is.Building.Underground.TrainStation"], "japan-underground-station-footprint-outline", "japan-building-footprint-outline"], "minZoomLevel": ["case", ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"], ["ref", "Is.Building.Underground.TrainStation"]], 15, ["base-attribute-value"]], "maxZoomLevel": ["case", ["ref", "Is.Building.SubwayStation"], ["ref", "Building.SubwayStation.MaxZoomLevel"], ["base-attribute-value"]], "color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "Building.Hospital.Outline.Color"], ["ref", "Is.Building.Government"], ["ref", "Building.Government.Outline.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "Building.TollBooth.Outline.Color"], ["ref", "Is.Building.Education"], ["ref", "Building.Education.Outline.Color"], ["ref", "Is.Building.Hotel"], ["ref", "Building.Hotel.Outline.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"]], ["ref", "Building.TrainStation.Outline.Color"], ["ref", "Is.Building.Underground.TrainStation"], ["ref", "Building.Underground.TrainStation.Outline.Color"], ["base-attribute-value"]]}}, {"id": "japan_extruded_building_depth", "extends": "extruded_building_depth", "layer": "tilezen_volumes", "when": ["==", ["get", "source"], "ipc"], "attr": {"scale": ["ref", "Japan.ExtrudedBuilding.Scale"]}}, {"id": "japan_extruded_building_offscreen_depth", "extends": "extruded_building_offscreen_depth", "layer": "tilezen_volumes", "when": ["==", ["get", "source"], "ipc"], "attr": {"scale": ["ref", "Japan.ExtrudedBuilding.Scale"]}}, {"id": "japan_extruded_building", "extends": "extruded_building", "layer": "tilezen_volumes", "when": ["==", ["get", "source"], "ipc"], "attr": {"scale": ["ref", "Japan.ExtrudedBuilding.Scale"], "fakeAO-color": ["fade-out", ["darken", ["ref", "Japan.ExtrudedBuilding.Color"], 1], ["ref", "Building.FakeAO.FadeOut.Factor"]], "gradient-color-ambient": ["fade-out", ["darken", ["ref", "Japan.ExtrudedBuilding.Color"], 1], ["ref", "Building.Gradient.FadeOut.Factor"]], "gradient-color-diffuse": ["fade-out", ["darken", ["ref", "Japan.ExtrudedBuilding.Color"], 1], ["ref", "Building.Gradient.FadeOut.Factor"]], "wall-color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "ExtrudedBuilding.Hospital.Color"], ["ref", "Is.Building.Government"], ["ref", "ExtrudedBuilding.Government.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "ExtrudedBuilding.TollBooth.Color"], ["ref", "Is.Building.Education"], ["ref", "ExtrudedBuilding.Education.Color"], ["ref", "Is.Building.Hotel"], ["ref", "ExtrudedBuilding.Hotel.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"]], ["ref", "ExtrudedBuilding.TrainStation.Color"], ["base-attribute-value"]], "roof-color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "ExtrudedBuilding.Hospital.Color"], ["ref", "Is.Building.Government"], ["ref", "ExtrudedBuilding.Government.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "ExtrudedBuilding.TollBooth.Color"], ["ref", "Is.Building.Education"], ["ref", "ExtrudedBuilding.Education.Color"], ["ref", "Is.Building.Hotel"], ["ref", "ExtrudedBuilding.Hotel.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"]], ["ref", "ExtrudedBuilding.TrainStation.Color"], ["base-attribute-value"]]}}, {"id": "japan_extruded_building_outlines", "extends": "extruded_building_outlines", "layer": "tilezen_volumes", "when": ["==", ["get", "source"], "ipc"], "attr": {"scale": ["ref", "Japan.ExtrudedBuilding.Scale"], "color": ["case", ["ref", "Is.Building.Hospital"], ["ref", "ExtrudedBuilding.Hospital.Outline.Color"], ["ref", "Is.Building.Government"], ["ref", "ExtrudedBuilding.Government.Outline.Color"], ["ref", "Is.Building.TollBooth"], ["ref", "ExtrudedBuilding.TollBooth.Outline.Color"], ["ref", "Is.Building.Education"], ["ref", "ExtrudedBuilding.Education.Outline.Color"], ["ref", "Is.Building.Hotel"], ["ref", "ExtrudedBuilding.Hotel.Outline.Color"], ["any", ["ref", "Is.Building.TrainStation"], ["ref", "Is.Building.MonorailStation"], ["ref", "Is.Building.InclinedStation"], ["ref", "Is.Building.TrainStationPlatform"], ["ref", "Is.Building.SubwayStationPlatform"]], ["ref", "ExtrudedBuilding.TrainStation.Outline.Color"], ["ref", "Is.Building.Underground.TrainStation"], ["ref", "ExtrudedBuilding.Underground.TrainStation.Outline.Color"], ["base-attribute-value"]]}}, {"id": "japan_extruded_building_offscreen_ssao_input", "extends": "extruded_building_offscreen_ssao_input", "layer": "tilezen_volumes", "when": ["==", ["get", "source"], "ipc"], "attr": {"scale": ["ref", "Japan.ExtrudedBuilding.Scale"]}}]}