> I am guessing from what I have seen from the code, that the calculated bounds 
> should include all geometry columns in the result. Is this correct?
> 
> 
> 

That is the intension; the "default" geometry is also supposed to represent the 
feature in this respect; often the default geometry can be something like a 
city area; and a secondary column be a point location representing the city 
centre.

In the implementation (on the java side) both FeatureImpl and SimpleFeatureImpl 
check all the values producing a bounds of the result. The feature data 
structure can also store the bounds - if your database offers a data structure 
like an index which has this information already.
> 
> Is there anything I can do to include SP_GEOMETRY2 in the bounds calculation?
> 
> 
> 

I think you would need to look at the "dialect" class for sql server in the 
code base. I expect you could modify it to query more than one geometry; and 
possibly have it look at the FeatureType first to check which geometry columns 
to ask for.
> 
> 
> Thanks for any help.
> 
> Regards
> David
> 
> 
> 
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today. 
> http://p.sf.net/sfu/quest-dev2dev2 
> _______________________________________________
> Geotools-devel mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-devel

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to