How can I get back to the Feature that my Geometry is the geometry of?

المشرف العام

Administrator
طاقم الإدارة
Let's say I have some Feature and just got its Geometry out of it.

Geometry geometry = feature.getGeometry(); Is there a way to get back to the "originating" feature if I did not have the variable feature available like in this example? Something like a hypothetical geometry.getFeature();. I do not mean that I want to create a new feature, I want to get back to the feature that I got the geometry from.

What I am trying to do and why I want to do this is a bit awkward and complicated to describe, otherwise I would...



أكثر...
 
أعلى