Saul Farber wrote:
> This causes a "ReTypeFeatureReader" to be created, and since the 
> ReTypeFeatureReader can't deep-copy the "grid" object (nor should it!) 
> the rendering fails.
>   
That sounds tough, we can relax ReTypeFeatureReader to just copy the 
reference when all else fails (not fun, but it will work).
> I'm still ramping up on the internal gt feature model, so my keeping 
> track of all the threads is a bit of slow going.  AbstractDataStore vs 
> AbstractFeatureStore vs AbstractFeatureSource takes me about the times 
> to go though and get right, etc.
>
> Can anyone tell me where the featureType would be getting re-created? 
> One possibility is in DefaultFeatureResults, where depending on the 
> query, DefaultFeatureResults might subType the featureType...
>
> Any ideas?
>   
GeoServer: it has the ability to re define the order of attributes, aka 
map from what attributes are in the data to what attributes (and in what 
order
they are made available in via WFS).
Query: a user can query attirbutes in a different order
Rendering: if the rendering system (especially after its change to looks 
at the SLD to query only needed attributes) can create a query with the 
attributes
in the order they were mentioned in the SLD (aka different from how they 
were defined in by the data store)

And finally, the use of FeatureType in GeoTools 2.0 to directly describe 
the population of the features being returned was done to allow the GML 
writing
code to be happy. For the next Feature Model the FeatureType will not be 
changed, each feature will contain a list of attributes (ie 
AttributeType -> Value pairs)
in a similar manner to how Map.Entry works with java.util.Map.

Cheers,
Jody



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to