From: James M. <jma...@gm...> - 2005-08-27 00:28:43
|
> James - Corey has a FeatureVisitor API he is commiting any day now that w= ill > deal with the gathering of stats. You will need the FeatureCollection th= ough - > these are feature collection stats you are gathering. I'd rather hand the problem back off to the data store (most db's can do min/max for you) I hope thats being captured in this... >=20 > Besides what if your feature is in more then one collection? (Or inside a= nother > Feature?) In part this comes back to the assumption that you can use xpath as part of a filter expression (true if you read the specs). This is what allows me to find the parent / syblings. The way I model things is a little differently granted, if a feature exists in two collections then it is two seperate features... though they contain is only instantiated once, the getParent part is the only bit that differs. I'm happy to dump this, it is an ugly workaround for a major limitation in expression and thus SLD. But for as long as I can, in theory, use xpath to navigate upwards or sideways I need getParent.=20 If I can't use xpath to do that then I need revisions to SLD and Expresion. James |