afaik, there's no such thing as sde sql for geometry filters. Meaning
GeomertyEncoderSDE produces equivalent ESRI API geometry filter objects
out of geotools ones, then those spatial filters in ESRI API form are
passed down to the SeQuery together with any alphanumeric filter (which
do look like a sql where clause).
Question is, why do you need to use GeometryEncoderSDE directly? you're
not meant to do that after all and its not part of the API, just an
internal class.
You should be using the geotools Filter and DataStore APIS and let the
arcsde plugin take care of the internals.
Regards,
Gabriel
On 8/7/10 6:24 AM, butchild wrote:
Here I have a spatial filter (org.opengis.filter),converted from the CQL:'
BBOX(ows:BoundingBox, 55,55,111,111)'.
How can I get the sde sql of this filter?
There's a class named GeometryEncoderSDE which I found in javadoc,is it used to
convert a filter to sde sql?
And how to use it? It occured a "null point " exception while I was trying the
"encode(filter)" function.
Or there's any way else to do this ?
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users