I want to fetch/find the entities (buildings) within my custom bounds

Hi there,
Is there a way to find/fetch the entities (buildings) within a custom bounds/area created by some coordinates.

I am trying to find out buildings within a polygon created from random points/coords. Which will help me understand the number of buildings in selected area. Where i have to colour code them, separating from the rest.

The Cesium version you're using, your operating system and browser.
Cesium 1.52, Win 10, Chrome

Are your buildings created programmatically using the Entity API or through CZML? If so, I think you’ll have to loop over the entities in the scene, get their positions/bounds and compute which ones are in the given area yourself.

If they’re 3D Tiles, there’s a couple of ways to do it. I think the easiest is using Classification polygons. You can also use the styling language for this. Both methods are discussed in this thread:


Let me know if that helps!