Hi,
I'm writing a support library for the geotools projects so that hibernate mapped beans with geometric properties can be drawed onto geographical maps if needed.
Now, the details are a bit long, so I won't explain everything, but in short the user will give me DetachedCriteria objects for each map layer he want to depict, and I have to turn the query results into geotools Features, that are described by FeatureType. FeatureType is metadata, basically a collection of attribute names and types (with restrictions and the like).
Problem is, I would need the list of properties and property types returned by the criteria query, assuming I'm using a PROJECT result transformer, and I can't find a way.
Am I overlooking anything? How can I get an hold to the info I do require?
|