How to read feature data

I am loading an imagery layer to cesium from geoserver the layer has a list of circles polys …ects

however when I try to use the pick function in the movement handler

var feature = viewer.scene.pick(movement.endPosition);

I always get an undefined object any idea how can I get the feature on that specific position?


Specific geometry in an imagery layer is generally not pickable. Perhaps you could convert the geometry into GeoJSON, CZML, or another format so that it can be loaded into Cesium as intractable entities?