Hi all,

The reason for my last question about BinarySpatialOperator was this filter:

<Filter>
   <Intersects>
     <PropertyName />
     <Envelope>
     ...
     </Envelope>
   </Intersects>
</Filter>

Note the empty property name. How i need to interpret this is as run the 
intersection against every geometric attribute in the type. My question 
is how do I do that.

With the PropertyAccessor interface, we can handle some "special" 
property names given some context. For instance an empty string "" with 
a Geometry.class returns the default geometry of a feature.

Now we could recognize the "*" string with a Geometry context, but that 
would imply that a collection should be returned. I am weary of 
implementing this as I am sure not much of our code out there is ready 
to handle this case of multiple properties mapping to a single property 
name.

Tough one. Anyone have any thoughts.

-Justin

-- 
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to