File tree Expand file tree Collapse file tree 7 files changed +792
-1
lines changed 
integration/render-tests/building/clip-layer 
lower-order-clipping-skipped Expand file tree Collapse file tree 7 files changed +792
-1
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,12 @@ const skip = [
265265    "render-tests/model-layer/model-elevation-reference/hd-road-markup/with-elevation-id" , 
266266    "render-tests/building/terrain/terrain-toggle-conflation-works" , 
267267    "render-tests/building/terrain/terrain-unsupported" , 
268-     "render-tests/building/globe-unsupported" 
268+     "render-tests/building/globe-unsupported" , 
269+ 
270+     // Ignore procedural buiding clip layer render tests for now. 
271+     "render-tests/building/clip-layer/default" , 
272+     "render-tests/building/clip-layer/lower-order-clipping-skipped" , 
273+     "render-tests/building/clip-layer/with-FE-and-landmarks" 
269274] ; 
270275
271276export  default  { todo,  skip} ; 
Original file line number Diff line number Diff line change 1+ {
2+   "version" : 8 ,
3+    "metadata" : {
4+     "test" : {
5+       "allowed" : 0.0016 ,
6+       "width" : 512 ,
7+       "height" : 512 ,
8+       "operations" : [
9+         [" wait"  ]
10+       ]
11+     }
12+   },
13+   "lights" : [
14+     {
15+       "type" : " ambient"  ,
16+       "id" : " environment" 
17+     },
18+     {
19+       "type" : " directional"  ,
20+       "id" : " sun_light"  ,
21+       "properties" : {
22+         "cast-shadows" : true ,
23+         "intensity" : 0.8599999904632569 ,
24+         "direction" : [
25+           311.9219970703125 ,
26+           82.37799835205078   
27+         ]
28+       }
29+     }
30+   ],
31+   "sources" : {
32+     "composite" : {
33+       "type" : " vector"  ,
34+       "maxzoom" : 16 ,
35+       "tiles" : [
36+         " local://tiles/{z}-{x}-{y}.vector.pbf" 
37+       ]
38+     },
39+     "eraser" : {
40+       "type" : " geojson"  ,
41+       "data" : {
42+         "type" : " FeatureCollection"  ,
43+         "features" : [
44+           {
45+             "type" : " Feature"  ,
46+             "properties" : {},
47+             "geometry" : {
48+               "coordinates" : [
49+                 [
50+                   [
51+                     -73.7987642254511 ,
52+                     40.655044291000536 
53+                   ],
54+                   [
55+                     -73.7987642254511 ,
56+                     40.63371667325009 
57+                   ],
58+                   [
59+                     -73.77146573660352 ,
60+                     40.63371667325009 
61+                   ],
62+                   [
63+                     -73.77146573660352 ,
64+                     40.655044291000536 
65+                   ],
66+                   [
67+                     -73.7987642254511 ,
68+                     40.655044291000536 
69+                   ]
70+                 ]
71+               ],
72+               "type" : " Polygon" 
73+             }
74+           },
75+           {
76+             "type" : " Feature"  ,
77+             "properties" : {},
78+             "geometry" : {
79+               "coordinates" : [
80+                 [
81+                   [
82+                     11.574414043765472 ,
83+                     48.139688295627366 
84+                   ],
85+                   [
86+                     11.573990853708949 ,
87+                     48.13907305935794 
88+                   ],
89+                   [
90+                     11.575502246765467 ,
91+                     48.13897220025004 
92+                   ],
93+                   [
94+                     11.575691170898523 ,
95+                     48.1393252062617 
96+                   ],
97+                   [
98+                     11.574414043765472 ,
99+                     48.139688295627366 
100+                   ]
101+                 ]
102+               ],
103+               "type" : " Polygon" 
104+             }
105+           },
106+           {
107+             "type" : " Feature"  ,
108+             "properties" : {},
109+             "geometry" : {
110+               "coordinates" : [
111+                 [
112+                   [
113+                     11.573008450067931 ,
114+                     48.13832669751798 
115+                   ],
116+                   [
117+                     11.57266838663034 ,
118+                     48.1377971772917 
119+                   ],
120+                   [
121+                     11.574852349596938 ,
122+                     48.13722730656525 
123+                   ],
124+                   [
125+                     11.575215083931369 ,
126+                     48.13806950266144 
127+                   ],
128+                   [
129+                     11.573953070728464 ,
130+                     48.13834182658718 
131+                   ],
132+                   [
133+                     11.573008450067931 ,
134+                     48.13832669751798 
135+                   ]
136+                 ]
137+               ],
138+               "type" : " Polygon" 
139+             }
140+           }
141+         ]
142+       }
143+     }
144+   },
145+   "zoom" : 16.1 ,
146+   "center" : [
147+     11.574606 ,
148+     48.138809 
149+   ],
150+   "layers" : [
151+     {
152+       "type" : " background"  ,
153+       "paint" : {
154+         "background-color" : [
155+           " interpolate"  ,
156+           [
157+             " linear" 
158+           ],
159+           [
160+             " zoom" 
161+           ],
162+           11.0 ,
163+           [
164+             " rgba"  ,
165+             239.00001525878907 ,
166+             233.00001525878907 ,
167+             225.00001525878907 ,
168+             1.0 
169+           ],
170+           13.0 ,
171+           [
172+             " rgba"  ,
173+             230.00001525878907 ,
174+             228.00001525878907 ,
175+             224.00001525878907 ,
176+             1.0 
177+           ]
178+         ]
179+       },
180+       "id" : " land" 
181+     },
182+     {
183+       "id" : " building"  ,
184+       "type" : " building"  ,
185+       "source" : " composite"  ,
186+       "source-layer" : " procedural_buildings"  ,
187+       "minzoom" : 15 ,
188+       "layout" : {
189+         "building-roof-shape" : " parapet"  ,
190+         "building-height" : [
191+           " number"  ,
192+           [
193+             " get"  ,
194+             " height" 
195+           ]
196+         ],
197+         "building-base" : [
198+           " number"  ,
199+           [
200+             " get"  ,
201+             " min_height" 
202+           ]
203+         ]
204+       },
205+       "paint" : {
206+         "building-color" : [
207+           " match"  ,
208+           [" get"  , " building-part"  ],
209+           " wall"  ,
210+           [" hsl"  , 41 , 90 , 90 ],
211+           " roof"  ,
212+           [" hsl"  , 25 , 43 , 80 ],
213+           [" hsl"  , 41 , 90 , 90 ]
214+         ],
215+         "building-ambient-occlusion-intensity" : 1 
216+       }
217+     },
218+     {
219+       "id" : " eraser"  ,
220+       "type" : " clip"  ,
221+       "source" : " eraser"  ,
222+       "minzoom" : 16 ,
223+       "maxzoom" : 17 
224+     }
225+   ]
226+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments